Skip to content

PydanticAI adapter #85

Description

@prashar32

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions