hexum_loop_start
Last updated 12 September 2026
When to call
When starting a gated build loop for a goal.
Arguments
Required goal. Optional max_turns (default 12, max 24), test_command, files.
What comes back
loop_id and the next instruction (shrink, edit, check, test, tick).
What the agent does next
Follow the instruction. Tick with compile and test output.
All five tools: Hexum MCP tools. Contract file: architecture.hexum.
FAQ
What is hexum_loop_start?
Returns loop_id and the next instruction. Then hexum_loop_tick with compile_output and test_output. hexum_loop_status reads; hexum_loop_abort stops. Loops live 15 minutes in memory. ZDR: no payload tables.
When should the agent call hexum_loop_start?
When starting a gated build loop for a goal.
Does Hexum replace Cursor or Claude Code?
No. You keep Cursor, Claude Code, Antigravity, Codex, or Grok. Hexum is not an editor and not a model. You paste a key into the agent you already use.
Does the architecture check use an AI?
No. It reads a rules file in your repo and reports forbidden imports. It does not call a model, so it does not guess.
Does Hexum store my repo?
No. We do not keep the code your agent sends. We do not train on it. Policy: /zdr.