Repository navigation
feat(aws-agentcore): move the power to the AgentCore CLI (@aws/agentcore) - #225
Open
mohitmishra786 wants to merge 1 commit into
Open
mohitmishra786 wants to merge 1 commit into
mohitmishra786 wants to merge 1 commit into
Conversation
…ore) The power documented the Python starter toolkit (agentcore configure, agentcore launch, .bedrock_agentcore.yaml) and MCP tools that the AgentCore MCP server no longer provides (manage_agentcore_runtime, manage_agentcore_memory, manage_agentcore_gateway). Rewrite POWER.md and the three steering files for the AgentCore CLI 1.2.0: project layout, create/add runtime/dev/deploy/invoke, logs and teardown, memory and gateway as project resources, and the MEMORY_<NAME>_ID and AGENTCORE_GATEWAY_<NAME>_* variables the deploy injects into runtimes. Fix the readSteering calls to use the power name aws-agentcore, and auto-approve only the read-only docs and guide tools the current MCP server provides. Closes kirodotdev#86
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #86.
The power documented the Python starter toolkit (
agentcore configure,agentcore launch,.bedrock_agentcore.yaml). It also pointed tomanage_agentcore_runtime,manage_agentcore_memoryandmanage_agentcore_gateway, which the currentawslabs.amazon-bedrock-agentcore-mcp-serverno longer has, somcp.jsonauto-approved tools that don't exist.Changes, written against
@aws/agentcore1.2.0:POWER.md: project layout, runtimes vs. harnesses, install, rules for running the CLI non-interactively, the current MCP tools, troubleshooting. ThereadSteeringcalls now use the power nameaws-agentcore(they usedagentcore).getting-started.md: new project from a template, bringing existing code in withagentcore add runtime, harnesses,dev,invoke --local,deploy,invoke,logs, teardown.agentcore-memory-integration.md:agentcore add memory, theMEMORY_<NAME>_IDvariable the deploy injects, the Strands session manager, local testing viaagentcore/.env.local, theagentcore memoryinspect commands.agentcore-gateway-integration.md:agentcore add gateway(recommending--authorizer-type AWS_IAM --protocol-type MCP, since the default authorizer isNONE), MCP server, runtime, Lambda and connector targets, a SigV4 MCP client forAGENTCORE_GATEWAY_<NAME>_URL, and the Lambda handler format from the Gateway docs (the old example readevent["tool_name"]).mcp.json: auto-approve only the read-only docs and guide tools.The MCP server's guides still show some older CLI syntax (
create --defaults,add agent, positionalinvoke "prompt"), which 1.2.0 rejects. The power tells the agent to followagentcore --helpwhen they differ.How I checked it, in a Linux container with the CLI installed from npm:
agentcorecommand and flag in the four files is checked against the CLI's--help.create,add runtime/memory/gateway/gateway-target/gateway-connector/credentials,remove,dev,invoke --localandbuildall run.InvokeGatewayandlambda:InvokeFunctionpermissions.Not tested:
agentcore deployand calls to deployed resources, because I have no AWS account for this. Someone with access should run the deploy steps once before merging.