Skip to content

Dependencies

Name Summary Marker
anyenv Compatibility layer for some basic operations to allow painless operation in PyOdide and Python pre-releases
httpx2 The next generation HTTP client.
pydantic Data validation using Python type hints
pydantic-ai-slim AI Agent Framework, the Pydantic way, slim package
schemez Pydantic toolkit for function schemas, JSON Schema to model conversion, tool code generation and config models
tokonomics Calculate LLM usage costs from token counts and discover models and pricing across providers
fastmcp-slim The dependency-slim FastMCP package. extra == "codemode"
pydantic-ai AI Agent Framework, the Pydantic way extra == "default"
openai The official Python library for the openai API extra == "openai"
fastapi FastAPI framework, high performance, easy to learn, fast to code, ready for production extra == "remote"
uvicorn The lightning-fast ASGI server. extra == "remote"
websockets An implementation of the WebSocket Protocol (RFC 6455 & 7692) extra == "remote"
PyYAML YAML parser and emitter for Python extra == "server"
tokenizers extra == "tokenizers"
transformers Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. extra == "transformers"
graph LR
    classDef missing stroke-dasharray: 5
    aioitertools["aioitertools<br/>0.13.0"]
    annotated-types["annotated-types<br/>0.8.0"]
    anyenv["anyenv<br/>3.0.1"]
    anyio["anyio<br/>4.16.0"]
    appdirs["appdirs<br/>1.4.4"]
    attrs["attrs<br/>26.1.0"]
    docstring-parser["docstring_parser<br/>0.18.0"]
    fsspec["fsspec<br/>2026.9.0"]
    genai-prices["genai-prices<br/>0.2.5"]
    griffelib["griffelib<br/>2.4.1"]
    h11["h11<br/>0.16.0"]
    httpcore2["httpcore2<br/>2.16.2"]
    httpx2["httpx2<br/>2.16.2"]
    idna["idna<br/>3.20"]
    llmling-models["llmling-models<br/>1.9.0"]
    logfire-api["logfire-api<br/>6.0.1"]
    opentelemetry-api["opentelemetry-api<br/>1.45.2"]
    pathlib-abc["pathlib_abc<br/>0.5.2"]
    pydantic-ai-slim["pydantic-ai-slim<br/>2.75.0"]
    pydantic-core["pydantic_core<br/>2.50.5"]
    pydantic-graph["pydantic-graph<br/>2.75.0"]
    pydantic["pydantic<br/>2.14.4"]
    referencing["referencing<br/>0.37.0"]
    rpds-py["rpds-py<br/>2026.9.1"]
    schemez["schemez<br/>2.5.0"]
    tokonomics["tokonomics<br/>1.5.1"]
    truststore["truststore<br/>0.10.5"]
    typing-extensions["typing_extensions<br/>4.16.0"]
    typing-inspection["typing-inspection<br/>0.4.5"]
    universal-pathlib["universal_pathlib<br/>0.3.11"]
    anyenv -- ">=0.12.0" --> aioitertools
    anyenv -- ">=0.3.4" --> universal-pathlib
    anyenv -- ">=1.4.4" --> appdirs
    anyenv -- ">=4.8.0" --> anyio
    anyio -- ">=2.8" --> idna
    anyio -- ">=4.16.0" --> typing-extensions
    genai-prices -- ">=2.0" --> httpx2
    genai-prices -- ">=2.10" --> pydantic
    httpcore2 -- ">=0.10" --> truststore
    httpcore2 -- ">=0.16" --> h11
    httpx2 -- "==2.16.2" --> httpcore2
    httpx2 -- ">=0.10" --> truststore
    httpx2 -- ">=3.18" --> idna
    httpx2 -- ">=4.10" --> anyio
    llmling-models -- ">=0.4.0" --> tokonomics
    llmling-models -- ">=2.1.0" --> anyenv
    llmling-models -- ">=2.16.0" --> httpx2
    llmling-models -- ">=2.5.0" --> schemez
    llmling-models -- ">=2.68.0" --> pydantic-ai-slim
    llmling-models -- "any" --> pydantic
    opentelemetry-api -- ">=4.5.0" --> typing-extensions
    pydantic -- "==2.50.5" --> pydantic-core
    pydantic -- ">=0.4.4" --> typing-inspection
    pydantic -- ">=0.6.0" --> annotated-types
    pydantic -- ">=4.16.0" --> typing-extensions
    pydantic-ai-slim -- "==2.75.0" --> pydantic-graph
    pydantic-ai-slim -- ">=0.10.5" --> truststore
    pydantic-ai-slim -- ">=0.2.3" --> genai-prices
    pydantic-ai-slim -- ">=0.4.0" --> typing-inspection
    pydantic-ai-slim -- ">=1.28.0" --> opentelemetry-api
    pydantic-ai-slim -- ">=2.0" --> griffelib
    pydantic-ai-slim -- ">=2.12" --> pydantic
    pydantic-ai-slim -- ">=2.7" --> httpx2
    pydantic-ai-slim -- ">=4.7.0" --> anyio
    pydantic-core -- ">=4.16.0" --> typing-extensions
    pydantic-graph -- ">=0.4.0" --> typing-inspection
    pydantic-graph -- ">=2.12" --> pydantic
    pydantic-graph -- ">=3.14.1" --> logfire-api
    pydantic-graph -- ">=4.7.0" --> anyio
    referencing -- ">=0.7.0" --> rpds-py
    referencing -- ">=22.2.0" --> attrs
    schemez -- ">=0.17.0" --> docstring-parser
    schemez -- ">=0.2.6" --> universal-pathlib
    schemez -- ">=0.36" --> referencing
    schemez -- ">=4.12.0" --> typing-extensions
    schemez -- "any" --> griffelib
    schemez -- "any" --> pydantic
    schemez -- "any" --> pydantic-core
    tokonomics -- ">=3.0.0" --> anyenv
    tokonomics -- "any" --> pydantic
    tokonomics -- "any" --> schemez
    typing-inspection -- ">=4.15.0" --> typing-extensions
    universal-pathlib -- ">=0.5.1,<0.6.0" --> pathlib-abc
    universal-pathlib -- ">=2024.5.0" --> fsspec