AgentCore CLI supports multiple agent frameworks for template-based agent creation, plus a BYO (Bring Your Own) option for existing code.
| Framework | Supported Model Providers |
|---|---|
| Strands Agents | Bedrock, Anthropic, OpenAI, Gemini |
| LangChain_LangGraph | Bedrock, Anthropic, OpenAI, Gemini |
| GoogleADK | Gemini only |
| OpenAIAgents | OpenAI only |
AWS's native agent framework designed for Amazon Bedrock.
Best for:
- Projects primarily using Amazon Bedrock models
- Integration with AWS services
- Production deployments on AWS infrastructure
Model providers: Bedrock, Anthropic, OpenAI, Gemini
agentcore create --framework Strands --model-provider BedrockPopular open-source framework with extensive ecosystem.
Best for:
- Complex multi-step agent workflows
- Projects requiring LangChain's extensive tool ecosystem
- Teams already familiar with LangChain
Model providers: Bedrock, Anthropic, OpenAI, Gemini
agentcore create --framework LangChain_LangGraph --model-provider AnthropicGoogle's Agent Development Kit.
Best for:
- Projects using Google's Gemini models
- Integration with Google Cloud services
Model providers: Gemini only
agentcore create --framework GoogleADK --model-provider GeminiOpenAI's native agent framework.
Best for:
- Projects using OpenAI models exclusively
- Simple agent workflows with OpenAI's function calling
Model providers: OpenAI only
agentcore create --framework OpenAIAgents --model-provider OpenAI --api-key sk-...For existing agent code or frameworks not listed above, use the BYO option:
agentcore add agent \
--name MyAgent \
--type byo \
--code-location ./my-agent \
--entrypoint main.py \
--language Python- Entrypoint: Your code must expose an HTTP endpoint that accepts agent invocation requests
- Code location: Directory containing your agent code
- Language: Python
| Flag | Description |
|---|---|
--type byo |
Use BYO mode (required) |
--code-location <path> |
Directory containing your agent code |
--entrypoint <file> |
Entry file (e.g., main.py or index.ts) |
--language <lang> |
Python |
| Feature | Strands | LangChain | GoogleADK | OpenAIAgents |
|---|---|---|---|---|
| Multi-provider support | Yes | Yes | No | No |
| AWS Bedrock native | Yes | No | No | No |
| Tool ecosystem | Growing | Extensive | Moderate | Moderate |
| Memory integration | Native | Via libs | Via libs | Via libs |