macOSLinux

An Open-Source Asynchronous Coding Agent

agentaianthropicclaudecodellmopenaiagentsllms
Sterne-Wachstum
Sterne
11.1k
Forks
1.3k
Wochenwachstum
+57
Issues
0
5k10k
Sept. 2025Jan. 2026Juni 2026Okt. 2026
ArtefaktePyPI
README

An open-source software factory built on Deep Agents by LangChain.

License GitHub Stars Built on Deep Agents Powered by LangGraph Twitter / X

Open SWE turns engineering work into a repeatable system: investigate a codebase, implement changes, validate them, and deliver a pull request. It also reviews pull requests, learns repository-specific review preferences, monitors CI, and responds to feedback. Built by LangChain, it is open source and deployable in your infrastructure.

[!NOTE] Under active development. Expect breaking changes and rough edges. We’re not accepting issues or external contributions at this time. You’re welcome to explore and fork the code, but correctness, stability, and compatibility are not guaranteed.

If you really want to deploy it yourself, follow the installation guide. Deploying it as is requires Managed Deep Agents, which runs its agent; without it, we recommend forking and adapting the code to your own runtime.

What Open SWE does

flowchart LR
    A[Issues, conversations, PRs, schedules] --> B[Plan and investigate]
    B --> C[Implement in an isolated sandbox]
    C --> D[Validate and deliver a PR]
    D --> E[Review, CI, and feedback]
    E -->|Follow-up work| B
  • Build: Investigate repositories, edit code, run focused validation, and open or update pull requests.
  • Parallelize: Use subagents for research and independent work.
  • Review: Run on-demand or opt-in automatic reviews, publish findings to GitHub, and learn from historical feedback.
  • Investigate: Use read-only PR chat to understand a change without implementing changes.
  • Operate: Schedule recurring tasks and monitor opted-in PRs with /baby-sit, diagnosing failures and rerunning only evidence-backed flaky jobs.
  • Customize: Choose models, reasoning effort, instructions, skills, integrations, and sandbox providers.

Start and continue work from the dashboard, GitHub issues and PR conversations, or Slack. Linear supports issue-comment triggers and replies through a configured Linear MCP connection. Cloud coding follow-ups reuse the thread’s context and sandbox; independent threads can run in parallel.

How it works

Deep Agents supplies planning, filesystem, shell, skills, and subagent primitives. LangGraph provides durable execution and thread state. Open SWE adds engineering tools, integrations, authorization, and user interfaces. The graph entrypoints are declared in langgraph.json, with an architecture inventory.

Cloud coding runs in persistent, per-thread Linux sandboxes with tooling supplied by workspace scripts or snapshots. An unreachable coding sandbox is not silently replaced. LangSmith is the default sandbox and tracing provider; other providers and local execution are configurable. PR chat does not need a sandbox.

Control and safety

  • GitHub access: Coding sandboxes normally receive installation-wide GitHub App access; selected workflows use narrower repository scopes. Workspace repository bindings control routing and preloaded checkouts, not a separate credential boundary. See GitHub access.
  • Integrations: MCP connections layer instance-wide, workspace-specific, and personal tools. Configure their scope and credentials in the customization guide.
  • Approvals: Workflow-file approval prompts guard detected Git pushes, not every possible shell or API write. Reviewers are instructed not to commit or push; PR chat excludes mutation tools.

Sandboxes have powerful tools and may have network access. Use least-privilege credentials, restrict repositories and integrations, and tailor approval policies to your deployment. Local execution does not provide cloud sandbox isolation.

Documentation

License

Open SWE is licensed under the MIT License.

That license covers Open SWE's own code only. It does not cover anything under vendor/, which is not licensed by this repository at all.