A thin PydanticAI adapter, mirroring sdks/python/riskkernel/adapters/{langchain,openai_agents}.py (open a governed run, enforce the budgets via the daemon, no governance logic client-side).
Scope: riskkernel/adapters/pydantic_ai.py enforcing the per-step loop/time/cost budget and routing side-effecting tools through the approval gate, for a PydanticAI agent run.
Acceptance: a runnable examples/pydantic-ai/ that a budget halts; the halt is surfaced (not swallowed); a skip-unless-installed test; pin + document the supported PydanticAI version.
A thin PydanticAI adapter, mirroring
sdks/python/riskkernel/adapters/{langchain,openai_agents}.py(open a governed run, enforce the budgets via the daemon, no governance logic client-side).Scope:
riskkernel/adapters/pydantic_ai.pyenforcing the per-step loop/time/cost budget and routing side-effecting tools through the approval gate, for a PydanticAI agent run.Acceptance: a runnable
examples/pydantic-ai/that a budget halts; the halt is surfaced (not swallowed); a skip-unless-installed test; pin + document the supported PydanticAI version.