Component Specifications

Component-level designs and contracts. Amended as components evolve.

agent-tooling Draft

Spec: Agent Tooling

Provides tools to agents for interacting with the project workspace: file, search, code intelligence (code.lsp), debugging (debug).

agent Draft

Spec: Agent Harness

Compiles the project DSL into running agents; wires processor pipeline, provider routing, and observability.

daemon Draft

Spec: Daemon

Defines the kaged daemon process: startup, shutdown, CLI, configuration, and lifecycle gates.

federated-config Draft

Spec: Federated Project Configuration

How projects compose, override, and resolve configuration across multiple layers and overlays.

guests Draft

Spec: Guests and Project Grants

Guest principals with daemon-managed credentials; per-project permission sets for external collaborators.

http-api Draft

Spec: HTTP + WebSocket API

Operator-facing HTTP endpoints, WebSocket protocol, auth contract, and warning headers.

issues Draft

Spec: Issues

Structured inbox for project-scoped work; guests surface requests, operators triage into actions.

llm Draft

Spec: LLM Provider Interface

Talks to LLM providers; takes a resolved route and conversation context, returns typed stream events.

string | null; // ISO 8601 date string or null
local-config Draft

Spec: Local config

Operator-local configuration file: credentials, preferences, project registry — per-user, per-machine.

logging Draft

Spec: Operational Logging

Structured operational logging: dual-sink pipeline, log levels, sources, retention, HTTP API, plugin logging, and UI integration.

plugin-host Draft

Spec: Plugin Host

Spawns, supervises, and communicates with plugins over JSON-RPC 2.0 on stdio.

(newConfig) => {
project-dsl Draft

Spec: Project DSL

The YAML file an operator authors to declare agents, cages, tools, prompts, and model routing.

project-recipe Draft

Spec: project.recipe

project-terminals Draft

Spec: Project Terminals

End-to-end wiring from UI click through PTY/tmux spawn to xterm.js over WebSocket.

sandbox Draft

Spec: Sandbox

Compiles DSL cage blocks into kernel-level isolation: bwrap, network allowlists, seccomp, cgroups.

session-manager Draft

Spec: Session Manager

Owns session lifecycle: creation, active work, checkpoint, detach, reattach, termination.

task-runner Draft

Spec: Task Runner

Launch, observe, and manage project-scoped terminal commands from the web UI.

workflows Draft

Spec: Workflows

Operator-authored, parameterised agent recipes: structured inputs, limited tools, defined lifecycle.

Client submits inputs; daemon validates against schema.