Skip to content
docsv0.19.0

Milpa Command v0.19.0

The Command-as-atom core of Milpa: one surface-agnostic Operation value object — schema of inputs + handler + metadata — plus the CommandProvider and SurfaceProjector contracts. One operation, N surfaces: CLI, MCP, HTTP, web, TUI.

Modules declare the capabilities they provide and require, expose tools an agent can invoke, and gate mutating actions behind verification. The contract loop that runs through the whole system:

plugin → capability → tool → verification → event → result

installbash
composer require milpa/command

API reference

27 public types across 3 namespaces — every symbol carries a DocBlock, and this reference is generated straight from them.

Core 7

Effect 18