skills/pydantic-ai/SKILL.md
Type-safe Python agent framework for building production-grade GenAI applications with Pydantic validation, structured outputs, and dependency injection. MANDATORY TRIGGERS: pydantic-ai, pydantic_ai, PydanticAI, pydantic ai agent. Also trigger when the user wants to build type-safe AI agents in Python, create structured LLM outputs with Pydantic models, implement dependency injection for agents, use tools/capabilities with LLMs, or build multi-agent systems with Python type safety. When in doubt about whether to use this skill for Python AI agent tasks, use it.
npx skillsauth add abhisheksharma-17/skills-graph pydantic-aiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Source: pydantic.dev/docs/ai | Version tracked: 1.107.0 |
pip install pydantic-ai
| File | Read When |
|------|-----------|
| references/00-overview.md | Starting with Pydantic AI, understanding architecture, installation, quick start |
| references/01-agents.md | Creating agents, system prompts, instructions, running agents, model settings |
| references/02-dependencies.md | Dependency injection, RunContext, typed deps, overriding for tests |
| references/03-output.md | Structured output types, output functions, validators, unions, image output |
| references/04-tools.md | Function tools, @agent.tool decorators, prepare callbacks, retries, dynamic tools |
| references/05-capabilities.md | Capabilities, AbstractCapability, on-demand loading, bundling tools+hooks |
| references/06-hooks.md | Lifecycle hooks, model request hooks, tool hooks, output hooks, wrap hooks |
| references/07-streaming.md | Streaming text, structured output streaming, stream events, cancellation |
| references/08-models.md | Model providers, OpenAI/Anthropic/Google/Ollama config, fallbacks, concurrency |
| references/09-multi-agent.md | Multi-agent delegation, handoff, programmatic orchestration, agent-as-tool |
| references/10-mcp.md | MCP client integration, FastMCP toolset, native MCP tools, MCP server mode |
| references/11-testing-evals.md | TestModel, FunctionModel, agent.override, Pydantic Evals, online evaluation |
| references/12-logfire-observability.md | Logfire integration, OpenTelemetry traces, debugging, monitoring agents |
pip install pydantic-ai # Full install (all providers + Logfire)
pip install pydantic-ai-slim # Minimal — add provider extras as needed
pip install 'pydantic-ai[ui]' # Web chat UI support
pip install 'pydantic-ai[evals]' # Evaluation framework
development
High-throughput LLM inference and serving engine with PagedAttention, continuous batching, and OpenAI-compatible API. MANDATORY TRIGGERS: vLLM, vllm, LLM serving, LLM inference engine, PagedAttention. Also trigger when the user wants to serve LLMs in production, deploy models with tensor parallelism, use speculative decoding, quantize models for inference, build OpenAI-compatible API servers, or optimize LLM throughput and latency. When in doubt about whether to use this skill for LLM serving tasks, use it.
development
Durable execution platform for building fault-tolerant workflows, long-running processes, and resilient distributed applications. MANDATORY TRIGGERS: temporal, temporal.io, temporalio, durable execution, workflow orchestration engine. Also trigger when the user wants to build fault-tolerant workflows, implement saga patterns, create long-running distributed processes, orchestrate microservices with retries and timeouts, or build durable AI agent pipelines. When in doubt about whether to use this skill for workflow orchestration or durable execution tasks, use it.
tools
AI framework for building RAG pipelines, agents, workflows, and data-augmented LLM applications with 300+ integrations. MANDATORY TRIGGERS: llamaindex, llama-index, llama_index, LlamaIndex, VectorStoreIndex, SimpleDirectoryReader, LlamaHub, LlamaParse. Also trigger when the user wants to build RAG applications with LlamaIndex, create document indexing pipelines, build agentic workflows with tool calling, implement structured data extraction from documents, or connect LLMs to custom data sources. When in doubt about whether to use this skill for RAG, document indexing, or LLM data augmentation tasks, use it.
development
AI developer platform for experiment tracking, LLM observability, hyperparameter sweeps, artifact versioning, and model registry. MANDATORY TRIGGERS: wandb, weights and biases, weights & biases, W&B, weave, wandb.init, wandb.log. Also trigger when the user wants to track ML experiments, log training metrics, tune hyperparameters with sweeps, version datasets or models, trace LLM calls, evaluate LLM applications, or monitor AI agents. When in doubt about whether to use this skill for ML experiment tracking or LLM observability tasks, use it.