Component
core/ai-agent/pydantic-ai
A Pydantic AI agent, run in-cluster as an application image the Release supplies. Pydantic AI makes an agent's answer a typed, validated object rather than free text: the result type is declared, each reply is checked against it, and a reply that fails the check is asked for again — so what this component exposes is that type, the retry budget, and the system prompt the agent works under. Deploying it gives that agent as a worker wired to a model on the `model` socket, reached through the environment an OpenAI-compatible client reads, so one image runs against any model in the catalog. The catalog supplies no image for it — Pydantic AI is published as a library an application is built around, so there is no upstream image to pin — and until a Release sets `infra.image` the build halts naming the container image and renders nothing. An `inject:` block on the model connection delivers the names the application reads, as variables or as files, in place of the model-name variable the Recipes choose by default; the endpoint variable the client SDK reads and the attached key stay. Its Recipes deliver each own value under a default variable name; the component's own `inject:` block takes `env` and `file` entries, and one reading a value alone replaces that value's default name.
来歴
- コンテンツダイジェスト
- sha256:f6fcca831b4f403ac5267b1e8e62a99ec9794e3fbfe8726c117436898da6a323
- 公開日
- 2026-11-10T10:08:45Z
- 署名 ID
- 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:540dc5c8b70f5ced5e2dc6edf7bf81fc18bca3e7064816738cdb1d5baed55ca2
このバージョンの参照
oci://hub.aggrega.ai/component/core/ai-agent/pydantic-ai:1.0.0開発者パラメーター
開発者が Aggregate で設定する値です。
BaseComponents#/schemas/BaseAgentParameter を拡張
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| result_type | string | — | はい | — |
| retries | integer | 1 | はい | — |
| system_prompt | string | — | いいえ | — |
運用担当者によるサイジング
運用担当者が環境ごとに調整するインフラストラクチャのサイジングです。
| 名前 | 型 | デフォルト | 必須 | 説明 |
|---|---|---|---|---|
| image | string | — | いいえ | Container image running the Pydantic AI application code. |
出力コントラクト
このコンポーネントが uses トポロジを通じて利用側に公開する値です。
出力値は宣言されていません。
uses ソケット
このコンポーネントが接続に用いる依存関係ソケットです。ソケットを介して配線される各接続のターゲットは、そのソケットのラベルセレクターを満たす必要があり、各接続はソケットが宣言するスロットにアタッチメントを持つことができます。必須スロットは、Aggregate または Release がそのソケットを介して配線する各接続が満たす必要があります。
model
- セレクター
- component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
- 注入
- env, file
このソケットを介した各接続が埋めることのできるスロット
| スロット | セレクター | 必須 | 注入 | 機密 | 説明 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | いいえ | env | はい | Optional credential the agent presents to the model this connection reaches. When attached, the Recipe delivers it to the application as OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key. |
アタッチメントスロット
Feature がこのコンポーネントにアタッチされる、名前付きのバインディングポイントです。スロットのセレクターはどの Feature がそのスロットを埋められるかを制約し、その inject リストは Feature のマテリアルをどのように配信できるかを示します。必須スロットは、インスタンス上のアタッチメント、またはその上位のスコープでのアタッチメントによって、すべてのインスタンスでバインドされている必要があります。また、機密スロットは秘密のマテリアルを扱うものとして宣言されます。Feature は、どのスロットも宣言していない名前でアタッチすることもできます。
アタッチメントスロットは宣言されていません。
自己注入の許可リスト
env, file
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 使用ソケット «model» を使用
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
アタッチメントスロット:credential
core/ai-model/ai21 v1.0.0 →core/ai-model/anthropic v1.0.0 →core/ai-model/azure-managed v1.0.0 →core/ai-model/azure-openai v1.0.0 →core/ai-model/azure-openai-embedding v1.0.0 →core/ai-model/bedrock v1.0.0 →core/ai-model/bedrock-embedding v1.0.0 →core/ai-model/cohere v1.0.0 →core/ai-model/databricks v1.0.0 →core/ai-model/docker-model-runner v1.0.0 →core/ai-model/gemini v1.0.0 →core/ai-model/huggingface v1.0.0 →core/ai-model/litellm v1.0.0 →core/ai-model/mistral v1.0.0 →core/ai-model/nvidia-api v1.0.0 →core/ai-model/nvidia-nim v1.0.0 →core/ai-model/ollama v1.0.0 →core/ai-model/openai v1.0.0 →core/ai-model/openai-compatible v1.0.0 →core/ai-model/openai-embedding v1.0.0 →core/ai-model/replicate v1.0.0 →core/ai-model/sagemaker v1.0.0 →core/ai-model/tei v1.0.0 →core/ai-model/tgi v1.0.0 →core/ai-model/vertex-ai v1.0.0 →core/ai-model/vertex-ai-embedding v1.0.0 →core/ai-model/vllm v1.0.0 →core/gateway/agentgateway v1.0.0 →core/gateway/apisix v1.0.0 →core/gateway/envoy-gateway v1.0.0 →core/gateway/higress v1.0.0 →core/gateway/kong v1.0.0 →core/gateway/kong-enterprise v1.0.0 →core/gateway/litellm v1.0.0 →core/gateway/traefik-hub v1.0.0 → - $refスキーマを拡張(values)
BaseComponents#/schemas/BaseAgentParameter
使用元
ソケット «runner» を使用
ソケット «api» を使用
ソケット «runner» を使用
ソケット «api» を使用
ソケット «services» を使用
ソケット «api» を使用
ソケット «services» を使用
ソケット «services» を使用
ソケット «sandbox» を使用
ソケット «plugin_daemon» を使用
ソケット «ssrf_proxy» を使用
ソケット «sandbox» を使用
ソケット «plugin_daemon» を使用
ソケット «ssrf_proxy» を使用
ソケット «api» を使用
ソケット «ssrf_proxy» を使用
ソケット «api» を使用
ソケット «api» を使用
ソケット «sandbox» を使用
ソケット «plugin_daemon» を使用
ソケット «ssrf_proxy» を使用
ソケット «sandbox» を使用
ソケット «plugin_daemon» を使用
ソケット «ssrf_proxy» を使用
ソケット «target_agent» を使用
ソケット «scrape_target» を使用
適用対象
適用対象
適用対象
実装
実装