Skip to content
docsv0.1.0

Milpa Data v0.1.0

Runtime-native persistence for Milpa: plain entities (no ORM base class, no attributes) behind a small repository contract, with two interchangeable backends — file (JSON) and in-memory. Zero Doctrine, zero database, zero infrastructure. The persistence primitive an agent-scaffolded entity targets.

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/data

API reference

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

Core 4