01
Orchestration

The orchestrator manages the project graph, assigns work to the right agent, and drives the loop — sequentially by default, in parallel when you're ready.

Typed project graph

Work is structured as a directed graph of typed nodes, each with defined inputs, outputs, acceptance criteria, and dependency links. Data dependencies, scheduling dependencies, and decision dependencies are modelled explicitly — not as vague "blocked by" labels.

Sequential and parallel execution

Sequential by default — predictable, debuggable, safe. Parallel execution is opt-in with --concurrency N, with conservative file-conflict detection and mutex-serialised integration to prevent merge chaos.

Role-based task assignment

Every task declares a responsible role. The orchestrator picks the highest-priority ready task and invokes the appropriate agent. Roles are defined in JSON and fully customisable.

Escalation queue Governance

When a task exceeds the revision limit, or an agent flags a decision it can't make autonomously, the orchestrator routes it to the human supervisor — with full context already assembled.

02
Negotiation & Validation

Machine-speed propose–validate–integrate replaces the human-paced PR ritual. Agents negotiate; humans step in for genuine judgement calls.

Structured proposal format

Proposals are typed, not freeform. Each carries a change summary, assumptions made, contracts fulfilled, and a diff of the affected artefacts. Validators receive exactly what they need to make a decision.

QA hard gates

The QA agent checks proposals against acceptance criteria and hard gates: failing tests, type errors, missing test coverage. These are binary pass/fail — not vibes. A proposal can't pass if the tests don't.

Three-iteration self-correction

Rejected proposals go back to the engineer with specific, structured feedback. The agent has up to three rounds to self-correct before the task escalates. This prevents infinite loops whilst still allowing meaningful revision.

Configurable human approval gates Policy

Define which change categories require human sign-off: deployments, architectural changes, scope decisions, or anything else. Everything else integrates automatically. The gate policy is version-controlled alongside the project.

Automatic integration

Accepted proposals are committed to the Git-backed artefact store automatically. The commit includes full provenance metadata: which agent, which task, which iteration. Downstream dependencies are unblocked immediately.

03
Context Intelligence

The right information, to the right agent, at the right time — without manual curation. This is what makes large-scale autonomous work possible.

Graph-based relevance scoring

Context assembly starts by walking the project graph — what does this task depend on? What artefacts does it consume? Structural relevance is determined before semantic similarity. This means agents get the right files, not the most textually similar ones.

Import and type relationship ranking

Within the structurally relevant set, files are ranked by import relationships, type matches, and explicit file mentions in the task description. Role-aware filtering ensures each agent type gets a context payload optimised for its job.

Token budget management

Hector tracks token budgets per agent invocation and trims context intelligently — prioritising structural relevance, then semantic similarity, then recency. Agents never exceed their context window. They also never receive a truncated context that leaves out critical dependencies.

Decision and memory injection

Relevant architectural decisions and episodic memory are included automatically. Agents don't need to ask "what did we decide about auth?" — the answer is in their context before they start.

04
Memory & Learning

Without memory, every task starts from zero. Hector's memory system means agents accumulate real experience — and apply it.

Episodic records

Every task execution is logged: the outcome, the number of iterations, which QA issues were raised, what changes were made, and what the final verdict was. Records are stored as append-only JSONL — queryable, inspectable, and version-controlled.

Pattern-level insights

The Retrospective agent distils episodic records into pattern-level insights: which modules tend to cause QA failures, which kinds of tasks the engineer completes first-pass, which approaches consistently succeed. These are surfaced in future context assembly.

Reflection notes

After each task, the Retrospective agent writes a short structured reflection — what worked, what would have been faster, what to watch out for in similar work. These compound over time.

Individual and team memory scopes

Individual memory is private to each agent, covering its personal task history and learned patterns. Team memory is shared across all agents, covering project-level conventions, architectural knowledge, and institutional context.

05
Governance & Trust

Autonomy with visibility. Full audit trail, configurable approval gates, and an immutable decision record — so humans remain in control without being in the loop for every change.

Decision Ledger

Architectural decisions are first-class entities: what was decided, why, by whom, what alternatives were considered, and which artefacts and tasks are in scope. The ledger is append-only and immutable. Decisions can be superseded with explicit rationale, but never silently edited.

Role-based capability matrix

Each agent role has a defined set of capabilities — which tools it can invoke, which paths it can read or write, which artefact types it can produce. The orchestrator enforces these at invocation time.

Path validation and integrity checks

File access is validated against role permissions before each operation. Every artefact is integrity-checked with SHA-256 hashing. Tampering is detected immediately.

Structured audit log

Every agent action — file access, tool invocation, proposal submission, verdict — is written to a structured audit log. hector security audit gives you a queryable view of everything the system has done.

Audit-only mode Rollout

Enable audit-only mode during initial rollout to observe and log all actions without enforcing capability restrictions. Graduate to enforcement when you're confident in the configuration.

06
Developer Experience

A chat-primary TUI for interactive supervision, a headless CLI for automation, and a task-scoped MCP server for precise agent tool access.

Interactive TUI

A chat-primary terminal interface built with Bubble Tea. Converse with the PM agent to break down work and create tasks. Toggle a task sidebar with live progress using Ctrl+T. Intervention controls are a keystroke away.

Headless CLI

hector run executes the next ready task. hector run --loop executes all ready tasks sequentially. Both are CI/automation-friendly — structured output, non-zero exit on failure.

Task-scoped MCP server

The companion hector-tools server exposes 8 tools to agent sessions via JSON-RPC: task context, file access, search, decisions, build, test, and more. Agents get a controlled interface to the project — not unrestricted filesystem access.

Full CLI command suite
Command Description
hector initInitialise a project in the current directory
hector run [--loop]Execute the next ready task (or all tasks)
hector statusTask counts by status, agent activity
hector task listList all tasks with status and priority
hector task addAdd a task to the project graph
hector decision listQuery the decision ledger
hector memory listBrowse episodic memory records
hector security auditReview the structured audit log
hector retroGenerate a retrospective report

Ready to try Hector?

Join the waitlist and we'll reach out when early access opens.

You're on the list.