create_harness_agent wires a function-calling loop around switchable todo, plan/execute, and compaction stages
Guided views
Explore this system
Step through curated paths without changing the source diagram.
Beat
Next
ReadyChapter 01 / 01
Guided chapter
Diagram guideExplore this system
Inspecting compiled semantics
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find a node
⌕/
No matching nodes
Semantic passport
Verified source
Authored reach
Route probeChoose a start node
Pick two semantic nodes on the diagram
Choose the source, then the destination. Direction matters.
Semantic lensCompare system roles
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Semantic radar
Building overview
Click nodeDrag to pan
One Core Loop
• create_harness_agent assembles the whole agent
• A single function-calling loop drives every turn
• The loop is the only caller of the model
Switchable Stages
• Plan and Execute modes split thinking from acting
• The todo list carries task state across turns
• Compaction trims history before it overflows
Composable
• Each stage is an individually switchable component
• Turning one off never rewrites the loop
• The same harness scales from simple to autonomous
Architecture diagram • Built with Archify • Create yours ↗ • Hover to trace • R route • Click to focus • +/− zoom • M radar • [/] views • P play story • T theme • E export