@@ -28,24 +28,38 @@ agentcore create --name MyProject --no-agent
2828
2929# Preview without creating
3030agentcore create --name MyProject --defaults --dry-run
31+
32+ # Import from Bedrock Agents
33+ agentcore create \
34+ --name MyImportedAgent \
35+ --type import \
36+ --agent-id AGENT123 \
37+ --agent-alias-id ALIAS456 \
38+ --region us-east-1 \
39+ --framework Strands \
40+ --memory none
3141```
3242
3343| Flag | Description |
3444| ---------------------- | -------------------------------------------------------------------------------- |
35- | ` --name <name> ` | Project name (alphanumeric, max 23 chars) |
36- | ` --defaults ` | Use defaults (Python, Strands, Bedrock, no memory) |
37- | ` --no-agent ` | Skip agent creation |
38- | ` --language <lang> ` | ` Python ` or ` TypeScript ` |
39- | ` --framework <fw> ` | ` Strands ` , ` LangChain_LangGraph ` , ` GoogleADK ` , ` OpenAIAgents ` |
40- | ` --model-provider <p> ` | ` Bedrock ` , ` Anthropic ` , ` OpenAI ` , ` Gemini ` |
41- | ` --build <type> ` | ` CodeZip ` (default) or ` Container ` (see [ Container Builds] ( container-builds.md ) ) |
42- | ` --api-key <key> ` | API key for non-Bedrock providers |
43- | ` --memory <opt> ` | ` none ` , ` shortTerm ` , ` longAndShortTerm ` |
44- | ` --output-dir <dir> ` | Output directory |
45- | ` --skip-git ` | Skip git initialization |
46- | ` --skip-python-setup ` | Skip venv setup |
47- | ` --dry-run ` | Preview without creating |
48- | ` --json ` | JSON output |
45+ | ` --name <name> ` | Project name (alphanumeric, max 23 chars) |
46+ | ` --defaults ` | Use defaults (Python, Strands, Bedrock, no memory) |
47+ | ` --no-agent ` | Skip agent creation |
48+ | ` --type <type> ` | ` create ` (default) or ` import ` |
49+ | ` --language <lang> ` | ` Python ` or ` TypeScript ` |
50+ | ` --framework <fw> ` | ` Strands ` , ` LangChain_LangGraph ` , ` GoogleADK ` , ` OpenAIAgents ` |
51+ | ` --model-provider <p> ` | ` Bedrock ` , ` Anthropic ` , ` OpenAI ` , ` Gemini ` |
52+ | ` --build <type> ` | ` CodeZip ` (default) or ` Container ` (see [ Container Builds] ( container-builds.md ) ) |
53+ | ` --api-key <key> ` | API key for non-Bedrock providers |
54+ | ` --memory <opt> ` | ` none ` , ` shortTerm ` , ` longAndShortTerm ` |
55+ | ` --agent-id <id> ` | Bedrock Agent ID (import only) |
56+ | ` --agent-alias-id <id> ` | Bedrock Agent Alias ID (import only) |
57+ | ` --region <region> ` | AWS region for Bedrock Agent (import only) |
58+ | ` --output-dir <dir> ` | Output directory |
59+ | ` --skip-git ` | Skip git initialization |
60+ | ` --skip-python-setup ` | Skip venv setup |
61+ | ` --dry-run ` | Preview without creating |
62+ | ` --json ` | JSON output |
4963
5064### deploy
5165
@@ -116,18 +130,31 @@ agentcore add agent \
116130 --language Python \
117131 --framework Strands \
118132 --model-provider Bedrock
133+
134+ # Import from Bedrock Agents
135+ agentcore add agent \
136+ --name MyAgent \
137+ --type import \
138+ --agent-id AGENT123 \
139+ --agent-alias-id ALIAS456 \
140+ --region us-east-1 \
141+ --framework Strands \
142+ --memory none
119143```
120144
121145| Flag | Description |
122146| ------------------------ | -------------------------------------------------------------------------------- |
123147| ` --name <name> ` | Agent name |
124- | ` --type <type> ` | ` create ` (default) or ` byo ` |
148+ | ` --type <type> ` | ` create ` (default), ` byo ` , or ` import ` |
125149| ` --build <type> ` | ` CodeZip ` (default) or ` Container ` (see [ Container Builds] ( container-builds.md ) ) |
126150| ` --language <lang> ` | ` Python ` , ` TypeScript ` , ` Other ` (BYO) |
127151| ` --framework <fw> ` | Agent framework |
128152| ` --model-provider <p> ` | Model provider |
129153| ` --api-key <key> ` | API key for non-Bedrock |
130- | ` --memory <opt> ` | Memory option (create only) |
154+ | ` --memory <opt> ` | Memory option (create and import) |
155+ | ` --agent-id <id> ` | Bedrock Agent ID (import only) |
156+ | ` --agent-alias-id <id> ` | Bedrock Agent Alias ID (import only) |
157+ | ` --region <region> ` | AWS region for Bedrock Agent (import only) |
131158| ` --code-location <path> ` | Code path (BYO only) |
132159| ` --entrypoint <file> ` | Entry file (BYO only) |
133160| ` --json ` | JSON output |
0 commit comments