Read the code
Agents ship features faster than you can re-absorb the architecture.
Agents ship faster than you can reread the repo. HQFlow maps what they built, entry point to failure path.
npx hqflow initnpx hqflow openIn an AI-native codebase the scarce resource isn't generation. It's keeping the architecture in view after every feature ships.
Agents ship features faster than you can re-absorb the architecture.
Walls of markdown and HTML. Accurate maybe, but no shape.
A sourced map of real workflows: entry, decisions, side effects, outputs.
Your agent writes. HQFlow validates and draws. You read the result and ask for the next workflow.
hqflow init drops a .codehq/ into your repo: a strict JSON contract and a SKILL.md your agent already knows how to read.
.codehq/ ├── project.json ├── SKILL.md agent contract ├── diagnostics.json repair loop └── workflows/
Your agent traces real code paths and writes workflow JSON: steps, sources, edge cases, tests. Every claim marked verified or inferred.
{
"id": "check-quota",
"category": "decision",
"confidence": "verified",
"sources": [{ "file": "lib/validation.ts",
"symbol": "hasRemainingQuota" }]
}
HQFlow validates every file, watches for changes, and re-renders the canvas live. Invalid files become precise diagnostics, never a blank board.
issues[0]: error connections[3].to step "send-receipt" does not exist. hint: point to an existing step id.
Every node is a real step backed by real files. Colour is meaning. Dashes are doubt. Click a step to see what it touches, what can break, and the tests that prove it.
Rendered from examples/motiona/.codehq/workflows/generate-video.json
Renders from files on disk. No accounts, no telemetry, no runtime network calls beyond localhost. Your code never leaves the machine.
HQFlow contains no model and no prompts. Your agent is the brain. HQFlow is the instrument that keeps it honest.
Strict Zod schemas reject invented fields, especially visual ones. Layout, colour and typography are computed by HQFlow, never authored by a model.
A half-written file never blanks the board. The last valid map stays on screen while diagnostics guide the repair.
npx hqflow initscaffold .codehq/npx hqflow openstart the local canvasnpx hqflow validatecheck what your agent wrotethen ask your agent
“Map how checkout actually works in this repo: steps, sources, failure paths. I’ll review the architecture on the canvas.”
Works with Cursor, Claude Code and Codex. Anything that can read a repo.