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
Mis à jour 3/21/2026
Étoiles
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.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use pydantic-ai-dependency-injection