Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ agentcore invoke
| ------------------- | ----------------------------- |
| Strands Agents | AWS-native, streaming support |
| LangChain/LangGraph | Graph-based workflows |
| CrewAI | Multi-agent orchestration |
| Google ADK | Gemini models only |
| OpenAI Agents | OpenAI models only |

Expand Down
38 changes: 11 additions & 27 deletions docs/frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ for existing code.
| ----------------------- | ---------------------------------- |
| **Strands Agents** | Bedrock, Anthropic, OpenAI, Gemini |
| **LangChain_LangGraph** | Bedrock, Anthropic, OpenAI, Gemini |
| **CrewAI** | Bedrock, Anthropic, OpenAI, Gemini |
| **GoogleADK** | Gemini only |
| **OpenAIAgents** | OpenAI only |

Expand Down Expand Up @@ -62,21 +61,6 @@ Google's Agent Development Kit.
agentcore create --framework GoogleADK --model-provider Gemini
```

### CrewAI

Multi-agent orchestration framework.

**Best for:**

- Multi-agent workflows with role-based collaboration
- Projects requiring agent coordination and task delegation

**Model providers:** Bedrock, Anthropic, OpenAI, Gemini

```bash
agentcore create --framework CrewAI --model-provider Bedrock
```

### OpenAIAgents

OpenAI's native agent framework.
Expand Down Expand Up @@ -167,19 +151,19 @@ agentcore add agent \

## Framework Comparison

| Feature | Strands | LangChain | CrewAI | GoogleADK | OpenAIAgents |
| ---------------------- | ------- | --------- | -------- | --------- | ------------ |
| Multi-provider support | Yes | Yes | Yes | No | No |
| AWS Bedrock native | Yes | No | No | No | No |
| Tool ecosystem | Growing | Extensive | Moderate | Moderate | Moderate |
| Memory integration | Native | Via libs | Via libs | Via libs | Via libs |
| 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 |

## Protocol Compatibility

Not all frameworks support all protocol modes. MCP protocol is a standalone tool server with no framework.

| Protocol | Supported Frameworks |
| -------- | ------------------------------------------------------------- |
| **HTTP** | Strands, LangChain_LangGraph, CrewAI, GoogleADK, OpenAIAgents |
| **MCP** | None (standalone tool server) |
| **A2A** | Strands, GoogleADK, LangChain_LangGraph |
| Protocol | Supported Frameworks |
| -------- | ----------------------------------------------------- |
| **HTTP** | Strands, LangChain_LangGraph, GoogleADK, OpenAIAgents |
| **MCP** | None (standalone tool server) |
| **A2A** | Strands, GoogleADK, LangChain_LangGraph |
164 changes: 163 additions & 1 deletion docs/policies/iam-policy-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"bedrock-agentcore:GetApiKeyCredentialProvider",
"bedrock-agentcore:CreateApiKeyCredentialProvider",
"bedrock-agentcore:UpdateApiKeyCredentialProvider",
"bedrock-agentcore:DeleteApiKeyCredentialProvider",
"bedrock-agentcore:ListApiKeyCredentialProviders",
"bedrock-agentcore:GetOauth2CredentialProvider",
"bedrock-agentcore:CreateOauth2CredentialProvider",
"bedrock-agentcore:UpdateOauth2CredentialProvider",
Expand Down Expand Up @@ -114,7 +116,7 @@
{
"Sid": "BedrockModelInvocation",
"Effect": "Allow",
"Action": "bedrock:InvokeModel",
"Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"],
"Resource": "*"
},
{
Expand All @@ -135,6 +137,166 @@
"s3:GetObject"
],
"Resource": "*"
},
{
"Sid": "AgentCoreResourceManagement",
"Effect": "Allow",
"Action": [
"bedrock-agentcore:CreateAgentRuntime",
"bedrock-agentcore:UpdateAgentRuntime",
"bedrock-agentcore:DeleteAgentRuntime",
"bedrock-agentcore:ListAgentRuntimes",
"bedrock-agentcore:CreateAgentRuntimeEndpoint",
"bedrock-agentcore:CreateWorkloadIdentity",
"bedrock-agentcore:DeleteWorkloadIdentity",
"bedrock-agentcore:CreateMemory",
"bedrock-agentcore:GetMemory",
"bedrock-agentcore:UpdateMemory",
"bedrock-agentcore:DeleteMemory",
"bedrock-agentcore:ListMemories",
"bedrock-agentcore:CreateEvaluator",
"bedrock-agentcore:DeleteEvaluator",
"bedrock-agentcore:ListOnlineEvaluationConfigs",
"bedrock-agentcore:TagResource",
"bedrock-agentcore:ListTagsForResource",
"bedrock-agentcore:CreateGateway",
"bedrock-agentcore:UpdateGateway",
"bedrock-agentcore:DeleteGateway",
"bedrock-agentcore:GetGateway",
"bedrock-agentcore:ListGateways",
"bedrock-agentcore:CreateGatewayTarget",
"bedrock-agentcore:UpdateGatewayTarget",
"bedrock-agentcore:DeleteGatewayTarget",
"bedrock-agentcore:GetGatewayTarget",
"bedrock-agentcore:SynchronizeGatewayTargets"
],
"Resource": "*"
},
{
"Sid": "CloudFormationFull",
"Effect": "Allow",
"Action": "cloudformation:*",
"Resource": "*"
},
{
"Sid": "SsmParameterLookup",
"Effect": "Allow",
"Action": ["ssm:GetParameters", "ssm:GetParameter"],
"Resource": "*"
},
{
"Sid": "CloudFormationTemplateVerification",
"Effect": "Allow",
"Action": "cloudformation:GetTemplate",
"Resource": "*"
},
{
"Sid": "ImportTestIam",
"Effect": "Allow",
"Action": ["iam:GetRole", "iam:CreateRole", "iam:AttachRolePolicy", "iam:PutRolePolicy"],
"Resource": "arn:aws:iam::ACCOUNT_ID:role/bugbash-agentcore-role"
},
{
"Sid": "ImportTestPassRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::ACCOUNT_ID:role/bugbash-agentcore-role",
"Condition": {
"StringEquals": {
"iam:PassedToService": "bedrock-agentcore.amazonaws.com"
}
}
},
{
"Sid": "ImportTestS3",
"Effect": "Allow",
"Action": ["s3:ListBucket", "s3:CreateBucket", "s3:PutObject"],
"Resource": "*"
},
{
"Sid": "SecretsManager",
"Effect": "Allow",
"Action": ["secretsmanager:GetSecretValue", "secretsmanager:CreateSecret", "secretsmanager:DeleteSecret"],
"Resource": "*"
},
{
"Sid": "CustomJwtCognitoSetup",
"Effect": "Allow",
"Action": [
"cognito-idp:CreateUserPool",
"cognito-idp:CreateUserPoolDomain",
"cognito-idp:CreateResourceServer",
"cognito-idp:CreateUserPoolClient",
"cognito-idp:DeleteResourceServer",
"cognito-idp:DeleteUserPoolDomain",
"cognito-idp:DeleteUserPool"
],
"Resource": "*"
},
{
"Sid": "HarnessManagement",
"Effect": "Allow",
"Action": [
"bedrock-agentcore:CreateHarness",
"bedrock-agentcore:GetHarness",
"bedrock-agentcore:UpdateHarness",
"bedrock-agentcore:DeleteHarness",
"bedrock-agentcore:ListHarnesses",
"bedrock-agentcore:InvokeHarness"
],
"Resource": "*"
},
{
"Sid": "HarnessPassRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::ACCOUNT_ID:role/*",
"Condition": {
"StringEquals": {
"iam:PassedToService": "bedrock-agentcore.amazonaws.com"
}
}
},
{
"Sid": "ConfigBundleManagement",
"Effect": "Allow",
"Action": [
"bedrock-agentcore:CreateConfigurationBundle",
"bedrock-agentcore:UpdateConfigurationBundle",
"bedrock-agentcore:DeleteConfigurationBundle",
"bedrock-agentcore:GetConfigurationBundle",
"bedrock-agentcore:GetConfigurationBundleVersion",
"bedrock-agentcore:ListConfigurationBundles",
"bedrock-agentcore:ListConfigurationBundleVersions"
],
"Resource": "*"
},
{
"Sid": "HttpGatewayIamRoleManagement",
"Effect": "Allow",
"Action": [
"iam:CreateRole",
"iam:DeleteRole",
"iam:GetRole",
"iam:PutRolePolicy",
"iam:DeleteRolePolicy",
"iam:TagRole",
"iam:PassRole"
],
"Resource": "arn:aws:iam::*:role/AgentCore-*"
},
{
"Sid": "BatchEvalAndRecommendation",
"Effect": "Allow",
"Action": [
"bedrock-agentcore:StartBatchEvaluation",
"bedrock-agentcore:GetBatchEvaluation",
"bedrock-agentcore:ListBatchEvaluations",
"bedrock-agentcore:StartRecommendation",
"bedrock-agentcore:GetRecommendation",
"bedrock-agentcore:ListRecommendations"
],
"Resource": "*"
}
]
}
19 changes: 12 additions & 7 deletions e2e-tests/config-bundle-eval-rec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,14 @@ describe.sequential('e2e: config bundles, batch evaluation, and recommendations'
async () => {
await retry(
async () => {
const result = await run(['invoke', '--prompt', 'Say hello', '--runtime', agentName, '--json']);
const result = await run([
'invoke',
'--prompt',
'What is 3 + 5? Use the add_numbers tool.',
'--runtime',
agentName,
'--json',
]);
expect(result.exitCode, `Invoke failed: ${result.stderr}`).toBe(0);
const json = parseJsonOutput(result.stdout) as { success: boolean };
expect(json.success).toBe(true);
Expand Down Expand Up @@ -199,7 +206,7 @@ describe.sequential('e2e: config bundles, batch evaluation, and recommendations'
};
expect(json.success).toBe(true);

const bundle = json.resources.find(r => r.resourceType === 'configBundle' && r.name === bundleName);
const bundle = json.resources.find(r => r.resourceType === 'config-bundle' && r.name === bundleName);
expect(bundle, `Config bundle "${bundleName}" should appear in status`).toBeDefined();

const evaluator = json.resources.find(r => r.resourceType === 'evaluator' && r.name === evalName);
Expand Down Expand Up @@ -368,7 +375,7 @@ describe.sequential('e2e: config bundles, batch evaluation, and recommendations'
);
const json = parseJsonOutput(result.stdout) as Record<string, unknown>;
expect(json).toHaveProperty('success', true);
expect(json).toHaveProperty('batchEvaluateId');
expect(json).toHaveProperty('batchEvaluationId');
expect(json.status).toBeDefined();
expect(json.status).not.toBe('FAILED');
},
Expand Down Expand Up @@ -446,7 +453,7 @@ describe.sequential('e2e: config bundles, batch evaluation, and recommendations'
agentName,
'--evaluator',
'Builtin.Faithfulness',
'--lookback',
'--days',
'1',
'--json',
]);
Expand Down Expand Up @@ -549,9 +556,7 @@ describe.sequential('e2e: config bundles, batch evaluation, and recommendations'
'--runtime',
agentName,
'--tools',
'search:Searches the web for information',
'--tools',
'calculator:Performs mathematical calculations',
'add_numbers:Adds two numbers together',
'--lookback',
'1',
'--json',
Expand Down
Loading
Loading