The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Aios
The local-first control plane for long-horizon coding agents: cross-session project memory (ContextDB), adaptive workflow routing, multi-agent teams, resumable overnight runs,…
Install
git clone https://github.com/rexleimo/aiosInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →AIOS
The local-first control plane for long-horizon coding agents. AIOS gives your AI coding agent what it's missing — cross-session project memory, multi-agent teams, resumable overnight runs, and verifiable evidence for every change. One sentence. Any complex task. Done.
Official properties of this project: the documentation site is cli.rexai.top (English, 中文, 日本語, 한국어), the per-version release blog is cli.rexai.top/blog, and the author's long-form AI-agent essays in Chinese are on rexai.top (RexAI content hub). This GitHub repository is the source of both.
It runs on top of the agent you already use — Codex CLI, Claude Code, Gemini CLI, OpenCode, Hermes, Grok, WorkBuddy, Pi, and ZCode. AIOS is not another agent framework: your agent stays exactly as it is, and AIOS adds the memory, coordination, and verification layer around it. Everything runs locally.
Why AIOS · Install · Proof · AIOS Docs · Release Blog · RexAI Content Hub (中文) · 中文 README
Why AIOS
Your AI coding agent is smart — but it forgets everything between sessions, can't coordinate multi-step work on its own, and has no way to verify its own output. Long-horizon work (big refactors, release handoffs, overnight runs) falls apart exactly where the single-session agent ends. AIOS fixes that:
| You say | AIOS does | | —- | --- | | "Refactor the auth module" | Remembers last week's decisions, picks the right approach, makes the change, and verifies it works | | "Review this PR and update tests" | Splits the work across parallel agents, keeps coupled changes in order, collects evidence | | "Finish the release handoff overnight" | Runs the full objective with checkpoints, resumes if interrupted, delivers verified results | | "Fix the login bug" | Recalls relevant context, routes to the simplest fix path, checks the fix before showing you |
Your data stays local. Everything — memory, logs, verification evidence — runs on your machine. Nothing leaves.
You don't change how you work. Keep using the coding client you already have. AIOS adds the control plane it's missing.
Install in 30 seconds
macOS / Linux:
curl -fsSL https://github.com/rexleimo/aios/releases/latest/download/aios-install.sh | bash
source ~/.zshrc # or ~/.bashrc
aios init --all
aios doctor --native --verbose
Windows PowerShell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
irm https://github.com/rexleimo/aios/releases/latest/download/aios-install.ps1 | iex
. $PROFILE
aios init --all
aios doctor --native --verbose
Run these from a project root when you want project-level guidance and memory.
Unattended install:
node scripts/aios.mjs init --all --yes-compression-tools --yes-headroom-mcp
Token intelligence comes with the same command: AIOS detects and installs RTK (https://github.com/rtk-ai/rtk — a Rust CLI proxy that compresses command output 60-90%) and Caveman (https://github.com/JuliusBrussee/caveman — a Claude Code skill that compresses agent output ~75%), then wires the Headroom MCP for explicit compress-and-retrieve control. All three run locally; AIOS no longer ships its own interception runtime.
You're ready when:
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io