×
LangChain launches Open SWE, an AI agent for autonomous coding tasks
Written by
Published on
Join our daily newsletter for breaking news, product launches and deals, research breakdowns, and other industry-leading AI coverage
Join Now

LangChain has launched Open SWE, an open-source asynchronous coding agent that operates in the cloud and integrates directly with GitHub repositories. The tool represents a significant evolution in AI-powered software development, allowing developers to delegate complex coding tasks that the agent can complete autonomously over extended periods.

What you should know: Open SWE functions like an additional team member, capable of researching codebases, creating execution plans, writing code, running tests, and opening pull requests.

  • The agent has already become a top contributor to LangChain’s own projects, including LangGraph and its own repository.
  • Users can get started in minutes with just an Anthropic API key at swe.langchain.com.
  • Tasks can be triggered directly from GitHub by adding specific labels to issues.

How it works: Open SWE operates through a multi-agent architecture built on LangGraph, featuring three specialized components working in sequence.

  • The Manager handles user interactions and routes tasks to appropriate agents.
  • The Planner analyzes requests, researches codebases, and creates detailed execution plans that require manual review by default.
  • The Programmer executes approved plans while a sub-agent Reviewer analyzes generated code for quality and correctness before opening pull requests.

Key features: The platform emphasizes control and deep integration over traditional coding assistants.

  • Human-in-the-loop control: Users can interrupt agents, review work, and provide feedback without restarting sessions.
  • Double texting capability: The agent accepts new requests or changes mid-execution, unlike most coding agents.
  • GitHub integration: Every task creates a tracking issue with status updates, and completed work automatically generates linked pull requests.

Technical architecture: Open SWE addresses common limitations of existing coding agents through cloud-native design.

  • Each task runs in isolated Daytona sandboxes, allowing unrestricted shell command execution without security risks.
  • The system operates asynchronously in the cloud, enabling parallel task processing without consuming local resources.
  • Multi-agent planning and reviewing stages prevent common errors that typically break CI pipelines.

In plain English: Think of Open SWE like having a remote developer who works in a completely separate, secure workspace (sandbox) where they can’t accidentally damage your main code. Unlike traditional coding assistants that work on your computer and handle one task at a time, this system runs on cloud servers and can juggle multiple projects simultaneously—like having several developers working in parallel shifts.

Why this matters: LangChain built Open SWE to highlight overlooked aspects of agent development, particularly UI/UX and interaction patterns for asynchronous agents.

  • The company believes all future agents will be long-running, asynchronous, and more autonomous.
  • Software engineering represents the first discipline where this vision is becoming reality, yet no open-source project captured these characteristics.

What’s next: The current version excels at complex, longer-running tasks but isn’t optimized for simple fixes.

  • LangChain is developing a local CLI version that will intelligently choose whether tasks need planning or review stages.
  • This upcoming version will make Open SWE suitable for everything from simple style fixes to complete product implementations.

Open source foundation: The entire project is designed for community extension and customization.

  • Built on LangGraph and deployed on LangGraph Platform for persistence and autoscaling.
  • Developers can fork the repository, customize prompts, add internal API tools, or modify core logic.
  • LangSmith was used for debugging and evaluating the complex multi-agent system’s performance.
Introducing Open SWE: An Open-Source Asynchronous Coding Agent

Recent News

“Learn to AI”: California propels workforce training with tech giants across public education system

The partnerships target California's massive public education infrastructure to address growing AI workforce demand.

Qualcomm plans AI server chips for 2028 amid competitive challenges

A four-year wait for data center revenue while rivals cement their positions.

LangChain launches Open SWE, an AI agent for autonomous coding tasks

Works like an additional team member, handling complex projects autonomously while juggling multiple tasks.