Logo Dashboard

Dashboard

Tổ chứcPhổ biến
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.

Tổng quan

Nhà phát hànhGetStream
Kho mãAgents
Tên kỹ năngdashboard
Sao
8.2K
Bản fork
709
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được GetStream công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Dashboard trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboard
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Dashboard trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Dashboard ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Dashboard với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Dashboard làm được gì?

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.

Vì sao nên dùng Dashboard trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Dashboard là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Dashboard trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/GetStream/Agents/tree/main/.claude/skills/dashboard. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Dashboard?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Dashboard với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Dashboard với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Dashboard có miễn phí không?

Có. Kỹ năng này được GetStream phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇