Open source · MIT licensed

The Universal Brain for AI Coding Agents

Multi-agent orchestration for OpenCode, Gemini CLI, and Claude Code. A single entry point for intelligent pipelines with persistent project memory — analyze, route, and execute automatically.

21Specialized agents
<10mFast-track tasks
MITOpen source
kai — opencode
Setup

Get running in seconds

Install Kai agents into OpenCode, Gemini CLI, or Claude Code with one command. No separate CLI needed.

STEP 01

Run the installer

Downloads the latest Kai release and configures it for your platform of choice.

STEP 02

Check installation

Confirm your platform's CLI is installed and Kai agent definitions are loaded.

STEP 03

Start using Kai

Run your platform's CLI with any task. Kai analyzes, routes, and orchestrates automatically.

Capabilities

Built for autonomous execution

Kai operates through OpenCode, Gemini CLI, and Claude Code, orchestrating specialized agents and enforcing quality gates across all workflows.

Intelligent Routing

Analyzes intent and automatically routes to the right specialist agents — from quick fixes to complex engineering pipelines.

Parallel Execution

Runs @reviewer, @tester, and @docs simultaneously after implementation. Maximum efficiency, minimal wait time.

Security First

Enforced deny-lists for dangerous commands. Filesystem boundaries prevent accidental system modifications.

Quality Gates

Strict validation at every phase: code quality, test coverage, security scans, and documentation checks.

Project Memory

Persistent .kai/ directory stores conventions, decisions, and failure patterns. Never rediscover context.

Deterministic Output

Temperature strategy ensures precision. Specialists locked at 0.1 for consistent, predictable results.

Agent teams

Single brain, multiple specialists

Kai analyzes your request and orchestrates the right specialists. You focus on what to build, Kai handles how.

@architect @developer @reviewer @tester @docs @devops
Persistent memory

Never rediscover context

The .kai/ directory is a per-project memory layer that persists across sessions. Kai reads it at pipeline start to skip re-discovery and writes to it at pipeline end to capture new learnings.

Conventions

Project-specific patterns and standards captured once, applied on every future run.

Decisions

Architectural choices recorded with rationale, so Kai stops re-litigating settled questions.

Failure patterns

What broke before is remembered — @postmortem feeds learnings straight back into the pipeline.

project-root/.kai/
conventions.md # standards
· 01-naming.md # enforced
· 02-testing.md # coverage rules
decisions.md # ADR-style log
· 0007-pgvector.md # settled
failures.md # postmortems
· race-cond-0412.md # avoided
stack.json # detected env
glossary.md # domain terms
Ecosystem

Leverage the entire ecosystem

Kai isn't just another tool. It's a complete orchestration layer that runs on OpenCode, Gemini CLI, and Claude Code — giving you instant access to specialized agents, persistent memory, and extensible workflows.

Drop-in Integration

Install once, use everywhere. Kai integrates seamlessly with your preferred AI coding platform. No configuration hell, no breaking changes.

Instant Productivity

21 specialized agents ready to work. From quick fixes to complex engineering pipelines, everything is orchestrated automatically.

Extensible by Design

Portable across OpenCode, Gemini CLI, and Claude Code. Add your own agents, customize workflows, and extend capabilities without forking.

Smart Context

Persistent .kai/ memory stores conventions, decisions, and patterns. Your projects get smarter with every run.

Zero Lock-in

Standard Markdown agent definitions per platform. No proprietary formats, no vendor lock-in. Switch, modify, or remove anytime.

Community Driven

Open source, MIT licensed. Contribute agents, share workflows, and build on a foundation that grows with the community.

Ship faster

Use Kai once.
You'll never go back.

From day one, Kai transforms how you work. No learning curve. No setup friction. Just intelligent orchestration that feels like magic.