Skip to content

Architecture

The 14 fsuite drones are the payload. The architecture is what gets them in the agent’s hands and keeps them flying. Three pillars:

MCP Adapter

Exposes every fsuite tool as a structured MCP server so MCP-aware agents (Claude Code, Hermes) call them directly without going through native Bash. Adds Monokai-themed structured output rendering. Read the MCP page →

Hooks & Enforcement

PreToolUse hooks block native Read / Write / Edit / Grep / Glob so the agent has no choice but to reach for fread / fedit / fcontent / fsearch. Hooks block, MCP exposes — they’re complementary. Read the hooks page →

Telemetry

Every tool emits a JSONL event with timing, output size, exit code, and caller attribution. fmetrics ingests into SQLite and predicts the best next tool. Local-only, opt-out. Read the telemetry page →

Chain Combinations

Pipe contracts — which tools produce file paths, which consume them, which 2/3/4-step chains actually work. The recipe book. Read the chains page →

AgentClaude Code · Codex · Hermes
Hooks layerblocks native Read/Write/Edit
MCP serverexposes 14 fsuite tools
fsuite CLI14 drones · token-budgeted
TelemetryJSONL → SQLite → fmetrics

The flow is left-to-right: the agent attempts a tool call, hooks block native primitives that would flood context, MCP routes the call to a fsuite drone, the drone executes under token-budget caps, and telemetry records the event for fmetrics to learn from later.

ModeHow it runsPipe behaviorSpeed
CLI native (Debian / shell)fsearch -o paths '*.py' | fmapReal Unix pipes, parallelFastest
CLI inside fbash (MCP escape hatch)fbash "fsearch -o paths '*.py' | fmap"Real pipes inside a budgeted shellFast
Pure MCP tool callsAgent calls fsearch, then fmap, sequentiallySequential — agent constructs chain by handCorrect, slower

If you’re running fsuite through MCP and feel sequential limits biting, route through fbash — see the MCP page for the escape-hatch pattern.

PillarPathStatus
MCP adaptermcp/index.jsProduction (v1.5.0+)
Hooks configscripts/install-hooks.sh (planned)Manual today, automated soon
Telemetry library_fsuite_common.sh + ~/.fsuite/telemetry.jsonlProduction
Telemetry analyticsfmetrics + fmetrics-predict.pyProduction
Chain contractsdocs/internal/specs/chain-combinations.mdSpec → docs