---
title: "Open SWE: An Open-Source Framework for Internal Coding Agents"
description: "Open SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph."
url: "https://swe.quest/articles/open-swe-an-open-source-framework-for-internal-coding-agents-1b0f7521a5a00040"
canonical: "https://www.langchain.com/blog/open-swe-an-open-source-framework-for-internal-coding-agents"
source: "LangChain"
published: "2026-10-13"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 8
tags: ["ai-agents","ai-coding","open-source","sandboxing"]
---

# Open SWE: An Open-Source Framework for Internal Coding Agents

A post on [LangChain](https://swe.quest/sources/langchain.md), published 2026-10-13, 8 min read, Announcement. Original: [https://www.langchain.com/blog/open-swe-an-open-source-framework-for-internal-coding-agents](https://www.langchain.com/blog/open-swe-an-open-source-framework-for-internal-coding-agents)

## Summary

Open SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph. It packages the patterns that Stripe's Minions, Ramp's Inspect and Coinbase's Cloudbot converged on: per-task isolated cloud sandboxes, a small curated toolset, context drawn from AGENTS.md plus the source Linear issue or Slack thread, subagents for delegated subtasks, and deterministic middleware around the agent loop. Two middleware examples are injecting follow-up messages mid-run and opening a PR if the agent didn't. It is invoked from Slack, Linear and GitHub, and the sandbox provider, model, tools, triggers, prompt and middleware are all pluggable.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)

## Prerequisites

- LLM agent basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- tool calling

## Keywords

Open SWE, Deep Agents, LangGraph, AGENTS.md, Stripe Minions, Ramp Inspect, Coinbase Cloudbot, Modal

## Related posts

- [Container Use for Locally Sandboxed, Background Agents in Zed](https://swe.quest/articles/container-use-for-locally-sandboxed-background-agents-in-zed-256d62989b0aa880.md): Zed · 2025-07-30 · Medium · 3 min read · AI agents, AI for coding, Sandboxing & isolation, Containers, Developer tools
  Container Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files.
- [Agents in the Sandbox](https://swe.quest/articles/agents-in-the-sandbox-6c4d7e3dae7cde47.md): Railway · 2026-06-24 · Medium · 9 min read · AI agents, Sandboxing & isolation, Developer tools, TypeScript
  Railway sandboxes now ship Claude Code, Codex, OpenCode and Pi in the default image and can join an environment's private network, which lets agents test against real Postgres, Redis and internal services.
- [Introducing smolagents: simple agents that write actions in code.](https://swe.quest/articles/introducing-smolagents-simple-agents-that-write-actions-in-code-081cf3257f37300e.md): Hugging Face · 2024-12-31 · Medium · 11 min read · AI agents, LLMs, Python, Open source
  smolagents is a minimal Python library from Hugging Face for building LLM agents, with first-class support for code agents that write their actions as Python code instead of JSON tool calls.
- [Building with Modal and the OpenAI Agents SDK](https://swe.quest/articles/building-with-modal-and-the-openai-agents-sdk-c24777075f600dcf.md): Modal · 2026-04-15 · Medium · 12 min read · AI agents, Sandboxing & isolation, LLMs, Python, Cloud platforms
  A custom agent harness built on the OpenAI Agents SDK runs coding agents inside Modal Sandboxes, optionally with GPUs, rather than on the host, where an unsandboxed exec tool can be abused by malicious prompts.
- [Under the River](https://swe.quest/articles/under-the-river-4570734a0df8615c.md): Shopify Engineering · 2026-05-28 · Medium · 10 min read · AI agents, Developer productivity, System design, AI for coding, Build systems
  Shopify's Slack-native agent River co-authors one in eight merged PRs, and it rests on two 2024 bets: a single monorepo (World) and Nix-built reproducible environments across dev, CI and production.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
