feat(templates): add agui-python-strands template - #21
Closed
Hweinstock wants to merge 5 commits into
Closed
Conversation
Hweinstock
force-pushed
the
feat/agui-python-strands-template
branch
from
September 2, 2026 23:03
72d1a5a to
20bfea3
Compare
Hweinstock
force-pushed
the
feat/agui-python-strands-template
branch
from
September 2, 2026 23:32
20bfea3 to
dbf8c37
Compare
Hweinstock
commented
Sep 3, 2026
| ## Deployment | ||
|
|
||
| `agentcore project deploy` deploys the agent into Amazon Bedrock AgentCore. Invoke it with | ||
| the AWS CLI (`bedrock-agentcore invoke-agent-runtime`) using an AG-UI `RunAgentInput` payload. |
Owner
Author
There was a problem hiding this comment.
we should advertise that our cli can invoke with agentcore project invoke runtime ... lets verify a command on a real deployed agent and update the docs here.
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.
Spec
Add support for an AG-UI Strands Python template to the
refactorarchitecture.Naming note: the spec drafted the name as
agui-strands-python, but this PR is stacked on aws#2170, whose whole purpose is a consistent<category>-<language>-<framework>scheme (agent-python-strands,a2a-python-strands,mcp-python-fastmcp). To stay consistent with the convention aws#2170 establishes, the template ships asagui-python-strands(confirmed with the requester).What changed
src/assets/templates/agui-python-strands/— new template assets: an AG-UI Strands agent (create_strands_appserving/invocations+/pingon 8080), Bedrock-onlymodel/load.py, memory wiring (memory/session.py),pyproject.toml, andDockerfile/.dockerignore/.gitignore(byte-identical to thea2a-python-strandssiblings).src/core/project/templates/runtime.ts— resolver forstrands/Python/AGUI, mirroring the A2A resolver but with only the simple context (name, memory, otel, entrypoint) — no OS/filesystem-mount/identity context, per the spec.src/handlers/project/shortcuts.ts—agui-python-strandsshortcut (Python · strands · AGUI · Bedrock · long+short-term memory, CodeZip default).src/handlers/project/create/screen.tsx— the template appears in the interactive create wizard.manager.test.tsandadd/runtime/index.test.tscover create,add runtime,--build Container, and--memoryfor the new template.AGUIwas already a first-class protocol in the refactor branch (ProtocolModeSchema,DEV_PORTS.AGUI=8080, and the dev inspector), so no changes were needed there.Verification evidence
All account IDs / ARNs redacted.
1.
project createrenders the template (AGUI protocol + memory)2.
add runtimewith the container version3. Dev server + local curl — CodeZip runtime (full Bedrock round-trip)
4. Dev server + local curl — Container runtime — image builds, container serves AG-UI,
/pinghealthy and the SSE stream flows. (The local container uses the desktop instance-profile role, which lacks Bedrock, so the model call is blocked locally; the deployed container below proves the Bedrock path end-to-end.)5. Deploy + invoke both runtimes end-to-end
6. TUI create flow — the template appears and is selectable
How to reproduce
Tests:
bun test(2740 pass),bun run typecheck,bun run lint:check,bun run format:checkall green.