Skip to content
docsv0.19.1

Milpa ToolRuntime v0.19.1

The AI tool-execution runtime of Milpa — the concrete engine behind the tooling contracts that milpa/core defines. Methods declare themselves with #[Tool]; every call runs one pipeline: resolve, validate, authorize, execute, audit.

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/tool-runtime

API reference

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

Attributes 2

Confirmation 1

Contracts 11

Core 12

Events 4

Exceptions 1

Gate 4

Identity 11

Inspection 7

Policy 1

RateLimiting 3

Rendering 4

Validation 1

Verification 3