strands-base-agent
Composition root for production agent services — fork, customize, ship.
A baseline starter repo from the Agent Foundry team. Teams fork this repo into their own environment and customize it for their use case. Shared infrastructure (DI, lifecycle, middleware, retry, OTel, tool loading) lives in the published foundry-agent-* packages — this repo is the composition root that wires them into a runnable service. All HTTP endpoints require bearer token authentication. Set STRANDS_API_KEY in your environment before starting the server. See Environment Variables for details. If you fork or copy this repo, pin to a release tag. Don't track develop.
Summary extracted from the README.
Strands Base Agent
A baseline starter repo from the Agent Foundry team. Teams fork this repo into their own environment and customize it for their use case. Shared infrastructure (DI, lifecycle, middleware, retry, OTel, tool loading) lives in the published foundry-agent-* packages — this repo is the composition root that wires them into a runnable service.
All HTTP endpoints require bearer token authentication. Set STRANDS_API_KEY in your environment before starting the server. See Environment Variables for details.
If you fork or copy this repo, pin to a release tag. Don't track develop. See After You Fork for why.
Where to go
| If you want to… | Read |
|---|---|
Get the agent running locally with Python and uv |
Quickstart (Local Python) |
| Get the agent running in a container | Quickstart (Docker Compose) |
| Understand the codebase (file layout, packages, extension points) | AGENTS.md |
| Configure the model, system prompt, MCP servers, A2A peers | Configuration guide |
| Add tools, API endpoints, guardrails, or customize the server | Guides — start with After You Fork |
| Understand the security posture | SECURITY.md |
| Contribute changes | CONTRIBUTING.md |