open-swe/apps/cli
Brace Sproul df182b676b
fix: bug with checking out the branch during followups (#679)
* fix: bug with checking out the branch during followups

* cr

* cr

* cr

* cr
2025-08-06 16:41:11 +00:00
..
src fix: bug with checking out the branch during followups (#679) 2025-08-06 16:41:11 +00:00
.env.example feat: move programmer to local mode, guardrails, remove web interface (#627) 2025-08-05 22:52:45 +00:00
eslint.config.js feat: move programmer to local mode, guardrails, remove web interface (#627) 2025-08-05 22:52:45 +00:00
package.json feat: move programmer to local mode, guardrails, remove web interface (#627) 2025-08-05 22:52:45 +00:00
README.md feat: move programmer to local mode, guardrails, remove web interface (#627) 2025-08-05 22:52:45 +00:00
tsconfig.json feat: add updates to cli application (#503) 2025-07-29 17:37:13 -04:00

Open SWE CLI

⚠️ Under Development
This CLI is currently under active development and may contain bugs or incomplete features.

A command-line interface for Open SWE that provides a terminal-based chat experience to interact with the autonomous coding agent. Built with React and Ink, it offers real-time streaming of agent logs and works directly on your local codebase without requiring GitHub authentication.

Documentation

Development

  1. Install dependencies: yarn install
  2. Create a .env file and set OPEN_SWE_LOCAL_PROJECT_PATH to point to an existing git repository:
    echo "OPEN_SWE_LOCAL_PROJECT_PATH=/path/to/your/git/repository" > .env
    
  3. Build the CLI: yarn build
  4. Run the CLI: yarn cli

Usage

Run the CLI and start chatting with the agent about your local codebase:

yarn cli

The CLI will:

  1. Start in local mode (no authentication required)
  2. Work directly on files in your current directory
  3. Provide interactive chat with the Open SWE agent
  4. Stream real-time logs and responses

Prerequisites

  • An existing git repository that you want to work on
  • The repository must be initialized with git and have at least one commit

Features

  • Local Mode Only: Works directly on your local codebase without GitHub integration
  • Real-time Streaming: See agent logs and responses as they happen
  • Interactive Chat: Type your requests and get immediate feedback
  • Plan Approval: Review and approve/deny proposed plans before execution