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 उसे भर सकता है, और उसकी 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» का उपयोग करता है
लागू होता है
लागू होता है
लागू होता है
इम्प्लीमेंट करता है
इम्प्लीमेंट करता है