Connect
7 / 8
Connect the system ยท 07
From Primitives to an Agent Runtime
The capstone places a live language model inside the control loop you implemented. Each response is parsed, each tool call is dispatched, and each observation becomes context for the next turn.
Capstone path
Live model decisions, Python tools, scratchpad state, and the bounded loop.
Production path
Approval policy, trajectory evaluation, monitoring, and regression tests.
Function you built
Where the contract appears
parse_react_step
Turns each live model response into predictable decision fields.
support tool registry
Routes service status and runbook calls through an explicit allowlist.
scratchpad and execution trace
Carries observations forward while preserving an inspectable trajectory.
run_support_agent
Repeats model and tool turns until completion or the configured step limit.
execution policy
Adds approval gates when tools can change external state.
regression evaluation
Tests tool choices, arguments, ordering, and execution budgets.
Run the loop with a live model.
Keep the parser, state transitions, execution boundaries, and trace visible.