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.
2025-08-05 18:52:45 -04:00
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.
2025-07-29 17:37:13 -04:00
## Documentation
## Development
2025-08-05 18:52:45 -04:00
1. Install dependencies: `yarn install`
2. Create a `.env` file and set `OPEN_SWE_LOCAL_PROJECT_PATH` to point to an existing git repository:
```bash
echo "OPEN_SWE_LOCAL_PROJECT_PATH=/path/to/your/git/repository" > .env
```
2025-07-29 17:37:13 -04:00
3. Build the CLI: `yarn build`
4. Run the CLI: `yarn cli`
## Usage
2025-08-05 18:52:45 -04:00
Run the CLI and start chatting with the agent about your local codebase:
2025-07-29 17:37:13 -04:00
```bash
yarn cli
```
2025-08-05 18:52:45 -04:00
The CLI will:
2025-07-29 17:37:13 -04:00
2025-08-05 18:52:45 -04:00
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