Agent HTTP Contract
The source of truth is magmacore.protocol.agent. GEN and BENCH use protocol 2.0; endpoint paths remain /v1/.... Typed protocol objects reject unknown fields and enforce strict types. JSON objects inside tools, attributes, memory, extrakeys, and internalsteps can contain agent-specific data. JSON numbers must be finite.
Read pageAgent Coaching Contract
The schemas live in magmacore.protocol.agentcoaching. They define transport and validation; the agent implements its own diagnosis/repair strategy and correction payload semantics.
Read page