تمت ترجمة هذه الصفحة آليًا. اقرأ الأصل الإنجليزي.

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_typestring (CodeAgent | ToolCallingAgent)CodeAgentنعم—
max_stepsinteger6نعم—

تحجيم المشغِّل

تحجيم البنية التحتية الذي يضبطه المشغِّل لكل بيئة.

الاسمالنوعالافتراضيمطلوبالوصف
imagestring—لاContainer image running the smolagents application code.

عقد الإخراج

قيم يطرحها هذا Component للمستهلكين عبر طوبولوجيا uses.

لم تُعلن أي قيم إخراج.

مقابس uses

مقابس التبعية التي يتصل عبرها هذا Component. يجب أن يلبّي هدف كل اتصال موصَّل عبر مقبس محدِّد التسميات الخاص به، ويمكن أن يحمل كل اتصال إرفاقًا في الخانات التي يعلنها المقبس. والخانة المطلوبة مستحقة على كل اتصال يوصله Aggregate أو Release عبر المقبس.

model

المحدِّد
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
Inject
env, file

الخانات التي يجوز لكل اتصال عبر هذا المقبس ملؤها

الخانةالمحدِّدمطلوبInjectحساسالوصف
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 OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

خانات الإرفاق

نقاط ربط مسمّاة يُرفق عندها Feature بهذا Component. يقيّد محدِّد الخانة أي Feature يجوز له ملأها، وتسمّي قائمة inject الخاصة بها كيف يجوز تسليم مواد Feature. يجب ربط الخانة المطلوبة في كل مثيل، بإرفاق على المثيل أو على نطاق أعلى منه، وتُعلن الخانة الحساسة بأنها تتعامل مع مواد سرية. ويجوز أيضًا أن يُرفق Feature تحت اسم لا تعلنه أي خانة.

لم تُعلن أي خانات إرفاق.

قائمة سماح self-inject

env, file

العلاقات

حواف مصنَّفة بالنوع من الكيانات المطروحة الأخرى وإليها. المرجع الذي لا هدف مطروحًا له يُعرض بوصفه حافة مكسورة لا رابطًا.

يستخدم

يستخدمه

مرجع مفاهيم Component

كتالوج Aggrega — فهرس مفتوح يضم Components و Features و Recipes و Plugins التي تصيّرها.

بُني بنظام التصميم المشترك الخاص بمشروع Aggrega.

الخصوصية