Why use ft?
651 words3 min read2 subsectionsFrom the README at ft 0.15.21
On this page2
Now that you've seen it run, here's the full capability surface:
| Capability | What it does |
|---|---|
| Full Observability | Captures terminal output across panes with low-latency delta extraction; sub-50 ms lag is the benchmark-lane target (attestation)12 |
| Multi-Agent Detection | Aho-Corasick multi-pattern engine + Bloom prefilter + BOCPD change-point detection. Native rule packs for Codex, Claude Code, and Gemini |
| Event-Driven Automation | Workflows trigger on detected patterns with per-workflow trigger-policy allowlists (ft-j0ufc), never on sleep loops |
| Robot Mode API | JSON / TOON envelopes optimized for AI-to-AI control3 |
| Lexical + Hybrid Search | SQLite FTS5 plus a hash-embedding semantic lane fused with RRF; lexical, semantic, and hybrid modes across captured output |
| Operating Envelope Contract | ft.operating_envelope.v1 planner module decides whether new pane work is admitted based on system pressure; fails closed when telemetry is missing |
| Policy Engine | 14-subsystem policy framework with per-subsystem health verdicts, capability gates, rate limiting, audit trails, and approval tokens |
| Transactional Mission Orchestration | Prepare/commit/compensate lifecycle, idempotency ledger, deterministic replay, kill switches, capacity-aware objective planner |
| Tiered Scrollback | Three-tier memory management (hot/warm/cold) with a worst-of fleet memory controller; 200-pane capacity and memory figures are benchmark-lane results, not a target-class or live-session guarantee1 |
| Incident Bundles | Crash and swarm-incident bundles with recent events, stored pane state, DB metadata, config, git state, and a beads coordination snapshot |
| Replay & Forensics | Capture, replay, and diff decision graphs for post-incident analysis and regression testing |
| Distributed Mode | Optional agent-to-aggregator streaming with per-agent dedup, versioned wire protocol, and stale-session pruning4 |
| Reality-check + Attestation | Maps claims to artifacts or explicit deferred slots in docs/attestations/manifest.json. Inspect bundle integrity with ft attestation verify; publisher authentication requires a trusted release policy |
What "swarm-native" actually means
The phrase has a concrete meaning here:
- The minimum-useful-unit is the fleet, not the pane. Every primary subsystem (storage, search, policy, workflows, mission, tx, distributed) models fleets rather than a single-pane-only world. The architecture targets dozens to hundreds of panes; the upper end remains a benchmark target until live and target-class qualification closes.
- Fleet pressure is a first-class signal. The operating envelope, fleet memory controller, and backpressure tiers compose pressure across the entire fleet, not per-pane in isolation. A single hot pane can throttle the rest of the fleet's poll cadence; a healthy fleet runs at full speed.
- One AI can drive another safely. Robot Mode, MCP, and the policy gate exist specifically so AI agents can control other AI agents without writing brittle text-parsing glue. The JSON envelopes are the contract.
- Coordination primitives are built in. Beads issue tracking, Agent Mail file reservations, work claim queues (
ft robot work), and tx idempotency ledgers exist because swarm work needs coordination, not just observation. - Failure isolation is per-pane, but recovery is per-fleet. A stuck pane doesn't take down the watcher. An auth failure on one agent doesn't pause the other 49. But the fleet memory controller throttles uniformly when pressure is real.
Who is this for?
- Anyone running 2+ AI coding agents in parallel and tired of writing bash glue to coordinate them
- Anyone building meta-agents (one AI driving N specialized AIs) who needs a structured control plane
- Operators targeting large swarms (50–200+ panes) who need fleet-wide observability, memory bounds, and capacity admission and can honor the current provisional capacity envelope
- Anyone who has to audit what an AI did in a terminal session after the fact
- Anyone who has lost work to a rate limit they didn't notice for 30 minutes
- Anyone who wants their multi-agent infrastructure to fail closed rather than silently degrade
- Verified via the populated
perf/headline-claimsattestation slot indocs/attestations/manifest.json; this covers benchmark-lane capture latency, Bloom prefilter speedup, and pane/memory capacity rows. Target-class caveats remain governed by their linked artifacts and the fail-closedswarm-capacity-envelopeadjunct. - Deferred: the
perf/lindley-boundscapture-path latency proof is assigned toft-7h5da.10.2; the manifest currently contains no accepted artifact for this slot. - Verified via the populated
proofs/robot-contractsattestation slot for JSON/TOON control-plane envelope contracts. - Verified via the populated
security/distributed-threat-modelattestation slot for distributed wire-protocol safety review and diff-fuzz coverage.