# wardrik_policy v0.1.0-rc.1 - API Reference

## Modules

- [WardrikPolicy](WardrikPolicy.md): Decides each tool call an agent makes: run it, ask a person first, or refuse it.
- [WardrikPolicy.Ask](WardrikPolicy.Ask.md): The question a person answers before a call can run. `WardrikPolicy.Middleware` parks on it.
- [WardrikPolicy.Budget](WardrikPolicy.Budget.md): Caps what an agent spends on model calls, in dollars, tokens or both.
- [WardrikPolicy.Decision](WardrikPolicy.Decision.md): What a policy decided about a call, and why. Returned by `WardrikPolicy.explain/3`.
- [WardrikPolicy.Judge](WardrikPolicy.Judge.md): Asks a model yes-or-no questions about each tool call, and decides by the probability of yes.
- [WardrikPolicy.Middleware](WardrikPolicy.Middleware.md): A `WardrikCore.Middleware` that holds an agent to one or more policies.

