Skip to content

Execution Flows ​

Interactive flow diagrams. Click any node to see the one-line code behind it. Drag to pan, scroll to zoom, use the minimap to navigate.

Boot Flow (npm start) ​

Vue Flow mini map
Boot Flow

Message Flow (POST /message) ​

yesno
Vue Flow mini map
Message Flow

Tool Call Flow (the Gate) ​

noyesyesno, build
Vue Flow mini map
Tool Gate

Delegation Flow (Axiom → Tenant Agent) ​

noyes
Vue Flow mini map
Delegation

Heartbeat Flow (every 5s) ​

yesnoyesnoyesno
Vue Flow mini map
Heartbeat

System Prompt Assembly ​

Vue Flow mini map
System Prompt

Data Access Flow ​

noyes
Vue Flow mini map
store_data / query_data

Debugging Guide ​

SymptomWhere to Look
Agent not respondingloader.list() — is its folder in tenant/agents/?
"blocked" errorgovernance.getMode() — are you in FUSE?
Access deniedAgent's config.json → grants array
No message historyClient localStorage has orbita_thread_id?
Structural change not loggedIs skill marked structural: true in build-catalog.ts?
Tool not foundcatalog.listNames() to see all registered skills
Heartbeat skippingPrevious beat still running (overlap prevention)

File Map ​

POST /message               → src/sense/ear.ts
  ↓
onMessage handler           → src/index.ts
  ↓
wakeAgent                   → src/index.ts
  ↓
loader.read/resolveDir      → src/genesis/agent-loader.ts
  ↓
buildSkillsForAgent         → src/index.ts
  ↓
gateSkill (structural only) → src/shield/gate.ts
  ↓
runAgent                    → src/cortex/agent.ts
  ↓
buildSystemPrompt           → src/cortex/agent.ts
  ↓
Anthropic API call          → @anthropic-ai/sdk
  ↓
Tool execution              → src/tools/*.skill.ts
  ↓
Response + traceId          → back to client

Orbita — We don't build software. We grow organisms.