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.
Related skills

More from existential-birds/beagle

Installs
149
GitHub Stars
57
First Seen
Jan 20, 2026