Skip to content

langchain-ai/open-swe

Repository files navigation

Warning

Open SWE is under active development and is not yet ready for production use.

Open SWE Logo

Open SWE - A cloud based, fully autonomous coding agent

Open SWE is an open-source cloud-based coding agent built with LangGraph. It autonomously understands codebases, plans solutions, and executes code changes across entire repositories—from initial planning to opening pull requests.

Tip

Try out Open SWE yourself using our public demo!

Note: you're required to set your own LLM API keys to use the demo.

Features

  • 📝 Planning: Open SWE has a dedicated planning step which allows it to deeply understand complex codebases and nuanced tasks. You're also given the ability to accept, edit, or reject the proposed plan before it's executed.
  • 🤝 Human in the loop: With Open SWE, you can send it messages while it's running (both during the planning and execution steps). This allows for giving real time feedback and instructions without having to interrupt the process.
  • 🏃 Parallel Execution: You can run as many Open SWE tasks as you want in parallel! Since it runs in a sandbox environment in the cloud, you're not limited by the number of tasks you can run at once.
  • 🧑‍💻 End to end task management: Open SWE will automatically create GitHub issues for tasks, and create pull requests which will close the issue when implementation is complete.

UI Screenshot

Usage

Open SWE can be used in multiple ways:

  • 🖥️ From the UI. You can create, manage and execute Open SWE tasks from the web application. See the 'From the UI' page in the docs for more information.
  • 📝 From GitHub. You can start Open SWE tasks directly from GitHub issues simply by adding a label open-swe, or open-swe-auto (adding -auto will cause Open SWE to automatically accept the plan, requiring no intervention from you). See the 'From GitHub' page in the docs for more information.

Documentation

To get started using Open SWE locally, see the documentation here.

Releases

No releases published

Packages

No packages published

Languages