feat: agentcore initial implementation #1191
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Changes
This PR adds some of the AgentCore features.
Design Considerations
AgentCore is in preview and GenU implementation is experimental and subject to change. There may be breaking changes in the future.
The implementation is based on CDK Custom Resource while CloudFormation and CDK is supported for AgentCore. Breaking changes may occur when migrating.
Feature Implemented
AgentCore Runtime:
Default Generic Agent: Implemented with default generic Strands AgentCore Runtime execution environment.
External Agent: Capability to register external AgentCore Runtime. You may bring your own agents / sample agents from the repository. Input and Output format is expected to be compatible with Strands SDK. (See type definition: packages/types/src/agent-core.d.ts)
Current limitation: Only text without streaming is supported. File support and streaming support is planned.
AgentCore Identity: IAM Authentication (Cognito ID Pool)
AgentCore Observability: Implemented. (CloudWatch Transactional Search should be enabled separately. See doc)
Future Work
AgentCore Gateway: Not implemented. Gateway may be implemented in future.
AgentCore Memory: Not implemented. Traditional DynamoDB based persistent memory is used. Long Term memory may be implemented in future.
AgentCore Tools: Not implemented. Planned to integrate with Code Interpreter, Browser Use.
Checklist
npm run cdk:test
and if there are snapshot differences, executenpm run cdk:test:update-snapshot
to update snapshotsRelated Issues
#1187