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Параметри розробника
Значення, які розробник задає в сутності 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»
застосовується до
застосовується до
застосовується до
реалізує
реалізує