pydantic-ai-tool-system

Installation
SKILL.md

PydanticAI Tool System

Tool Registration

Two decorators based on whether you need context:

from pydantic_ai import Agent, RunContext

agent = Agent('openai:gpt-4o')

# @agent.tool - First param MUST be RunContext
@agent.tool
async def get_user_data(ctx: RunContext[MyDeps], user_id: int) -> str:
    """Get user data from database.
Installs
159
GitHub Stars
68
First Seen
Jan 20, 2026
pydantic-ai-tool-system — existential-birds/beagle