pydantic-ai-slim1.15.0
pydantic-ai-slim1.15.0
Published
Agent Framework / shim to use Pydantic with LLMs, slim package
pip install pydantic-ai-slim
Package Downloads
Project URLs
Requires Python
>=3.10
Dependencies
- exceptiongroup
; python_version < "3.11" - genai-prices
>=0.0.35 - griffe
>=1.3.2 - httpx
>=0.27 - opentelemetry-api
>=1.28.0 - pydantic-graph
==1.15.0 - pydantic
>=2.10 - typing-inspection
>=0.4.0 - fasta2a
>=0.4.1; extra == "a2a" - ag-ui-protocol
>=0.1.8; extra == "ag-ui" - starlette
>=0.45.3; extra == "ag-ui" - anthropic
>=0.70.0; extra == "anthropic" - boto3
>=1.40.14; extra == "bedrock" - argcomplete
>=3.5.0; extra == "cli" - prompt-toolkit
>=3; extra == "cli" - pyperclip
>=1.9.0; extra == "cli" - rich
>=13; extra == "cli" - cohere
>=5.18.0; platform_system != "Emscripten" and extra == "cohere" - dbos
>=1.14.0; extra == "dbos" - ddgs
>=9.0.0; extra == "duckduckgo" - pydantic-evals
==1.15.0; extra == "evals" - fastmcp
>=2.12.0; extra == "fastmcp" - google-genai
>=1.46.0; extra == "google" - groq
>=0.25.0; extra == "groq" - huggingface-hub
[inference]>=0.33.5; extra == "huggingface" - logfire
[httpx]>=3.14.1; extra == "logfire" - mcp
>=1.12.3; extra == "mcp" - mistralai
>=1.9.10; extra == "mistral" - openai
>=1.107.2; extra == "openai" - outlines
[llamacpp]<1.3.0,>=1.0.0; extra == "outlines-llamacpp" - outlines
[mlxlm]<1.3.0,>=1.0.0; (sys_platform != "darwin" or platform_machine != "x86_64") and extra == "outlines-mlxlm" - outlines
[sglang]<1.3.0,>=1.0.0; extra == "outlines-sglang" - pillow
; extra == "outlines-sglang" - outlines
[transformers]<1.3.0,>=1.0.0; (sys_platform != "darwin" or platform_machine != "x86_64") and extra == "outlines-transformers" - pillow
; extra == "outlines-transformers" - torch
; (sys_platform != "darwin" or platform_machine != "x86_64") and extra == "outlines-transformers" - transformers
>=4.0.0; extra == "outlines-transformers" - outlines
<1.3.0,>=1.0.0; extra == "outlines-vllm-offline" - torch
; (sys_platform != "darwin" or platform_machine != "x86_64") and extra == "outlines-vllm-offline" - vllm
; (python_version < "3.12" and (sys_platform != "darwin" or platform_machine != "x86_64")) and extra == "outlines-vllm-offline" - prefect
>=3.4.21; extra == "prefect" - tenacity
>=8.2.3; extra == "retries" - tavily-python
>=0.5.0; extra == "tavily" - temporalio
==1.18.2; extra == "temporal" - starlette
>=0.45.3; extra == "ui" - google-auth
>=2.36.0; extra == "vertexai" - requests
>=2.32.2; extra == "vertexai"
Pydantic AI Slim
Pydantic AI core logic with minimal required dependencies.
For more information on how to use this package see ai.pydantic.dev/install.