Recipe
pydantic-ai
A Pydantic AI agent application for local development via Docker Compose. Synthesized-mode Workload: image and environment are translated from the Workload kind by the compose provider. The model endpoint published by the component wired into the `model` socket is rendered as OPENAI_BASE_URL, the environment variable the OpenAI-compatible client SDK reads; a model API key attached on the `model` connection arrives on the inject pipe as OPENAI_API_KEY. The model name is delivered as OPENAI_MODEL by default; a connection writing an `inject:` block receives the names it dictates in its place, as variables or as files mounted at the paths it names, while OPENAI_BASE_URL and the API key stay. The agent's own values reach the container as PYDANTIC_AI_RESULT_TYPE, PYDANTIC_AI_RETRIES and PYDANTIC_AI_SYSTEM_PROMPT (while set) by default. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value alone replaces that value's default name.
来源
- 内容摘要
- sha256:9272fcfc8cc9dd089d68e4a1cdf5191279ad0553c04c7232427ba1162621b2ca
- 发布时间
- 2026-11-10T10:20:33Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:7c978716b28bcbae60b8e04e27a6f62f02a8b980cb5a3acb82fd919e04efecff
此版本的引用
oci://hub.aggrega.ai/recipe/compose/pydantic-ai:1.0.0- 目标
- —
- 实现
- core/ai-agent/pydantic-ai:1.0.0
提供
此配方为使用方接入的确定性指针模板。
未声明 provides 模板。
Workload
Workload · form: stateless · containers: main
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/ai-agent/pydantic-ai:1.0.0
被使用
目录中没有任何内容依赖此实体。