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`.
Asal-usul
- Digest konten
- sha256:86f5461d5676c88f8b53d171725b5dbc3ed18afeaacaeca88963cd4a723d15e7
- Dipublikasikan
- 2026-11-10T10:07:45Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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
Referensi pada versi ini
oci://hub.aggrega.ai/component/core/ai-agent/claude-agent-sdk:1.0.0Parameter pengembang
Nilai yang ditetapkan pengembang di Aggregate.
Memperluas BaseComponents#/schemas/BaseAgentParameter
Penentuan ukuran oleh operator
Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.
| Nama | Tipe | Bawaan | Wajib | Deskripsi |
|---|---|---|---|---|
| image | string | — | tidak | Container image running the application built on the Claude Agent SDK, with the command line the SDK bundles. |
Kontrak keluaran
Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.
Tidak ada nilai keluaran yang dideklarasikan.
Soket uses
Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.
model
- Selektor
- component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=anthropic
- Injeksi
- env, file
Slot yang dapat diisi oleh setiap koneksi melalui soket ini
| Slot | Selektor | Wajib | Injeksi | Sensitif | Deskripsi |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | tidak | env | ya | 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
- Selektor
- component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
- Injeksi
- env, file
Slot yang dapat diisi oleh setiap koneksi melalui soket ini
| Slot | Selektor | Wajib | Injeksi | Sensitif | Deskripsi |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | tidak | env | ya | 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. |
| endpoint | feature.aggrega.ai/kind=secret | tidak | env | ya | 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. |
Slot lampiran
Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.
Tidak ada slot lampiran yang dideklarasikan.
Daftar izin injeksi mandiri
env, file
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- menggunakanmenggunakan soket «model»
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=anthropic
Slot lampiran: credential
- menggunakanmenggunakan soket «tools»
component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
Slot lampiran: credential, endpoint
- $refmemperluas skema (values)
BaseComponents#/schemas/BaseAgentParameter
Digunakan oleh
menggunakan soket «runner»
menggunakan soket «api»
menggunakan soket «runner»
menggunakan soket «api»
menggunakan soket «services»
menggunakan soket «api»
menggunakan soket «services»
menggunakan soket «services»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «api»
menggunakan soket «ssrf_proxy»
menggunakan soket «api»
menggunakan soket «api»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «sandbox»
menggunakan soket «plugin_daemon»
menggunakan soket «ssrf_proxy»
menggunakan soket «target_agent»
menggunakan soket «scrape_target»
berlaku untuk
berlaku untuk
berlaku untuk
mengimplementasikan
mengimplementasikan