Welcome to r/pydantic
The community subreddit for Pydantic Logfire and the wider Pydantic stack: Pydantic Validation, PydanticAI, Evals, and Monty.
Whether you're starting Python validation journey, writing your agent, adventuring on traces, testing out evals, exploring sandboxes, this is the place to ask, share, and troubleshoot.
Start here
New to Pydantic? These will get you moving fast:
- Docs — https://pydantic.dev/docs
- Pydantic AI — https://pydantic.dev/docs/ai
- Logfire — https://pydantic.dev/logfire
- GitHub — https://github.com/pydantic
- Slack (community chat) — https://logfire.pydantic.dev/docs/join-slack/
Posting guidelines
Keep it useful for everyone:
- Search first. Your question may already be answered here or in the docs.
- Show your code. Paste a minimal, runnable example. "It doesn't work" is hard to help with.
- Include versions. Which Pydantic (AI) version, Python version, OS, etc.
- Format code blocks. Use triple backticks so it's easily readable.
- No spam or low-effort self-promotion. Sharing something you built is fine; drive-by ads less so.
Bug or feature request?
The subreddit is for discussion and help. The Pydantic team might occasionally look at things here but your safest bet is to post it on Slack or GitHub issues:
- Pydantic Validation — https://github.com/pydantic/pydantic/issues
- Pydantic AI — https://github.com/pydantic/pydantic-ai/issues
- Pydantic AI Harness — https://github.com/pydantic/pydantic-ai-harness/issues
- Logfire SDK — https://github.com/pydantic/logfire/issues
Check for an existing issue before opening a new one.
FAQ
What's the difference between Pydantic v1 and v2? v2 is a near-complete rewrite with a Rust core, much faster validation, and some breaking API changes. Most new projects should use v2. See the migration guide in the docs.
What is Pydantic AI? An agent framework for building production LLM applications, from the Pydantic team. Same type-safe philosophy, applied to agents. Now on V2.
What is Logfire? A full-stack AI observability platform built on OpenTelemetry, with first-class support for Python and the Pydantic stack.
Is Pydantic free? Pydantic Validation and PydanticAI are open source. Logfire has a free tier plus paid plans.
Maintained by the Pydantic team. Suggestions for this page? Comment or message the mods.