Production-grade terminal AI coding agent with 85+ models support, multi-agent system, and rich terminal UI. Built in Gabon π¬π¦ for the world.
# β APEX v2.0.0
**The universal AI coding agent. Every model. One terminal.**
**Install** Β·
**Docs** Β·
**CLI** Β·
**Security** Β·
**Models** Β·
**Sponsor**
---
> APEX runs **any LLM** in your terminal as a coding agent β Anthropic, OpenAI,
> Google, Groq, Mistral, DeepSeek, Ollama (local), and 170+ more via litellm.
> Switch models mid-session. Track costs live. Never leave your terminal.
---
## β¨ Why APEX?
| | APEX | OpenCode | Claude Code | Aider |
|---|:---:|:---:|:---:|:---:|
| Every model (170+) | β
| β οΈ | β | β οΈ |
| 11 specialized agents | β
| β
| β | β |
| Primary + Subagent system | β
| β
| β | β |
| Hierarchical JSON config | β
| β
| β | β |
| 12 themes (dark/light) | β
| β
| β | β |
| Session sharing (URL) | β
| β
| β | β |
| Auto-formatting | β
| β
| β | β |
| Custom commands (.md) | β
| β
| β | β |
| Switch model mid-session | β
| β | β | β |
| Works offline (Ollama) | β
| β | β | β
|
| Leader key shortcuts | β
| β
| β | β |
| Command palette (Ctrl+P) | β
| β
| β | β |
| @file references / !bash | β
| β
| β | β |
| Beautiful Ink TUI + WebSocket EventBus | β
| β
| β
| β |
| Live token cost tracker | β
| β | β | β
|
| Shell security analysis | β
| β | β | β |
| File watcher with ignores | β
| β
| β | β |
| `pip install` | β
| β | β | β
|
| Built in Africa π¬π¦ | β
| β | β | β |
---
## π Quick Start
```bash
# 1. Set your API key
export ANTHROPIC_API_KEY=sk-ant-...
# 2. Launch APEX (TUI auto-starts)
apex
# 3. Ask anything
> fix the authentication bug in auth.py
> add TypeScript types to all functions
> write tests for the payment module
```
### Switch models / agents anytime:
```bash
apex --model gpt-4o # Start with GPT-4o
apex --model ollama-llama3 # Local, no API key needed
apex --agent architect # Start in read-only architect mode
apex --continue # Resume last session
apex --session mysession # Load a specific session
```
---
## π¨ TUI β Terminal User Interface
APEX features a modern ter β¦