iii/control-plane
v0.3.0Agent profiles for the control plane worker: the read-only writer of its summary, diary, Needs you checks and PR wait reasons, and the project controller you chat with, which acts for you after you confirm.
Every kit they publish, then the workers and executables they maintain.
Agent profiles for the control plane worker: the read-only writer of its summary, diary, Needs you checks and PR wait reasons, and the project controller you chat with, which acts for you after you confirm.
Workers and executables
Distributed key-value state management — registers the `state::*` functions and `state::on-changed`, a private function observers watch for every committed change.
Expose functions as HTTP endpoints — hosts `http::on-request`; each observer of it declares a route, and its target answers the matched requests.
Durable function queues - hosts `queue::on-message`, which topic subscribers observe, and the queue/DLQ service functions.
Run functions on cron schedules — hosts `cron::on-tick`; each observer of it passes `{ expression }` as args and receives that expression's ticks.
Measure Harness capability, retain reproducible evidence, and expose the E2E dashboard.
One front door + provider protocol in front of every LLM provider.
Talk to PostgreSQL, MySQL, and SQLite from iii — query, execute, transactions, prepared statements, and database::on-row-changed for observing committed writes.
Engine introspection, workers registry proxy, filesystem-backed skills, system prompts, and agent profiles, kit install and update with reviewed plans, plus function search ranked by the judge worker (falling back to local hybrid/lexical) with a conditional pre-generate hint.
Durable, reactive, branching store of typed conversation entries with six observable session event functions.
Turns a raw conversation history plus a target model into a model-ready context — token counting, function-result pruning, and history compaction.
Unix shell + filesystem worker — exec with denylist/timeout/output caps and background jobs; fs::ls|stat|mkdir|rm|chmod|mv|grep|sed|read|write with host jail, denylist, size caps, and sandbox-target forwarding
OpenAI Responses provider worker with Chat Completions compatibility; implements provider::openai::stream and provider::openai::refresh_models behind llm-router.
Anthropic Messages API provider worker; implements provider::anthropic::stream and provider::anthropic::refresh_models behind llm-router.
A browser on the iii bus - shared Chromium with persistent, restorable tabs and incognito tabs. Navigate, act, read the page console, pick elements. Also parses HTML natively without a browser (browser::* - css/xpath/regex, element search, markdown).
Object storage across AWS S3, GCS, Cloudflare R2, and a native local filesystem backend. Streamed uploads, signed URLs, and observable object change events.
DeepSeek Chat Completions provider worker; implements provider::deepseek::stream and provider::deepseek::refresh_models behind llm-router.
Web console for iii — bundles the React UI and proxies the engine WebSocket on a single port.
Local protected secret store. Provider keys and other credentials are encrypted under a master key kept outside the project (secret://NAME) or kept as variables in the project's .env (env://NAME), referenced from versioned configuration and resolved only by the workers each secret allowlists; metadata reads never return a value, and the private secrets::on-changed function, which other workers observe, reports rotations and .env edits.
Lodash-style value transforms (fp::get/pick/take/…) and fp::pipe — worker-side pipelines that move big values function→function without routing them through the model.
OpenAI Codex (ChatGPT subscription) provider; implements provider::openai-codex::stream and provider::openai-codex::refresh_models behind llm-router, with ChatGPT device-code sign-in and automatic session renewal backed by the encrypted secrets vault.
Provider-neutral evaluation hub (judge::evaluate, judge::cancel, and the internal judge::models::list) that forwards typed Noul, Choice and Score questions to the selected judge-<provider> worker; the default provider is a Console setting seeded from JUDGE_PROVIDER (typesafe). Also resolves worker-defined @<name>(id=…) chat mentions for agents (judge::mentions::resolve, and judge::mentions::pre-generate observing harness::hook::on-pre-generate).
TypeSafe evaluation (judge-typesafe::evaluate), model listing (judge-typesafe::models::list) and caller-scoped cancellation (judge-typesafe::cancel), with typed usage, provider errors, per-call retries and worker-owned credentials.
Z.AI Chat Completions provider worker; implements provider::zai::stream and provider::zai::refresh_models behind llm-router.
Thin durable turn loop that wires session-manager, context-manager, and llm-router into an agent loop; spawns sub-agents as child sessions.
Routes sandbox::* in the default namespace to the configured sandbox adapter worker (sandbox-libkrun by default).
Durable cross-session agent memory — named banks of always-injected markdown rules and auto-extracted memories, hybrid BM25 + entity recall, pinning, and supersede-never-delete history. Plain files on disk; every operation is a traced function.
Convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF documents to markdown on this machine, detect the format from the bytes, pull out the images embedded in them, and transcribe a scan by rendering its pages and reading them with a vision model.
OpenTelemetry-based traces, metrics, logs, alerts, and sampling.
Register, store, and watch typed configuration values for the engine.
Scheduled hygiene for the memory worker: deterministic dedup of near-duplicate memories and an opt-in verify tier that checks notes against their source transcript; every write goes through memory's supersede and correct seams, pinned untouchable. Install, stop, or remove it without touching stored memory.
libkrun sandbox adapter - serves the iii sandbox router's sandbox::* calls as sandbox-libkrun::* in libkrun microVMs, and boots Compose's worker VMs.
File-backed kanban board — tickets, threaded comments, agent assignment, the kanban::on-change and kanban::on-comment event functions, and an injectable console board with agent profiles for planning and review.
RBAC boundary proxy for the iii worker protocol — auth, gating, namespacing, middleware, and engine:: result filtering on its own port.
Guided console tour — step content, per-operator progress in state, and an injected page that spotlights the console element each step talks about.
Git worktree lifecycle for parallel agents — mint, claim, and track isolated worktrees per repo, call observable lifecycle functions (worktree::on-*), and land branches back through a per-repo FIFO queue (rebase, test gate, ff-only merge).
Outbound HTTP client on the iii bus (web::fetch).
Create, edit and render diagrams in the console — stored as editable source, drawn live in chat and on a canvas page.
Command-line tool to publish workers and kits to the iii registry (workers.iii.dev).
Downscale JPEG, PNG and WebP images to fit or fill a box (EXIF-aware, never enlarges; JPEG, PNG or lossy WebP out)
GitHub CLI and event-driven PR monitoring — typed queries and mutations, authenticated temporary webhooks, CI/comment/review notifications, and cleanup on merge.
Claude Code (Pro/Max subscription) Messages API provider worker; implements provider::claude-code::stream and provider::claude-code::refresh_models behind llm-router, using the OAuth token of each turn's Claude Code account from the tmux worker when it holds the accounts, else from the auth-credentials vault or ~/.claude/.credentials.json.
llama.cpp server (llama-server) Chat Completions provider worker; implements provider::llamacpp::stream and provider::llamacpp::refresh_models behind llm-router.
Policy and decision surface for human-held function calls — pre_call gate, pending inbox, per-session permission settings, and two notification event functions.
Deterministic, crash-resumable multi-agent workflow orchestrator over harness turns.
OpenRouter Chat Completions provider worker; one API key in front of every major vendor. Implements provider::openrouter::stream and provider::openrouter::refresh_models behind llm-router.
Claude Code as an iii worker — claude::* runs headless turns and claude::terminal::* runs the same CLI in a shell::pty session on its own console page. Both publish raw messages on the claude::on-raw-event function and AgentEvent frames on claude::on-agent-event.
Email worker — SMTP send and real-time IMAP read with IDLE push (email::*).
OpenAI Codex as an iii worker; codex::run/start/stop/status/sessions::list spawn the codex CLI for headless turns, deliver raw thread events on codex::on-raw-event and AgentEvent frames on codex::on-agent-event, observed per session.
xAI Chat Completions provider worker; implements provider::xai::stream and provider::xai::refresh_models behind llm-router.
MCP 2025-06-18 Streamable HTTP server for the iii engine — iii_call / iii_observe gateway tools, per-session observers, skills from iii-directory. Runs behind rbac-proxy.
pi coding agent as an iii worker — pi::run drives headless turns and pi::terminal::* runs the same agent in a shell::pty session on its own console page. Both publish raw events on the pi::on-raw-event function and AgentEvent frames on pi::on-agent-event.
Source-grounded markdown wiki for any git repository — openwiki::* functions generate, search, and incrementally refresh categorized pages with pinned-commit line citations, and the engine serves a browser UI + JSON API under /openwiki.
laya provider for the judge hub (judge-laya::evaluate, judge-laya::models::list, judge-laya::cancel) — the ModernBERT typed-decision checkpoints (English, multilingual, typed-decisions) downloaded from the Hugging Face Hub and run in-process with language routing; no API key or external service.
tmux as an iii worker — list, create, rename and kill sessions and windows and move windows between sessions, see which pane runs Claude Code or Codex (working, waiting for you, idle), which runs `iii compose` and every listening port by process and pane, plus a Console page whose terminal is a live tmux client.
Slack as an iii worker — exposes the Slack Web API as slack::* functions, plus a harness bridge (inbound events → harness::send, native streaming, approvals). Configurable from the console.
Native whatsmeow sessions and official Meta Cloud API messaging in one Go worker; no Node or browser runtime.
Session monitor for the Harness (deterministic diagnostics, Jev triage through judge, investigation by the user-chosen LLM, E2E validation plans; inactive until configured).
Moonshot (Kimi) Chat Completions provider worker; implements provider::kimi::stream and provider::kimi::refresh_models behind llm-router.
WebSocket listener that SDK workers connect to. Supports RBAC, middleware, registration hooks, and channels.
Read PDFs locally — classify text-based vs scanned, convert to markdown, extract positioned text and tables, and report which pages still need OCR.
Find workers, kits and executables, or jump to a page.