Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bf9e00e
feat(templates): add support for dynamic templates
Aug 26, 2026
f537095
docs(assets): update readme reccomended commands
Aug 26, 2026
51902bf
feat(runtime): wire up runtime version
Aug 26, 2026
7292110
fix(templates): use key function to key templates
Aug 26, 2026
25f40a2
docs(templates): fix comment with missing
Aug 26, 2026
ddacc45
docs(templates): fix incorrect wording on template types
Aug 26, 2026
142b246
fix(manager): render in correct directory
Aug 26, 2026
35cd569
test(template): add a snapshot test for the new template
Aug 26, 2026
d3f322e
fix(template): avoid double nesting runtimes
Aug 26, 2026
c8b9c6c
fix(templates): remove dead parameters
Aug 26, 2026
3c1fb48
refactor(harness): adapt harness to leverage template resolver
Aug 26, 2026
73644fd
refactor(manager): rename project template to project tree to avoid c…
Aug 26, 2026
d6ed9e9
fix(renderer): add missing handlebar helpers
Aug 26, 2026
ca4eaa8
fix(templates): add harnesses to merge entries
Aug 27, 2026
81da1d7
fix(handlebars): add missing helpers from upstream
Aug 27, 2026
28ef6ba
fix(harness): address hardcoded path
Aug 27, 2026
b003cf9
fix(hello-world): reject non-HTTP protocol on template
Aug 27, 2026
ca5224f
docs(strands-python): remove non-existent command from readme
Aug 27, 2026
150a060
feat(template): install runtime dependencies in scaffolding
Aug 27, 2026
aba40d7
fix(python): normalize names before being sent to python templates
Aug 27, 2026
d736054
fix(templates): validate dockerfile for harness/
Aug 27, 2026
49f65b9
fix(handlers): add strands as handler input
Aug 27, 2026
917cc91
fix(spec): avoid writing windows paths
Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions src/assets/templates/strands-http-python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
This is a project generated by the AgentCore CLI!

# Layout

The generated application code lives at the agent root directory. At the root, there is a `.gitignore` file, an
`agentcore/` folder which represents the configurations and state associated with this project. Other `agentcore`
commands like `deploy`, `dev`, and `invoke` rely on the configuration stored here.

## Agent Root

The main entrypoint to your app is defined in `main.py`. Using the AgentCore SDK `@app.entrypoint` decorator, this
file defines a Starlette ASGI app with the chosen Agent framework SDK running within.

`model/load.py` instantiates your chosen model provider.

## Input Validation

Validate invocation input before forwarding it to Strands. Keep plain prompts typed as strings. If the app accepts a
caller-supplied message history, retain `strip_trailing_tool_use()`, which normalizes the history tail before
invoking the agent.

## Environment Variables

| Variable | Required | Description |
| --- | --- | --- |
{{#if hasIdentity}}| `{{identityProviders.[0].envVarName}}` | Yes | {{modelProvider}} API key (local) or Identity provider name (deployed) |
{{/if}}| `LOCAL_DEV` | No | Set to `1` to use `.env.local` instead of AgentCore Identity |

# Developing locally

If installation was successful, a virtual environment is already created with dependencies installed.

Activate the environment with `source .venv/bin/activate` on macOS/Linux, `.venv\Scripts\activate.bat` in Windows
Command Prompt, or `.\.venv\Scripts\activate.ps1` in Windows PowerShell.

`agentcore project dev` will start a local server on 0.0.0.0:8080.

# Deployment

After providing credentials, `agentcore project deploy` will deploy your project into Amazon Bedrock AgentCore.
41 changes: 41 additions & 0 deletions src/assets/templates/strands-http-python/gitignore.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Environment variables
.env

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
.venv/
venv/
ENV/
env/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db
Loading
Loading