← Back to Leaderboard
Ccoipond

coipond/coi

Incus-based CLI for running coding agents apart from host credentials and services

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

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

Maintenance35/35
Fork Adoption15/25
Release Cadence20/20
License Clarity20/20
Self-HostedCLI
Total Stars
★ 804
24h Growth
+0
7d Growth
+12
Forks
69

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

coipond/coi Star History (2026-01-07 - 2026-12-04) ALL-TIME STAR HISTORY (2026-01 – 2026-12) +803 in 331d · avg +2/day 849 425 0 2026-01-07: ★ 12026-01-31: ★ 762026-02-21: ★ 2552026-03-14: ★ 3152026-04-04: ★ 3602026-04-25: ★ 4372026-05-16: ★ 5082026-06-06: ★ 5312026-06-27: ★ 5602026-07-18: ★ 5902026-08-08: ★ 6152026-08-29: ★ 6732026-09-19: ★ 7222026-10-10: ★ 7472026-10-31: ★ 7682026-11-21: ★ 7902026-12-04: ★ 804 ★ 804 2026-01 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Coi is a self-hosted Go CLI that runs coding agents in Incus system containers. coi build prepares the base image; coi shell launches the configured tool interactively, while coi run executes a command or prompt without an interactive session. Each container gives the agent root, systemd, and Docker in a full Linux userspace, but shares the host kernel. The project is mounted at /workspace; writes persist on the host under the user's ownership.

The module targets Go 1.26.0 and depends on Cobra, BurntSushi TOML, JSON Schema v6, go-systemd/v22, and miekg/dns. The tree includes cmd/, internal/, profiles/, and schema/. Integration is at the CLI and configuration layers, not through a demonstrated MCP server: an inheritable TOML profile selects the image, tool, limits, mounts, network policy, build scripts, and agent instructions.

Key Capabilities & Differentiators

Claude Code is the default. Coi also supports Codex CLI, OpenCode v1 and v2, pi, Oh My Pi, and Goose. Codex, OpenCode v1, Oh My Pi, and Goose must be included when building the image. Parallel slots have separate home directories; persistent instances keep their installed packages, while ephemeral instances discard the container on exit. Workspace changes and session history survive either lifecycle.

Network policy offers open, restricted, and allowlist egress modes with nftables, DNS pinning, and per-host port controls. Monitoring targets reverse shells, command-and-control traffic, exfiltration, and DNS tunneling; detected HIGH events pause the container, and CRITICAL events terminate it. Read-only Git hooks and IDE settings, protected paths, and a guard against direct commits and pushes to main address repository risks. coi audit streams JSONL threat events for downstream analysis.

Trade-offs & Limitations

Compared with running an agent directly on the host, Coi reduces ambient exposure of credentials and environment variables and adds egress controls. Compared with a conventional application container, it gives the agent a full init system and Docker inside the environment, at the cost of administering Incus, base images, and another layer of state. A simple build or test job may not need that setup; a workload that requires a separate kernel belongs in a VM or microVM.

The most important boundary is the writable workspace: changes are saved to the host immediately, so disposing of the container does not undo edits or deletion. Explicit mounts and forwarded secrets also expand what the agent can reach. Treat automated threat response and branch guards as layers rather than guarantees. For unattended work, use scoped credentials, review project profiles before adopting them, and validate the egress policy and monitoring on representative workloads.

Hardware & Deployment Guide

Run Coi on Linux with Incus; on macOS, it runs through a Linux VM using Colima or Lima. Use a Linux release binary or inspect install.sh before running it, then run coi build and coi shell from the project directory. Use coi health to verify the setup. Configure opt-in agents before the build: an existing persistent container retains the image it was created from, so rebuilding the base alone does not update that instance.

For CI or cron, coi run --prompt-name nightly runs a predefined prompt headlessly; command exit codes propagate. Start with profile CPU and memory limits and size the host with coi top under representative builds and concurrent sessions. This self-hosts execution, not inference: authentication and network requirements depend on the chosen agent and backend. The release list progresses from v0.15.0 to v0.17.0, but the excerpts show installation instructions rather than identifiable feature changes.

Execution: Incus system containers provide agent-local root, systemd, and Docker while sharing the host kernel.
Workspace: /workspace writes back to the host with the user's ownership; host credentials are not forwarded by default, and coi shell lists explicit grants.
Network and response: nftables supports open, restricted, and allowlist egress, with DNS pinning and per-host port scopes; detected HIGH events pause the container and CRITICAL events stop it.
Configuration: Inheritable TOML profiles bundle images, tools, mounts, resource limits, network policy, and build scripts; coi validate profile checks profiles.
Lifecycle: Parallel slots have separate home directories; ephemeral instances discard container-local changes on exit while workspace changes and session history are retained.
Operations: coi run propagates exit status, coi top reports per-container CPU, memory, and I/O, and coi audit exposes JSONL threat events.
Best For

Linux teams running one or more coding agents that need Docker, systemd, or package installs, with reusable limits and restricted egress.

Skip If

You only need a thin CLI wrapper, cannot administer Incus, must keep the project directory read-only, or require separate kernels for untrusted tenants.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedCLI
# 1. Install
curl -fsSL https://raw.githubusercontent.com/coipond/coi/master/install.sh | bash

# 2. Build the base image (first time only, ~5-10 min)
coi build

# 3. Start coding, from any project directory
cd your-project
coi shell

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
coi ★804+12GoMITIncus-based CLI for running coding agents apart from host credentials and servic
cc-switch159.1k+1.6kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
herdr54.2k+916RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
orca155.6k+13.8kTypeScriptMITAn Electron IDE for running coding agents in parallel Git worktrees

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/coipond/coi.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.

coipond/coi Star History on RepoForAI

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

Frequently Asked Questions about coi

Is Coi an MCP server, and how does an agent integrate with it?

No MCP server or protocol integration is established here. Coi launches coding CLIs inside Incus system containers and mounts the current project at /workspace. Select the tool in configuration or a profile, include build-time opt-ins such as Codex in [container.build].agents before coi build, and configure authentication for the chosen tool separately.

How should I size CPU, RAM, disk, and VRAM?

Coi itself has no stated GPU or VRAM requirement; it runs coding tools rather than serving a model. Size the host for concurrent containers, their builds and services, and any Docker workloads inside them. Use profile CPU and memory limits and measure representative sessions with coi top. Any local inference needs depend on the model and runtime you add.

Can a company self-host Coi, and what compliance work remains?

Yes. Coi uses the MIT license, which permits internal commercial use and redistribution subject to its notice requirements. Self-hosting the execution environment does not make the agent's model endpoint local or settle its data-handling terms. Review the selected tool and provider terms, repository access, credential grants, egress policy, and audit-log retention separately.

When should I choose Coi over bare metal, an application container, or a VM?

Running directly on the host has fewer moving parts but gives the agent your user's ambient access. A plain application container can be enough for a narrow test command. Coi is a better fit when agents need a full Linux userspace, systemd, Docker inside the environment, and reusable egress policies. If a separate kernel is mandatory, use a VM or microVM instead.

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 coipond/coi? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature coipond/coi 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