home/categories/llm-ai/openclaw-skills-skills-anderskev-pydantic-ai-dependency-injection-skill-md
llm-aidata-ai

pydantic-ai-dependency-injection

Implement dependency injection in PydanticAI agents using RunContext and deps_type. Use when agents need database connections, API clients, user context, or any external resources.

openclaw
maintainer
openclaw
Atualizado 3/21/2026
Estrelas
4001
Forks
1095
quick start

Installation and usage

Implement dependency injection in PydanticAI agents using RunContext and deps_type. Use when agents need database connections, API clients, user context, or any external resources.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use pydantic-ai-dependency-injection