langchain-ai / open-swe
Summary
Open SWE is an open-source framework designed to help organizations build internal coding agents, mirroring architectures used by elite engineering firms like Stripe, Ramp, and Coinbase. Built on LangGraph and Deep Agents, it provides a robust foundation for creating Slackbots, CLIs, and web applications that integrate with internal systems, offering context, permissioning, and safety boundaries. Key architectural features include isolated cloud sandboxes (supporting Modal, Daytona, Runloop, LangSmith), a curated toolset for shell commands, API calls, and PR creation, and context engineering via `AGENTS.md` files and issue/thread histories. The framework also incorporates subagent orchestration and middleware for enhanced control and reliability, with invocation methods spanning Slack, Linear, and GitHub, and prompt-driven validation with safety nets.
Key takeaway
For AI Architects or ML Engineers tasked with automating internal development workflows, Open SWE offers a proven architectural blueprint. You should consider adopting this framework to rapidly deploy custom coding agents, leveraging its pre-built sandboxes, curated tools, and robust orchestration. This approach minimizes development overhead while ensuring operational safety and scalability, allowing your team to focus on tailoring agents to specific organizational needs.
Key insights
Open SWE provides an open-source framework for building internal coding agents, replicating architectures of leading tech companies.
Principles
- Isolate first, then give full permissions.
- Tool curation matters more than tool quantity.
Method
Open SWE composes on Deep Agents, uses isolated cloud sandboxes for tasks, curates a focused toolset, gathers context from `AGENTS.md` and issue history, and orchestrates via subagents and middleware.
In practice
- Use `AGENTS.md` for repo-level conventions.
- Integrate with Slack, Linear, or GitHub for invocation.
- Extend with custom CI checks via middleware.
Topics
- Internal Coding Agents
- AI Agent Framework
- Developer Tools
- Cloud Sandboxes
- LangGraph Deep Agents
Code references
Best for: AI Architect, Machine Learning Engineer, CTO, Software Engineer, AI Engineer, MLOps Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Github Trending: All languages.