| Crates.io | oli-tui |
| lib.rs | oli-tui |
| version | 0.1.3 |
| created_at | 2025-03-18 00:22:11.796035+00 |
| updated_at | 2025-03-25 13:07:07.963786+00 |
| description | A simple, blazingly fast TUI based AI coding assistant |
| homepage | |
| repository | https://github.com/amrit110/oli |
| max_upload_size | |
| id | 1596014 |
| size | 534,526 |
oli is an open-source alternative to Claude Code, built in Rust to provide powerful agentic capabilities for coding assistance. It features:
⚠️ This project is in a very early stage and is prone to bugs and issues! Please post your issues as you encounter them.
cargo install oli-tui
brew tap amrit110/oli
brew install oli
# Clone the repository
git clone https://github.com/amrit110/oli
cd oli
# Build and run
cargo build --release
cargo run
For API-based features, set up your environment variables:
# Create a .env file in the project root
echo "ANTHROPIC_API_KEY=your_key_here" > .env
# OR
echo "OPENAI_API_KEY=your_key_here" > .env
Claude 3.7 Sonnet provides the most reliable and advanced agent capabilities:
This implementation includes:
oli supports local models through Ollama:
ollama serve
# Examples of compatible models
ollama pull qwen2.5-coder:14b
ollama pull qwen2.5-coder:3b
ollama pull llama3:8b
Note: For best results with tool use and agent capabilities, use models like Qwen 2.5 Coder which support function calling.
cargo run
Select a model:
Make your coding query in the chat interface:
Here are some example queries to try:
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.