sdeonvacation

Open-source Claude Code alternative. Provider-agnostic, MIT licensed. Native Claude Code hook/plugin compatibility.

11
0
69% credibility
Found May 27, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

OpenCode X is an open-source AI coding assistant that brings Claude Code-like features to an unrestricted, provider-agnostic foundation, allowing developers to use any AI model while enjoying features like persistent memory, goal tracking, and native Claude Code hook compatibility—all for free with your own API keys.

How It Works

1
💡 Discover a free AI coding assistant

You hear about OpenCode X as an open alternative to expensive AI coding tools that works with any AI provider you choose.

2
⬇️ Download and install the tool

You grab the binary for your computer (macOS, Linux, or Windows) and move it to your applications folder in just a few clicks.

3
🔑 Connect your AI service

You enter your API key from Anthropic, OpenAI, Google, or any of the 75+ supported providers so the assistant can think on your behalf.

4
📁 Open your coding project

You point the assistant to your project folder and it instantly understands your codebase, ready to help you build, debug, or refactor.

5
Choose how to work together
💬
Chat mode

Ask questions, get explanations, or request changes through a conversation in your terminal

🎯
Goal mode

Set an objective like 'implement login with tests' and watch the assistant work toward it automatically

6
Watch your project come to life

The assistant reads files, writes code, runs commands, and keeps track of what it's doing so nothing gets lost between sessions.

🎉 Your work is done

You've built something amazing with an AI partner that respects your freedom to use any provider,没有任何 vendor lock-in.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is opencode-x?

OpenCode X is an open-source AI coding assistant that clones Claude Code's workflow without the subscription price tag. Built in TypeScript on top of the upstream opencode project, it gives you a full-featured terminal-based coding agent that works with any LLM provider--Anthropic, OpenAI, Gemini, Mistral, local models, or any OpenAI-compatible endpoint. It runs on Bun, uses SQLite for session storage, and ships with a Solid.js desktop UI. The pitch: you get Claude Code's feature set (hooks, slash commands, session memory, goal tracking) but pay only for your own API tokens instead of $200/month.

Why is it gaining traction?

The main hook is escaping Anthropic lock-in. Claude Code hooks and plugins work natively here--drop in your existing `~/.claude/settings.json` and they run without modification. The LLM-powered tool output compression claims 30-60% token savings on large outputs. There's a goal system for autonomous multi-turn tasks, a 3-tier context safety net to prevent overflow, and per-model cost tracking. For teams already using opencode, this fork adds 280 commits of exclusive features while maintaining upstream compatibility.

Who should use this?

Developers who want Claude Code's workflow but refuse to pay the subscription. Teams running mixed LLM stacks who need one tool that works everywhere. Organizations with existing Claude Code hook configurations looking to migrate to an open-source alternative. If you're already happy with Claude Code and have no budget pressure, the switching cost probably isn't worth it yet.

Verdict

The feature depth is impressive for a project with 11 stars. The documentation is thorough and the MIT license removes all barriers to self-hosting. However, the credibility score of 0.699999988079071% signals this is early-stage software--use it for personal projects or in non-critical workflows while it matures. The provider-agnostic approach and hook compatibility are genuine differentiators worth watching.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.