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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    GetStreamがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Dashboard」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboard
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでDashboardを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDashboardを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Dashboardは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

TypingMindでDashboardを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Dashboardはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDashboardをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboardを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Dashboardを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Dashboardで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDashboardを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Dashboard」は無料ですか?

はい。GetStreamがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇