langchain-ai/open-swe

An Open-Source Asynchronous Coding Agent

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Added to GitGenius on March 22nd, 2026
Created on May 21st, 2025
Open Issues & Pull Requests: 24 (+0)
Number of forks: 1,223
Total Stargazers: 10,522 (+1)
Total Subscribers: 50 (+0)

Issue Activity (beta)

Open issues: 9
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 23 days
Stale 30+ days: 4
Stale 90+ days: 2

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 3
Events in 7 days: 3

Top labels

  • open-swe-auto (27)
  • open-swe-max-auto (8)
  • open-swe (6)
  • bug (3)
  • open-swe-max (1)

Repository Insights (GitGenius)

Median issue/PR response: 5.1 hours
Mean response time: 12.1 days
90th percentile: 25.8 days
Tracked items: 363

Most active contributors

Sign in to see contributor activity.

Detailed Description

Open SWE is an open-source framework for building internal coding agents, written in Python and built on LangGraph and Deep Agents. It provides organizations with the architecture used by elite engineering teams at companies like Stripe, Ramp, and Coinbase to create Slackbots, CLIs, and web applications that automate coding tasks with minimal human oversight. The framework is designed to be customizable for individual codebases and workflows while maintaining safety boundaries and proper context management.

The repository is classified across multiple domains including Software Agents, Autonomous Development, Code Generation, Issue Resolution, LLM Agents, Agent Framework, Software Automation, Debugging, Testing, and Code Repair. According to GitGenius activity tracking, the repository has processed 359 issues and pull requests with a median response latency of 4.6 hours, though the mean latency is 289.1 hours, indicating some longer-running discussions. The most active issue labels are open-swe-auto with 27 occurrences, open-swe-max-auto with 8, and open-swe with 6. The primary contributor bracesproul has logged 449 events, with starmorph contributing 41 events and aran-yogesh contributing 20 events. The repository shares contributors with langchain-ai/langchainjs, langchain-ai/chat-langchain, and openclaw/clawhub.

The core architecture of Open SWE centers on seven key design decisions. First, it composes on the Deep Agents framework rather than forking existing agents, providing an upgrade path while allowing organizational customization. Second, every task runs in isolated cloud sandboxes with full shell access, supporting multiple providers including Modal, Daytona, Runloop, and LangSmith. Sandboxes are persistent per thread and auto-recreate if unreachable, with multiple tasks running in parallel without queuing. Third, the framework uses a curated toolset rather than accumulating tools, including execute for shell commands, fetch_url for web pages, http_request for API calls, linear_comment for ticket updates, and slack_add_reaction and slack_thread_reply for Slack integration. Built-in Deep Agents tools include file operations and subagent spawning via the task tool.

Context engineering in Open SWE relies on AGENTS.md files at repository roots for encoding conventions and architectural decisions, combined with full source context from Linear issues or Slack threads. Orchestration supports subagents for parallel work and deterministic middleware hooks that inject follow-up messages before model calls and notify users when step limits are reached. Invocation occurs through Slack with repo syntax support, Linear via comments, and GitHub through PR comments, with deterministic thread IDs routing follow-up messages to the same running agent. Validation is prompt-driven, with the agent responsible for running linters, formatters, and tests before committing and opening pull requests.

The framework includes optional observability tools for Datadog and LangSmith integration, restricted to authorized users through encrypted credentials stored server-side. Optional Corridor guardrails provide plan analysis capabilities. The comparison table in the documentation shows Open SWE's positioning relative to internal systems at Stripe, Ramp, and Coinbase across dimensions including harness composition, sandbox implementation, tool curation, context gathering, orchestration patterns, invocation surfaces, and validation approaches. The framework supports topics including agents, AI, Anthropic, Claude, LLMs, and OpenAI integrations.

open-swe
by
langchain-ailangchain-ai/open-swe

Repository Details

Fetching additional details & charts...