Эта страница переведена автоматически. Читать английский оригинал.

Component

core/ai-agent/claude-agent-sdk

An agent built on the Claude Agent SDK, run in-cluster as an application image the Release supplies. The SDK runs each session in the `claude` command line it bundles, as a process inside that image, so there is no upstream image to pin: the catalog supplies none, and until a Release sets `infra.image` the build halts naming the container image and renders nothing. Deploying it gives that application as a worker wired to a model serving Anthropic's Messages API: the `model` socket takes a model or a gateway whose `model.aggrega.ai/api` is `anthropic`, as `core/ai-model/anthropic` is, and refuses any other. The Recipe delivers the model's endpoint, its model name and the connection's credential as the variables the command line reads. Each tool wired into the optional `tools` socket, such as a Model Context Protocol server reached over HTTP, reaches the application under variables named for the connection's alias: the tool's address as AGGREGA_TOOL_<ALIAS>_URL, and the connection's credential, by reference, as AGGREGA_TOOL_<ALIAS>_CREDENTIAL beside the header to present it under. The SDK reads no tool's address from a variable of its own, so the application names each one in the servers it hands the SDK. An `inject:` block on a connection, or on the component itself, delivers the names the application reads, as variables or files: in place of a tool's address and header, and beside the model's variables. The SDK's Python package is published under the MIT licence. The command line it bundles, in which every session runs, is distributed by Anthropic under its own commercial terms, so the component's `component.aggrega.ai/upstream-licensing` label is `proprietary`.

Происхождение

ОфициальныйПодписано идентичностью подписи, которую этот каталог признаёт официальным издателем.
Дайджест содержимого
sha256:86f5461d5676c88f8b53d171725b5dbc3ed18afeaacaeca88963cd4a723d15e7
Опубликовано
2026-11-10T10:07: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:5699ba4b6dd8d399168df3dd127613de9e762788dc0e82711752dfb1c463d9a0

Ссылка на эту версию

oci://hub.aggrega.ai/component/core/ai-agent/claude-agent-sdk:1.0.0

Параметры разработчика

Значения, которые разработчик задаёт в сущности Aggregate.

Расширяет BaseComponents#/schemas/BaseAgentParameter

Размеры, задаваемые оператором

Размеры инфраструктуры, которые оператор настраивает для каждого окружения.

ИмяТипПо умолчаниюОбязательныйОписание
imagestring—нетContainer image running the application built on the Claude Agent SDK, with the command line the SDK bundles.

Контракт выходных значений

Значения, которые этот компонент публикует для потребителей через топологию uses.

Выходные значения не объявлены.

Сокеты uses

Сокеты зависимостей, через которые подключается этот компонент. Цель каждого соединения, проведённого через сокет, должна удовлетворять его селектору меток, и каждое соединение может нести подключение в слотах, которые объявляет сокет. Обязательный слот должен заполнить каждое соединение, которое сущность Aggregate или сущность Release проводит через сокет.

model

Селектор
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=anthropic
Внедрение
env, file

Слоты, которые может заполнить каждое соединение через этот сокет

СлотСелекторОбязательныйВнедрениеКонфиденциальныйОписание
credentialfeature.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 ANTHROPIC_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

tools

Селектор
component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
Внедрение
env, file

Слоты, которые может заполнить каждое соединение через этот сокет

СлотСелекторОбязательныйВнедрениеКонфиденциальныйОписание
credentialfeature.aggrega.ai/kind=secretнетenvдаOptional credential the agent presents to the tool this connection reaches, under the request header the tool publishes as credential_header: as Bearer <credential> under Authorization, and as the whole value of any other header. When attached, the Recipe delivers it as AGGREGA_TOOL_<ALIAS>_CREDENTIAL (a Kubernetes secretKeyRef on helm, the inject pipe on compose), on a connection writing an inject block too, and, on one writing none, the header as AGGREGA_TOOL_<ALIAS>_CREDENTIAL_HEADER where the tool publishes one.
endpointfeature.aggrega.ai/kind=secretнетenvдаOptional whole address of the tool this connection reaches, the part carrying its key included, for a server that reads its key from its own address. When attached, the Recipe delivers it as AGGREGA_TOOL_<ALIAS>_URL in place of the endpoint the tool publishes: a Kubernetes secretKeyRef on helm, so the key reaches no rendered file, and the inject pipe on compose, written as delivered.

Слоты подключения

Именованные точки привязки, в которых Feature подключается к этому компоненту. Селектор слота ограничивает, какая сущность Feature может его заполнить, а его список внедрения указывает, как могут доставляться материалы сущности Feature. Обязательный слот должен быть привязан в каждом экземпляре — подключением в самом экземпляре или в области выше него, — а конфиденциальный слот объявляется для работы с секретными материалами. Feature также может подключаться под именем, которое не объявляет ни один слот.

Слоты подключения не объявлены.

Список разрешённых самовнедрений

env, file

Связи

Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.

Использует

  • используетиспользует сокет «model»

    component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=anthropic

    Слоты подключения: credential

  • используетиспользует сокет «tools»

    component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http

    Слоты подключения: credential, endpoint

  • $refрасширяет схему (values)

    BaseComponents#/schemas/BaseAgentParameter

Используется в

Справочник по понятию Component →

Каталог Aggrega — открытый указатель компонентов, функций, рецептов и плагинов, которые их рендерят.

Создано на общей дизайн-системе Aggrega.

Конфиденциальность