2121
2222Note: CDK L3 constructs are in a separate package ` @aws/agentcore-cdk ` .
2323
24+ ## Global Options
25+
26+ These options are available on all commands:
27+
28+ - ` -h, --help ` - Show help for any command
29+ - ` --version ` - Print CLI version (root command only)
30+
2431## CLI Commands
2532
2633- ` create ` - Create new AgentCore project
27- - ` add ` - Add resources (agent, memory, identity, evaluator, online-eval, target)
28- - ` remove ` - Remove resources (agent, memory, identity, evaluator, online-eval, target, all)
34+ - ` add ` - Add resources (agent, memory, identity, evaluator, online-eval, gateway, gateway-target, policy-engine,
35+ policy)
36+ - ` remove ` - Remove resources (agent, memory, identity, evaluator, online-eval, gateway, gateway-target, policy-engine,
37+ policy, all)
2938- ` deploy ` - Deploy infrastructure to AWS
3039- ` status ` - Check deployment status
3140- ` dev ` - Local development server (CodeZip: uvicorn with hot-reload; Container: Docker build + run with volume mount)
3241- ` invoke ` - Invoke agents (local or deployed)
3342- ` run eval ` - Run on-demand evaluation against agent sessions
3443- ` evals history ` - View past eval run results
44+ - ` fetch access ` - Fetch access info for a deployed gateway or agent
45+ - ` import ` - Import resources from a Bedrock AgentCore Starter Toolkit project
3546- ` pause online-eval ` - Pause (disable) a deployed online eval config
3647- ` resume online-eval ` - Resume (enable) a paused online eval config
3748- ` logs ` - Stream or search agent runtime logs
@@ -45,8 +56,7 @@ Note: CDK L3 constructs are in a separate package `@aws/agentcore-cdk`.
4556
4657### Agent Types
4758
48- - ** Template agents** : Created from framework templates (Strands, LangChain_LangGraph, CrewAI, GoogleADK, OpenAIAgents,
49- AutoGen)
59+ - ** Template agents** : Created from framework templates (Strands, LangChain_LangGraph, GoogleADK, OpenAIAgents)
5060- ** BYO agents** : Bring your own code with ` agentcore add agent --type byo `
5161- ** Imported agents** : Import from Bedrock Agents with ` agentcore add agent --type import `
5262
@@ -58,10 +68,10 @@ Note: CDK L3 constructs are in a separate package `@aws/agentcore-cdk`.
5868
5969## Primitives Architecture
6070
61- All resource types (agent, memory, identity, evaluator, online-eval, gateway, mcp-tool) are modeled as ** primitives ** --
62- self-contained classes in ` src/cli/primitives/ ` that own the full add/remove lifecycle for their resource type.
63- Resources support config-driven tagging via ` agentcore.json ` and ` mcp.json ` , with tags flowing through to deployed
64- CloudFormation resources.
71+ All resource types (agent, memory, identity, evaluator, online-eval, gateway, gateway-target, policy-engine, policy) are
72+ modeled as ** primitives ** -- self-contained classes in ` src/cli/primitives/ ` that own the full add/remove lifecycle for
73+ their resource type. Resources support config-driven tagging via ` agentcore.json ` and ` mcp.json ` , with tags flowing
74+ through to deployed CloudFormation resources.
6575
6676Each primitive extends ` BasePrimitive ` and implements: ` add() ` , ` remove() ` , ` previewRemove() ` , ` getRemovable() ` ,
6777` registerCommands() ` , and ` addScreen() ` .
@@ -73,8 +83,10 @@ Current primitives:
7383- ` CredentialPrimitive ` — credential/identity creation, .env management, removal
7484- ` EvaluatorPrimitive ` — custom evaluator creation/removal with cross-reference validation
7585- ` OnlineEvalConfigPrimitive ` — online eval config creation/removal
76- - ` GatewayPrimitive ` — MCP gateway creation/removal
77- - ` GatewayTargetPrimitive ` — MCP tool creation/removal with code generation
86+ - ` GatewayPrimitive ` — gateway creation/removal
87+ - ` GatewayTargetPrimitive ` — gateway target creation/removal with code generation
88+ - ` PolicyEnginePrimitive ` — Cedar policy engine creation/removal
89+ - ` PolicyPrimitive ` — Cedar policy creation/removal within policy engines
7890
7991Singletons are created in ` registry.ts ` and wired into CLI commands via ` cli.ts ` . See ` src/cli/AGENTS.md ` for details on
8092adding new primitives.
0 commit comments