Strands Agents: In-Process AI Agent Harness SDK for Python and TypeScript
A look at Strands Agents, an open-source in-process AI agent harness SDK for Python and TypeScript featuring MCP integration and multi-provider model support.
Strands Agents (harness-sdk), an open-source AI agent harness SDK that runs directly inside your application process without an external hosted control plane, has emerged as a noteworthy tool in the autonomous software development landscape. Released under the Apache 2.0 license, Strands Agents takes a model-driven approach, allowing developers to configure production-ready agent execution loops, safety guardrails, and tool integrations in just a few lines of code.

Image source: Strands Agents / GitHub
As agentic workflows rapidly mature, organizations face growing latency and security concerns when delegating execution state to external orchestration clouds. Strands Agents addresses these operational challenges by keeping the entire agent lifecycle local to the application runtime, giving engineering teams complete visibility and deterministic control over model interactions.
In-Process Execution and All-in-One Agent Harness Architecture
The foundational design pillar of Strands Agents is its in-process architecture, which runs the agent loop directly inside your existing service processes. Rather than routing decisions through third-party cloud control planes, every step of the execution cycle executes within local process memory.
A full-featured agent harness can be initialized with just a few lines of code:
- Turn and Token Budgeting: Built-in mechanisms guard against run-away execution cycles and API cost surges through explicit turn limits and token budgeting.
- Session and Memory Management: Contextual management layers maintain conversational history and task states across interactions without delegating data to external servers.
- MCP Tool Integration and Guardrails: Native compatibility with the Model Context Protocol (MCP) tool ecosystem allows agents to leverage standard developer tools, alongside execution guardrails that ensure deterministic input and output safety.
Monorepo Architecture and Multi-Provider Model Support
Strands Agents is developed as a monorepo that provides cross-language parity across Python and TypeScript ecosystems:
- Python Package (
strands-py/): Provides the agent loop, model provider adapters, and tool abstractions for Python developer environments. - TypeScript Package (
strands-ts/): Delivers matching agent execution loops and provider adapters for TypeScript and Node.js environments via npm. - Tooling and Monorepo Governance: The repository includes
strandly/(a developer CLI for local builds and workspace tooling),site/(Astro/Starlight source for strandsagents.com documentation), andteam/(architecture decisions, PR standards, and design proposals).
On the model layer, Strands Agents avoids vendor lock-in through a flexible provider abstraction. It offers out-of-the-box support for Amazon Bedrock, Anthropic, OpenAI, and Google Gemini, as well as local Ollama instances, allowing developers to swap model backends without rewriting agent logic.
Runtime Considerations and Provider Configuration
When integrating Strands Agents into production environments, developers should keep several operational considerations in mind:
- Runtime Environment: Both Python and TypeScript (Node.js) are supported, requiring appropriate language runtimes and updated package versions matching project setups.
- Cloud Provider Credentials: Using commercial cloud models from Amazon Bedrock, Anthropic, OpenAI, or Google Gemini requires valid cloud credentials and active model access configurations.
- Provider Switching: Switching between proprietary cloud providers or routing calls to a local Ollama instance can be achieved by supplying the corresponding provider options and API keys during agent harness initialization.
With over 6,800 stars and more than 1,000 forks on GitHub, Strands Agents provides an appealing, modular foundation for engineering teams seeking complete, local ownership of their autonomous AI agent systems.