Skip to main content
PydanticAI exposes an OpenAI-compatible provider directly. Use OpenAIChatModel for RedPill’s Chat Completions endpoint.

Install

Build an agent

Production checks

Keep explicit UsageLimits, add a network timeout, and validate tool arguments at the application boundary. For confidential-only calls, use https://tee.redpill.ai/v1 with an is_tee: true model.

Troubleshooting

References