APEXDocsOverview

APEX Documentation

Built in Gabon 🇬🇦 for the world. APEX is a production-grade, terminal-native AI coding agent that works with any LLM via a unified interface powered by litellm.

Features

170+ Models

Claude, GPT-4, Gemini, Grok, DeepSeek, Qwen, Llama, Mistral, and more

11 Specialized Agents

Coder, Architect, Planner, Shell + @reviewer, @general, @explore, @scout + system agents

75+ Tools

File ops, git, web, sandbox, MCP, LSP, refactoring, Docker, DB

Ink TUI + WebSocket EventBus

Rich Ink + React TUI with real-time WebSocket EventBus, 12 themes, leader keys, command palette

Session Persistence

Save and load conversations, bookmark positions, share via public URLs

Token Cost Tracking

Monitor usage and estimated costs in real-time

Plugin System

Extensible with custom tools and TUI hooks

Undo/Redo

Revert and reapply changes with full history

LSP Integration

Go to definition, references, hover, diagnostics

Security System

Shell analysis, permissions (ALLOW/DENY/ASK), rate limiting, billing, API key management

Snapshots & Undo/Redo

Git-based snapshots before every destructive action, with full diff computation and restore

OpenCode Architecture

WebSocket EventBus, random port binding, state directory, real-time state synchronization

Why APEX?

FeatureAPEXOpenCodeClaude CodeAider
All models via one CLI⚠️⚠️
No cloud lock-in
Offline (Ollama)
Rich syntax UI
Session persistence
Plugin system
Model switch mid-session⚠️
Token cost tracking
French/multilingual UI

Philosophy

APEX is built by a Gabonese developer for the world. Every developer deserves a world-class coding agent — regardless of which model they can afford. The core principles are: complete code, no truncation, production-ready with full error handling, tests, and type hints, language-agnostic support for Python, JavaScript, Rust, Go, and more, and a senior developer mindset that is opinionated but effective.