RFC: Cord
Description
Status: Draft Author: June Kim Created: 2026-02-18 Version: 0.4.0
Installation
claude install-skill https://github.com/kimjune01/cord README
RFC: Cord
Status: Draft
Author: June Kim
Created: 2026-02-18
Version: 0.4.0
Abstract
This document specifies Cord, a coordination protocol for agent trees. Agents — implemented as Claude Code CLI processes — execute tasks, create subtasks, and return typed results. A SQLite database is the shared coordination state. Agents interact with it through MCP tools.
The protocol introduces four primitives (`goal`, `task`, `serial`, `ask`) and a single context-flow mechanism: `needs`. When creating a child task, the parent lists which completed nodes' results should be injected into the child's prompt. This replaces the earlier `spawn`/`fork` distinction with explicit context selection.
1. Motivation
Existing agent orchestration systems fall into two categories:
- undefined
No existing system provides:
- undefined
Cord addresses these gaps with a minimal set of primitives designed for coordinating LLM-based agents on a single machine.
2. Overview
2.1 System Architecture
┌─────────────────────────────────────────────┐
│ SQLite Database │
│ (coordination state, WAL mode) │
└──────────────────┬──────────────────────────┘
│ read/write
▼
┌─────────────────────────────────────────────┐
│ Engine │
│ (scheduler, process manager, TUI) │
└──────────────────┬──────────────────────────┘
│ launches
┌────────┴────────┐
│ Claude Code │
│ CLI processes │
│ (one per node) │
└────────┬────────┘
│ MCP (stdio)
┌────────┴────────┐
│ MCP Servers │
│ (one per agent,│
│ stdio transport│
│ → SQLite) │
└─────────────────┘
2.2 Design Constraints
- undefined
Related Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development community src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development community Cavecrew Builder
>
Development community Cavecrew Investigator
>
Development community Cavecrew Reviewer
>
Development community Contributing to nanobot
Thank you for being here. nanobot is built with a simple belief: good tools should feel calm, clear, and humane. We care deeply about useful features, but we also believe in achieving more with less:
Development community