شعار Dashboard

Dashboard

مؤسسةشائع
GetStream
dashboard

How to work on the Volt dashboard (/Users/thierry/workspace/volt-dashboard), Stream's admin SPA, and its Agents section that talks to the acceleration router. Read before touching Volt or wiring a router change into it.

نظرة عامة

الناشرGetStream
المستودعAgents
اسم المهارةdashboard
النجوم
8.2K
التفريعات
709
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها GetStream على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Dashboard في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboard
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GetStream/Agents.git /tmp/Agents
mkdir -p .claude/skills
cp -r /tmp/Agents/.claude/skills/dashboard .claude/skills/dashboard
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Dashboard في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Dashboard تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Dashboard بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Volt dashboard

Checkout: /Users/thierry/workspace/volt-dashboard. Not the same as this repo's dashboard/ (Next.js); Volt is Stream's production dashboard and the Agents section is being added to it.

Volt has its own rules. Read its CLAUDE.md and .claude/rules/*.md before editing, and use its .claude/skills/ (new-route, new-api-hook, gen-api, ...) for routine work.

Stack

React 19, TypeScript 7, Vite, TanStack Router (file-based) + React Query, Tailwind 4, Radix/shadcn. Bun only, never npm. Tests: Vitest + Testing Library (MSW for HTTP), Playwright for e2e.

The shell defaults to Node 19, which breaks bun lint, bun dev and Vitest. Prefix every Volt command with nvm use 24 && (or export PATH=~/.nvm/versions/node/v24.11.1/bin:$PATH).

Run it against a local router

Full guide: docs/local-agents/README.md. Short version:

bash
# in Vision-Agents
export VOLT_CHECKOUT=/Users/thierry/workspace/volt-dashboard
docker compose -f compose.yaml -f "$VOLT_CHECKOUT/docs/local-agents/compose.volt.yaml" up -d --build router
# in volt-dashboard (.env.local: HOST=local.getstream.io PORT=3011 AGENTS_ROUTER_URL=http://localhost:8080)
bun dev

Open https://local.getstream.io:3011/organization/<orgId>/<appId>/agents/ (not localhost, or CORS/auth break). The override puts the router in proxy mode, so it reads the app and organization the dev proxy sets, with Volt's CORS origin. Rebuild the router after pulling router changes.

Set ROUTER_DEV_KEK (single-quoted) and ROUTER_PUBLIC_URL=http://localhost:8080 in the repo-root .env, which compose hands the router. Without the KEK no plugin client secret can be saved, and changing it leaves the stored ones unreadable. Local dev keeps the plain KEK in ROUTER_DEV_KEK: Cloud KMS (ROUTER_AUTH_KMS_KEY) is for hosted deployments, and the router refuses the two together. An .env that still sets ROUTER_AUTH_KEK is refused: rename it.

How Agents is wired

  • Dev-only. src/api/agents.ts throws outside import.meta.env.DEV.
  • Browser calls /__agents/<orgId>/<appId>/v1/...; scripts/agents-dev-proxy.ts (mounted in vite.config.ts) strips credentials, sets X-Customer-Id = app id, and forwards to AGENTS_ROUTER_URL. Configs under examples in the router won't show up; they live under the numeric app id.
  • Requests go through agentRequest / agentQueryOptions (src/queries/agents/). Don't call fetch directly.
  • Types: src/types/agents.ts re-exports from src/gen/agents/ (generated). Never edit src/gen/.
  • Routes: src/routes/organization/$orgId/$appId/agents/. Components: src/components/custom/agents/. Helpers: src/utils/agents/. Nav: src/constants/sidebars.tsx.

Picking a model

Any field that picks an STT, TTS, LLM or other model uses the model picker, never a <select> or free-text input. It renders a summary card: the label above, the current choice in bold ("gemini / gemini-3.8-flash"), a muted detail line ("Pinned model.", "The router's default.", "Now provider / model" for a route), and a Change button. Change opens a dialog with two sections: Routers (route cards from /v1/<modality>/routes, default first) and Models (a table of pinnable models from /v1/<modality>/providers). The columns follow the modality: LLM shows popularity, intelligence index, tokens per second and input and output price per million tokens, TTS Elo and characters per second, STT WER and latency, search the search index and cost per task (Artificial Analysis numbers from benchmark, refreshed with the refresh_model_stats skill), anything else the live popularity, latency, error rate, languages and speed.

  • In a react-hook-form form: AgentModelSelect (agent-model-select.tsx) with name, label, modality, purpose (dialog description), defaultRoute, optional hint. It stores the bare target (a route id or provider/model); empty means the default route.
  • When one choice spans several modalities (e.g. a text LLM or a realtime speech-to-speech model) or doesn't map to a single form field: AgentModelPicker (agent-model-picker.tsx) with sources and a modality:target value. See agent-conversation-model.tsx.

Ordering a list of choices

AgentModelChain (agent-model-chain.tsx) is the reordering primitive: a form field holding string[], shown as one AgentModelPicker per entry in the order they are tried. The first row takes the label, the rest are "Fallback 1", "Fallback 2". Each row has a drag grip and, for keyboard and tests, Move up / Move down / Remove buttons (aria-labels read "Move Fallback 1 up"). Add fallback appends defaultRoute.

Volt has no drag-and-drop dependency and this uses native HTML5 drag on the grip: the drag image is set to the grip's row so the whole row follows the cursor, and dragover on a neighbour reorders as it goes, so the list on screen is what dropping would leave behind. Follow the same shape — grip plus move buttons — anywhere else rows are user-ordered, rather than reaching for dnd-kit.

Use it for anything routing tries in order. A modality block's providers is a priority list that wins over target, so write one entry back as target and several as providers, clearing whichever is unused. Every type reads a list. LLM falls back down it per failed response; search retries a failed search elsewhere only when a list is written, a single target reports the failure instead.

Changing the router API

api/agents/openapi.yaml is a copy of acceleration/api/openapi.yaml. After a spec change: copy it over, run bun run gen:agents, and fix type errors. Route changes: bun routes:generate.

Before calling it done

bash
bun lint                 # must pass
bun run build
bun run vitest run tests/unit/agents

UI copy is sentence case; sidebar group titles are one word and labels don't repeat them (see Volt's CLAUDE.md). Only use <Icon> from components/ui/icon.tsx in sidebars.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Dashboard؟

How to work on the Volt dashboard (/Users/thierry/workspace/volt-dashboard), Stream's admin SPA, and its Agents section that talks to the acceleration router. Read before touching Volt or wiring a router change into it.

لماذا تستخدم Dashboard على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Dashboard عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Dashboard في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboard. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Dashboard؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Dashboard؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Dashboard معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Dashboard مجانية؟

نعم. نشرها GetStream على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇