Skip to main content
Build production-ready AI agents with Pydantic AI’s type-safe framework and direct access to business data through StackOne’s Tools.

Overview

  • Type-safe agents with Pydantic validation
  • Structured outputs with full type checking
  • Dynamic tool loading based on StackOne Linked Accounts
  • OpenAI-compatible tool integration

Dynamic Tool Loading

Use fetch_tools() to load only the tools available for specific accounts:

Structured Outputs

Leverage Pydantic AI’s type-safe responses:

Best Practices

Account ID from Context

Error Handling

Tool Filtering

Next Steps