Component
core/ai-agent/smolagents
A smolagents agent, run in-cluster as an application image the Release supplies. smolagents offers two ways for an agent to act, and they are different enough to be different classes rather than a flag: one writes and executes code to reach its answer, the other selects among declared tools. The agent-type value carries that choice, and the step ceiling is deliberately small — a handful of steps rather than a hundred — because the library is built around short reasoning loops. The Release supplies the image containing the smolagents application. The catalog pins no image, so nothing renders until the Release sets `infra.image`. 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:cfd47bcc0e59a064673c640c063c6ca34a46399d6411b5be64c5b32054d884f9
- Опубликовано
- 2026-11-10T10:08:51Z
- Идентичность подписи
- 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:00c7ca906c5c0bc60cd391f6d529b5f258d9db6bcb5cab7ca94038940f2449c0
Ссылка на эту версию
oci://hub.aggrega.ai/component/core/ai-agent/smolagents:1.0.0Параметры разработчика
Значения, которые разработчик задаёт в сущности Aggregate.
Расширяет BaseComponents#/schemas/BaseAgentParameter
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| agent_type | string (CodeAgent | ToolCallingAgent) | CodeAgent | да | — |
| max_steps | integer | 6 | да | — |
Размеры, задаваемые оператором
Размеры инфраструктуры, которые оператор настраивает для каждого окружения.
| Имя | Тип | По умолчанию | Обязательный | Описание |
|---|---|---|---|---|
| image | string | — | нет | Container image running the smolagents 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 может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности 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»
применяется к
применяется к
применяется к
реализует
реализует