Free and open source CLI coding assistant written in Go, powered by MiniMax-M2.5 via the opencode.ai API. Set OPENCODE_API_KEY, run apollo, and start delegating — get going in a minute.
ls, read, bash, edit — run manually anytime with a / prefix/skill:<name> loads reusable agent workflows — how skills workapollo -d prints the raw API request JSONgo install and you are done — install guidego install github.com/HimanshuSardana/apollo@latest, set OPENCODE_API_KEY, run apollo — full quickstartls — list directory contents, so the agent sees your project layoutread — read file contents into context before answeringbash — execute shell commands, chained automatically across turnsedit — rewrite files with a diff preview shown first/ (/ls) to run one yourself — tool guideWhat do I need to run apollo?
Go 1.25+ to install, and an OPENCODE_API_KEY from opencode.ai — the model (MiniMax-M2.5) is served through their OpenAI-compatible API.
Is apollo free?
Yes — MIT-licensed and open source. Model usage is billed by your opencode.ai account, if applicable.
How do the tools work?
The agent requests tool calls (ls, read, bash), apollo executes them locally and feeds results back — chaining automatically until the answer is ready. Details here.
Can I see what it sends to the API?
Yes — run apollo -d (or --debug) to print the raw request JSON. /usage shows the session's token totals.
How do skills work?
Type /skill:<name> and apollo prepends that skill's instructions to your message — full guide here.
I found a bug / want a feature?
Open an issue or pull request on GitHub.