Skip to content

Kairo Code

Kairo Code is a production coding agent CLI built entirely on the Kairo framework. It serves as the primary dogfooding application — proving that Kairo's SPI-driven architecture, reactive runtime, and agent infrastructure work under real-world coding workloads.

Source code: github.com/CaptainGreenskin/kairo-code

Why Kairo Code?

Kairo Code is not a fork of any existing coding agent. It is a Java-native coding agent built from the ground up on Kairo's Agent OS abstractions:

  • Framework validation — Every feature in Kairo Code exercises a Kairo SPI. If something is missing or poorly designed, we fix the framework first. This feedback loop keeps the framework honest.
  • Java all the way down — The agent runtime, tool execution, context management, model routing, and session persistence are all Java, running on Project Reactor. No shelling out to Python or Node for core logic.
  • Production-grade by inheritance — Kairo Code inherits Kairo's circuit breaker, loop detection, cooperative cancellation, 6-stage context compaction, and permission guards without reimplementing them.
  • Extensible by design — Skills, tools, model providers, and stateless Agent Profiles are pluggable via Kairo's SPI contracts. Adding a new tool or swapping a model provider requires no changes to the agent core.

Screenshots

CLI Demo

CLI Demo

REPL Startup

Kairo Code REPL

Tool Execution

Skill System — Load & Code Review

Skill System

Plan Mode — Read-only Analysis

Plan Mode

Cost Tracking

Cost Tracking

Web UI

Welcome & Setup

Welcome Screen

API Configuration

Open Project

Chat Interface

Chat Interface

Workspace — Explorer, Search, Source Control

Explorer

Source Control

Self-Evolution & Hook Configuration

Self-Evolution

Hook Configuration

Light Theme

Light Theme

Desktop App

Kairo Code also ships as a desktop workspace with an integrated chat agent, file explorer, source control, and self-evolution tooling.

Main Chat Interface

Main Chat Interface

Explorer Sidebar

Explorer Sidebar

Source Control

Source Control Sidebar

Self-Evolution

Self-Evolution Sidebar

Kairo Code learns from each session — accumulating memory and knowledge, and refining behavior through the hook system:

Self-Evolution Demo

Approval Mode

Control how tools run with Manual, Auto-safe, and YOLO approval modes, backed by hook-based safety controls:

Tool Approval Demo

Light Theme

Light Theme Interface

Agent Workspace

A full IDE-like workspace — chat agent, file explorer, source control, and theming working together:

Agent Workspace Demo

Key Features

FeatureDescription
Interactive REPLStreaming output, tool approval prompts, rich terminal rendering
Extensible Tool RuntimeFramework and product tools for files, execution, web, Git, interaction, planning, memory, scheduling, and code intelligence
Skill SystemMarkdown-based extensible capabilities loaded at runtime
Agent CollaborationParent-owned, task-scoped Subagents with independent context, steering, cancellation, and evidence-based acceptance
IDE BridgeWebSocket-based Bridge SPI for VS Code, JetBrains, and Zed integration
Session PersistenceFileSessionStorageProvider for conversation continuity across restarts
Multi-Model SupportClaude (native Anthropic), GLM, Qwen, GPT (OpenAI-compatible)
Plan ModeEnter/exit plan mode for structured multi-step reasoning
MemoryRead/write/delete persistent task and project knowledge
Cron SchedulingCreate, manage, and trigger recurring tasks

Tool Categories

Kairo Code combines Kairo's focused framework tools with product-scoped tools. The registry is assembled from enabled capabilities rather than a fixed marketing count:

  • File OperationsRead, Write, Edit, Glob, Grep, Tree, Diff, BatchRead, BatchWrite, SearchReplace, PatchApply, JsonQuery, TemplateRender
  • ExecutionBash, Monitor, Mvn, Sleep, VerifyExecution
  • WebWebFetch, WebSearch, Http, OpenApiHttp
  • GitGit, Github
  • InteractionAskUser
  • SkillsSkillList, SkillLoad, SkillManage
  • Agent Operations — authoritative task delegation, send_message, task lifecycle, TODO, and workflow tools owned by the live product runtime
  • Plan ModeEnterPlanMode, ExitPlanMode, ListPlans
  • MemoryMemoryRead, MemoryWrite, MemoryDelete
  • CronCronCreate, CronDelete, CronEdit, CronList, CronPause, CronResume, CronTrigger
  • Code IntelligenceLsp

Supported Models

ProviderModelsIntegration
AnthropicClaude Opus, Sonnet, HaikuNative AnthropicModelProvider
GLMGLM-4 seriesOpenAI-compatible adapter
QwenQwen seriesOpenAI-compatible adapter
OpenAIGPT-4o, GPT-4, etc.OpenAI-compatible adapter

Relationship to Kairo Framework

Kairo Code depends on the Kairo framework as a library consumer:

kairo-code-core
  ├── kairo-core          (ReAct engine, compaction, model providers)
  ├── kairo-tools         (built-in tool suite)
  ├── kairo-mcp           (MCP protocol integration)
  ├── kairo-skill         (skill system)
  └── kairo-plugin        (plugin system)

Kairo Code assembles Kairo's SPIs and owns the interactive Task/Subagent lifecycle. Kairo supplies the reusable Agent, risk, tool, skill, and protocol primitives; the product remains authoritative for queues, permissions, cancellation, persistence, acceptance, and UI projection.