AWS가 모델 중심(model-driven) 접근 방식으로 AI 에이전트를 손쉽게 개발·운영할 수 있는 오픈소스 SDK, Strands Agents를 공개했습니다. 이 SDK를 사용하면 몇 줄의 코드만으로 에이전트를 정의하고, 로컬에서 테스트한 뒤 클라우드에 바로 배포할 수 있습니다.
모델(model) + 툴(tools) + 프롬프트(prompt)
Strands 에이전트는 세 가지 구성 요소로 정의됩니다.
에이전트 루프(Agentic Loop)
모델이 스스로 계획(plan), 도구 호출(call tools), 반성(reflect)을 반복하며 작업을 완수합니다.
커스터마이징
유연한 배포
운영 모니터링
아래 예시는 “오픈소스 프로젝트 이름 짓기” 에이전트를 만드는 코드입니다.
from strands import Agent
from strands.tools.mcp import MCPClient
from strands_tools import http_request
from mcp import stdio_client, StdioServerParameters
NAMING_SYSTEM_PROMPT = """You are an assistant that helps to name open source projects."""
domain_name_tools = MCPClient(lambda: stdio_client(
StdioServerParameters(command="uvx", args=["fastdomaincheck-mcp-server"])
))
github_tools = [http_request]
with domain_name_tools:
tools = domain_name_tools.list_tools_sync() + github_tools
naming_agent = Agent(
system_prompt=NAMING_SYSTEM_PROMPT,
tools=tools
)
naming_agent("오픈소스 AI 에이전트 SDK 프로젝트 이름을 지어주세요.")
실행 방법:
pip install strands-agents strands-agents-tools
export GITHUB_TOKEN=<your_token>
python -u agent.py
시작하기: Strands Agents 공식 리포지토리와 문서를 참고하세요.
Strands Agents는 AWS 내부에서도 Amazon Q Developer, AWS Glue, VPC Reachability Analyzer 등 다양한 팀이 이미 프로덕션에 적용 중인 SDK입니다.
복잡한 오케스트레이션 없이 최신 LLM의 내재된 사고·툴 사용 능력을 최대한 활용하여, 몇 달 걸리던 에이전트 개발을 며칠 단위로 단축해 보세요!