Everything Claude Code does and more. Any model. Zero subscription. Smarter with your tokens.
OpenCode X is a terminal AI coding agent forked from opencode with 280+ commits. It matches Claude Code's headline features (autonomous goals, background execution, parallel subagents, hooks) while adding what Claude Code can't offer: provider freedom, intelligent token compression, 3-tier context safety, configurable orchestration guardrails, and an open-source MIT codebase you actually own.
Your existing claude code hooks, plugins, agents and skills work immediately. Zero migration.
Autonomous multi-turn execution with real-time cost tracking
You're paying $200+/month per developer for a single-provider tool. OpenCode X gives you the same workflow with genuine advantages:
- $0/month — bring your own API keys, pay only for tokens you use
- Any model — Claude, GPT, Gemini, Mistral, Llama, DeepSeek, or any of 75+ providers
- 30-60% token savings — LLM compression on tool outputs before they reach your model (Claude Code sends raw output)
- Never lose context — 3-tier safety net auto-recovers at 75%, 97%, and 413 overflow (Claude Code only has auto-compact)
- Your hooks already work — same config, same env vars, same lifecycle events
- Configurable guardrails — doom loop detection, spawn limits, per-model concurrency (Claude Code doesn't expose these)
- Hybrid routing — automatically route compression/titles to cheap models, reasoning to premium ones
- Open source — MIT, no telemetry, no account, fork and extend freely