Back to Pydantic Ai

Bank Support

docs/examples/bank-support.md

1.90.0552 B
Original Source

Small but complete example of using Pydantic AI to build a support agent for a bank.

Demonstrates:

Running the Example

With dependencies installed and environment variables set, run:

bash
python/uv-run -m pydantic_ai_examples.bank_support

(or PYDANTIC_AI_MODEL=gemini-3-flash-preview ...)

Example Code

snippet {path="/examples/pydantic_ai_examples/bank_support.py"}