| Crates.io | crabcode |
| lib.rs | crabcode |
| version | 0.0.1 |
| created_at | 2026-01-23 14:11:02.988465+00 |
| updated_at | 2026-01-23 14:11:02.988465+00 |
| description | (WIP) Rust AI CLI Coding Agent with a beautiful terminal UI |
| homepage | |
| repository | https://github.com/blankeos/crabcode |
| max_upload_size | |
| id | 2064606 |
| size | 1,078,677 |
[!WARNING]
This project is very very early (like experiment-early) don't expect it to get to OpenCode level anytime soon.
A purely Rust-based AI CLI coding agent with a beautiful terminal UI for interactive AI-assisted development.

/sessions, /new, /connect, /models, /exit/~/.config/crabcode/api_keys.jsonInstall via cargo:
cargo install crabcode
Run crabcode:
crabcode
Configure your AI model:
/connect
Start coding! Type your questions or requests and press Enter.
| Command | Description |
|---|---|
/sessions |
List all sessions |
/new [name] |
Create a new session |
/connect <provider> |
Configure model provider (e.g., nano-gpt, z.ai) |
/models |
List available models |
/exit |
Quit crabcode |
| Key | Action |
|---|---|
TAB |
Switch between PLAN and BUILD agents |
Enter |
Submit message or execute command |
Ctrl+C (once) |
Clear input |
Ctrl+C (twice) |
Quit |
Esc |
Close popup suggestions |
↑/↓ |
Navigate in input or suggestions popup |
API keys are stored securely in ~/.config/crabcode/api_keys.json.
These are my priority. Will be powered by mostly aisdk + models.dev
git clone https://github.com/blankeos/crabcode.git
cd crabcode
cargo build --release
cargo test
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was inspired by anomalyco/opencode.
I'm learning rust :D. Built a few TUIs as practice. Also been making AI chat apps on web, so I wanna work on this.