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
更新于 3/21/2026
星标
4001
分支
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.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use pydantic-ai-dependency-injection