Stirrup is a lightweight framework, or starting point template, for building agents. It differs from other agent frameworks by:
Working with the model, not against it: Stirrup gets out of the way and lets the model choose its own approach to completing tasks (similar to Claude Code). Many frameworks impose rigid workflows that can degrade results.
Best practices and tools built-in: We analyzed the leading agents (Claude Code, Codex, and others) to understand and incorporate best practices relating to topics like context management and foundational tools (e.g., code execution).
Fully customizable: Use Stirrup as a package or as a starting template to build your own fully customized agents.
Note: This is the Python implementation, StirrupJS is the Typescript implementation.
Features
๐งช Code execution: Run code locally, in Docker, or in an E2B sandbox
๐ Online search / web browsing: Search and fetch web pages
๐ MCP client support: Connect to MCP servers and use their tools/resources
๐ Document input and output: Import files into context and produce file outputs
๐งฉ Skills system: Extend agents with modular, domain-specific instruction packages