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
- ตัว
ตน ผู้ ลง ลาย เซ็น - 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พารามิเตอร์ของนักพัฒนา
ค่าที่
ต่อBaseComponents#/schemas/BaseAgentParameter
| ชื่อ | ชนิด | ค่า | จำเป็น | คำ |
|---|---|---|---|---|
| result_type | string | — | ใช่ | — |
| retries | integer | 1 | ใช่ | — |
| system_prompt | string | — | ไม่ใช่ | — |
การกำหนดขนาดโดยผู้ดำเนินการ
ขนาด
| ชื่อ | ชนิด | ค่า | จำเป็น | คำ |
|---|---|---|---|---|
| image | string | — | ไม่ใช่ | Container image running the Pydantic AI application code. |
สัญญาเอาต์พุต
ค่าที่
ไม่มี
ซ็อกเก็ต Uses
ซ็อกเก็ต
model
- ตัว
คัด เลือก - component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
- Inject
- env, file
สล็อต
| สล็อต | ตัว | จำเป็น | Inject | ละเอียด | คำ |
|---|---|---|---|---|---|
| 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. |
สล็อตการแนบ
จุด
ไม่มี
รายการอนุญาต self-inject
env, file
ความสัมพันธ์
เส้น
Uses
- usesซ็อกเก็ต uses «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
ใช้โดย
ซ็อกเก็ต uses «runner»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «runner»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «services»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «services»
ซ็อกเก็ต uses «services»
ซ็อกเก็ต uses «sandbox»
ซ็อกเก็ต uses «plugin_daemon»
ซ็อกเก็ต uses «ssrf_proxy»
ซ็อกเก็ต uses «sandbox»
ซ็อกเก็ต uses «plugin_daemon»
ซ็อกเก็ต uses «ssrf_proxy»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «ssrf_proxy»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «api»
ซ็อกเก็ต uses «sandbox»
ซ็อกเก็ต uses «plugin_daemon»
ซ็อกเก็ต uses «ssrf_proxy»
ซ็อกเก็ต uses «sandbox»
ซ็อกเก็ต uses «plugin_daemon»
ซ็อกเก็ต uses «ssrf_proxy»
ซ็อกเก็ต uses «target_agent»
ซ็อกเก็ต uses «scrape_target»
นำ
ไป ใช้ กับ นำ
ไป ใช้ กับ นำ
ไป ใช้ กับ อิมพลีเมนต์
อิมพลีเมนต์