Technical reference for the Milo API surface.
Built-in Actions
Every action Milo dispatches automatically.
Schema Contract
How Milo derives JSON Schema from Python functions.
Dispatch Contract
How CLI, programmatic, and MCP command calls agree.
Error Codes
Structured errors for terminal output, tests, and MCP repair loops.
Types & Protocols
Frozen dataclasses, enums, and protocol definitions.
Note
Reference pages document what each API does and its exact signature. For how and when to use them, see Build CLIs, Build Apps, and Quality and Operations.
In This Section
Built-in Actions
Every action Milo dispatches automatically.
Dispatch Contract
How CLI, programmatic, and MCP command calls agree.
Error Codes
Structured errors for terminal output, tests, and MCP repair loops.
Schema Contract
How Milo derives JSON Schema from Python functions.
Types & Protocols
Frozen dataclasses, enums, and protocol definitions.