A terminal-native AI coding assistant that works with any OpenAI-compatible API. Edit files, run commands, and navigate codebases — all from your terminal.
You: list files in current directory
Thinking...
Executing [1/1]: ls
Thinking...
Apollo: Here's what I found...
You: add a hello function to main.go
Thinking...
Executing [1/1]: edit
Apollo: Done! Function added to main.go.
Apollo ships with powerful built-in tools and a seamless CLI experience.
Interactive terminal UI with ANSI colors, tab completion, and readline support.
ls, read, bash, and
edit — all available out of the box with automatic
chaining.
Beautiful formatted output powered by Glamour — code blocks, lists, and tables rendered in your terminal.
Enable --safe to review and confirm every file edit
before it's applied.
Inspect raw API requests with --debug to see exactly
what's being sent and received.
Works with any OpenAI-compatible endpoint — bring your own model and API key.
Three steps to your first conversation with Apollo.
Grab an API key from any OpenAI-compatible provider — OpenAI, Groq, Together, or your own endpoint.
export OPENAI_API_KEY=your_api_key
Add it to your ~/.bashrc or
~/.zshrc for persistence.
go run .
# or build and run ./apollo
Start chatting. Ask it to read files, run commands, or edit code.
-d, --debugPrint API request JSON
-s, --safeConfirm before applying edits
/usageShow token usage stats
/clearClear terminal screen
/helpShow available commands
quitExit ApolloUpcoming features on the Apollo roadmap.
Save your chat sessions and export them as Markdown or HTML files. Currently in active development.
Switch models mid-conversation without restarting. Pick the right model for the task at hand.