← Back to Leaderboard
Oegoist

egoist/oi

A single-binary Zig coding agent with file-aware rewind and ACP/MCP integration

Engineering Health (Methodology)
A · 79/100
Maintenance Activity
● Updated today
Latest Release
v0.1.17
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption4/25
Release Cadence20/20
License Clarity20/20
Self-HostedCLIMCPAPI
Total Stars
★ 115
24h Growth
+0
7d Growth
+0
Forks
3

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

egoist/oi Star History (2026-11-29 - 2026-12-03) DAILY STAR HISTORY (5-DAY D1 TELEMETRY) +96 in 4d · avg +24/day 120 63 6 2026-11-29: ★ 192026-11-30: ★ 892026-12-01: ★ 1122026-12-02: ★ 1152026-12-03: ★ 115 ★ 115 11-29 12-01 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

oi packages a Zig coding-agent core as one native binary, with quickjs-ng and SQLite compiled in and TLS handled by Zig. The stripped, size-optimized build is about 2.9 MiB; the Linux musl build is fully static. That footprint describes the packaged agent, not the tools or model runtimes it may invoke.

The terminal UI and one-shot oi -p are direct entry points. Editors use ACP over stdio through oi rpc; oi serve --web exposes the local HTTP API and browser UI, and a C library supports native embedding. The first-turn tool set includes file operations, shell execution, search, sub-agent delegation, tool_search, and codemode. MCP servers, skills, custom commands, hooks, and JavaScript plugins provide separate extension surfaces.

Key Capabilities & Differentiators

oi can switch providers within a session across services including Anthropic, OpenAI, Gemini, DeepSeek, and OpenRouter, as well as local runners such as Ollama and LM Studio. oi login codex and oi login grok offer supported subscription sign-in paths instead of API keys. The nine first-turn tools plus the system prompt use about 1.5k tokens, or about 1.2k with sub-agents disabled; installed skills add one prompt line apiece.

File changes are presented as diffs, and permission rules can allow, ask, or deny actions. Rewind restores files to the selected session point; the next prompt creates a new branch. Sub-agents can run in parallel, in the background, or in their own Git worktrees. Rewind is useful for recovering edits, but it should not be treated as rollback for external effects of shell commands.

Trade-offs & Limitations

Compared with staying on an established Claude Code workflow, oi is worth evaluating when in-session provider switching, ACP integration, or file-aware rewind are decisive. Those features do not establish parity with an existing tool setup; test model choice, MCP integrations, approval prompts, and recovery on representative tasks. A hosted model keeps inference off the workstation but still entails provider terms, network dependence, and usage costs. A local runner puts inference sizing on the operator.

The shell sandbox is optional: --sandbox on uses Landlock on Linux or Seatbelt on macOS, with out-of-workspace writes subject to approval. A Windows installer exists, but that does not establish Windows sandbox parity. The MIT license allows commercial use and redistribution under its notice requirements; review the terms of any provider or subscription separately.

Hardware & Deployment Guide

Run the native binary for the terminal UI or one-shot use. Source builds use Zig 0.17.1 with zig build -Doptimize=small. Bun is optional: bun install && bun run build:web prepares the web UI for the next Zig build to embed. oi serve --web binds to 127.0.0.1:4096 by default; review access controls before using --host to expose it to the network or tailnet. The agent is self-hostable, but offline inference requires a local model backend configured in advance.

The recent releases matter for editor and multi-project use. v0.1.14 added ACP v1 alongside v2. v0.1.15 fixed oi rpc and oi serve so each session uses its own directory for commands, path resolution, AGENTS.md, and write permissions instead of inheriting the server's startup directory. v0.1.16 fixed delivery of background reports arriving during the last model call.

Native packaging: Approximately 2.9 MiB stripped in the size-optimized configuration, with quickjs-ng and SQLite compiled in and a fully static Linux musl build.
Tool context: The nine first-turn tools plus the system prompt use about 1.5k tokens, or about 1.2k with sub-agents disabled; installed skills add prompt lines.
Execution controls: File diffs precede approval; --sandbox on adds Landlock or Seatbelt command restrictions on Linux or macOS.
Recovery and delegation: Rewind restores files with the session, the next prompt branches, and sub-agents can run in separate Git worktrees.
Model access: Switch providers mid-session, use Ollama or LM Studio for local inference, or sign in with a supported ChatGPT or Grok plan.
Integration: oi rpc supports ACP v1/v2 over stdio; oi serve --web exposes a local HTTP API and web UI; a C library supports embedding.
Best For

Teams that want a self-hosted coding CLI with provider choice, reviewable edits, file-aware recovery, and ACP or MCP integration.

Skip If

You need verified cross-platform sandbox parity, a remote web deployment without your own access-control review, or a drop-in replacement for an established Claude Code workflow.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v0.1.17 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

Self-HostedCLIMCPAPI
curl -fsSL https://oi.egoist.dev/install.sh | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
oi ★115—ZigMITA single-binary Zig coding agent with file-aware rewind and ACP/MCP integration
gemini-cli109.6k+376TypeScriptApache-2.0A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools
oh-my-pi40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
goose57.3k+219RustApache-2.0Rust coding agent with MCP tools and local or hosted models, embeddable via ACP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/egoist/oi.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

egoist/oi Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about oi

Which interface should I use for an editor, an application, or additional tools?

Use oi rpc over stdio for ACP editor integration. ACP v1 and v2 are supported from v0.1.14; v0 is refused. Use oi serve --web for the local HTTP API and browser UI, the C library for native embedding, and MCP to add tools to the agent rather than to connect an editor.

How much RAM or VRAM should I budget?

With a hosted provider, size the machine for the native agent, working trees, and the commands it runs, not for model weights. With Ollama or LM Studio, inference resources depend on the selected model, quantization, context length, and concurrency. The approximately 2.9 MiB stripped build is a binary-size figure, not a RAM or VRAM estimate.

Can we self-host oi commercially and redistribute it?

The MIT license permits commercial use and redistribution; retain the copyright and permission notices when redistributing. Review third-party components and model-provider or subscription terms separately. Self-hosting oi controls where its agent process runs, but does not keep inference local when a hosted provider is selected.

When should we evaluate oi instead of Claude Code?

Shortlist oi if you need to switch providers within a session, connect an ACP editor, or rewind both files and conversation. If Claude Code already fits your Anthropic workflow, test your actual MCP tools, approval rules, and recovery procedures in oi before migrating. An MCP integration alone does not establish workflow parity.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining egoist/oi? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature egoist/oi on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare