Migrate To Accelerate 标志

Migrate To Accelerate

组织热门
GetStream
migrate-to-accelerate

Migrate a voice or text agent from LiveKit, Retell, Vapi, Pipecat, Decagon, Sierra AI, GPT Live, or Deepgram Agents to a Stream accelerate agent. Use when the user asks to migrate, port, convert, or rewrite an agent from one of those platforms, or hands over a competitor agent's code, dashboard export, or API object.

概览

发布者GetStream
代码仓库Agents
技能名称migrate-to-accelerate
星标数
8.2K
复刻数
709
附带文件
8
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 GetStream 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Migrate To Accelerate AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/GetStream/Agents/tree/main/.claude/skills/migrate-to-accelerate
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
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/migrate-to-accelerate .claude/skills/migrate-to-accelerate
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Migrate To Accelerate,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Migrate To Accelerate。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Migrate To Accelerate 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Migrate to accelerate

An accelerate agent is a folder, not a vendor object:

<name>/
  agent.yaml        # name, description, mode, stt/tts/sts/llm/voice, greeting, channels
  instructions.md   # the system prompt
  guardrail.md      # optional: what the agent will and will not answer
  knowledge/        # documents and urls.yaml the agent looks things up in
  skills/<name>.md  # work handed to a slower, smarter model (frontmatter: description, deadline)
  simulations/      # optional: test conversations
  <name>.py         # Agent(config="<name>", llm=stream.Accelerated(config="<name>", ...))

agent.yaml refuses unknown keys. Only send keys from the mapping tables here and in the reference for the source platform; never carry a competitor field name across hoping it works. The folder name, the directory, and name: in agent.yaml are the same name, and it must be unique in the app: syncing a second agent under an existing name overwrites that config.

First: read the right reference

Read exactly one of these before mapping anything, plus this file:

Then set up with the CLI skill at https://getstream.io/SKILL-agents.md (getstream init, getstream agents init --template voice|text, getstream docs for anything not covered here). For Stream Chat, Video, or Moderation work the migration touches, use the Stream skills at https://www.skills.sh/getstream/agent-skills/stream.

Workflow

  1. Inventory the source. Get the whole agent, not the screenshot: code repo, dashboard export, or API object; every tool definition; knowledge sources; phone/SIP setup; webhooks; dynamic variables; guardrails and eval suites. Ask for what is missing. Vendor ids, secrets, and webhook signing keys are never copied into the output.
  2. Map config with the shared table below and the platform reference. Write the folder: getstream agents init <name> --template voice (or text) creates agents/<name>/ (with editor schemas alongside in agents/), then replace its files. Sync and test accept a path to that folder; if you move it, drop the $schema comment line from agent.yaml.
  3. Map tools (rules below), knowledge (documents into knowledge/, URL sources into knowledge/urls.yaml), and integrations (catalog and custom connectors under connectors: in agent.yaml; phone numbers and messaging lines under channels:).
  4. Sync and test. getstream agents sync <path> then echo "Where is order NW-1001?" | getstream agents test <name> (stdin lines in a non-interactive terminal). Fix what the sync refuses; do not silence it by dropping fields silently. A session that refuses to start with unknown target means a model field names something unserved: go back to ListRoutes, do not retry spellings. agents test runs the stored config only: Python register_function tools in the entry point do not execute there. Validate tools by running the Python agent joined to a router (STREAM_ACCELERATION_URL), or report them as untested code. A tool that must work without Python running needs a connector (catalog or custom) instead.
  5. Report. End with three lists: migrated, approximated (and how it differs), and no equivalent. A silent drop is a failed migration.

Shared mapping

Source conceptAccelerate target
Agent name, descriptionagent.yaml name, description
System prompt / instructions / general promptinstructions.md
Who speaks first, first messagegreeting: {text: ..., mode: exact} in agent.yaml; model-varied greeting is mode: variation
Cascaded pipeline: STT modelstt: <provider>/<model> in agent.yaml, or Accelerated(stt=...)
Cascaded pipeline: LLMllm: <provider>/<model> or a capability shortcut such as llm-fast; or Accelerated(model=...)
Cascaded pipeline: TTS model + voicetts: <provider>/<model>, voice: <provider voice id>
Speech-to-speech / realtime modelsts: <provider>/<model> (empty sts: "" takes the backend default); no separate STT/TTS
Function tool that runs your code@agent.llm.register_function(description=...) in the Python entry point; the backend calls it back mid-conversation
Hosted/built-in tool (end call, transfer)No tool needed for end/hangup; transfers and other platform actions go in instructions.md or a skill. See the platform reference
Procedure / workflow / AOP / state machineA skills/<name>.md (description + instructions for the subagent), referenced from instructions.md
Tool that is an HTTPS call to a third-party systemA catalog connector (connectors: in agent.yaml, app or per-user connection); a plain webhook-style tool becomes a Python function that makes the call
MCP server given by URL (inline in the source config)A custom connector plus a binding, never mcp_servers: or plugins: (the SDKs refuse both). See "MCP servers by URL" below
Knowledge base documentsFiles in knowledge/
Knowledge base from URLsknowledge/urls.yaml entries {url, title?, description?, refresh_hours?}
Retrieval tuning (top_k, chunk size)No equivalent knob. Drop it and say so in the report
Knowledge in the prompt (inline docs)Stays in instructions.md only if short; long text moves to knowledge/
Guardrails / content policyguardrail.md
Phone number, SIP trunkThe router's phone setup (acceleration/cmd/phone; Twilio, Telnyx and other vendors in acceleration/internal/phone), not agent.yaml
WhatsApp / SMS / iMessage line`channels: {whatsapp: {number: "+1..."}, identity: phone
Memory / dynamic variables / user dataSession memory is keyed by user; per-user values arrive as session tags, not prompt variables. Map {{var}} prompt slots to instructions that ask or to tool results
Post-call analysis, summaries, webhooks on call endTranscripts and episode cards on the router; a custom post-call webhook has no direct equivalent. Report it
Evals / simulationssimulations/*.yaml, run with getstream agents simulate <name>
Multilingual language settingAccelerated(language=...); keyterms lists map to keyterms: in agent.yaml
Sandbox / code executionsandbox: daytona plus sandbox_options:; skills run code there

MCP servers by URL

A source's inline MCP server (LiveKit MCPServerHTTP, Vapi mcp, a GPT Live backend MCP tool) is a custom connector. The app's backend creates it once, with POST /v1/agents/connectors: id starts with custom_, endpoint is the server's public https URL, schemes says how a connection signs in. The folder gets a binding in agent.yaml: {name, connector: custom_<id>, connection: <label>}, and the source's tool filter becomes tools:. Pick the shape by how the server signs in:

The source serverschemesConnection
Public, no credential["none"]The app's, saved with empty credentials. Keep connection in the binding: without it the binding gets no tools
An API key in a header["api_key"]The app's, with the key and the header name (never Authorization). The key is never copied into the folder
Each user signs in (OAuth)["oauth2_code"] with client: {registration: ["cimd", "dcr"]}Each user's own: leave connection out. The server must publish its OAuth protected resource metadata

Creating the connector and its connection takes the app's server token, so unless you were given one, report each server under "migrated" with the one-time setup call the app's backend still has to make. Never write the source's header values or tokens into the output. The calls in full are in Custom connectors.

Provider/model spellings: a competitor's model name is almost never a valid target. openai/gpt-4.1-mini, deepgram/nova-3, and cartesia/sonic-3 all fail session start with routing: unknown target. Before writing any stt/tts/sts/llm value, list what the deployment serves:

bash
getstream agents api ListRoutes --modality llm   # also stt, tts, sts

Each route (llm-fast, stt-fast, tts-fast, sts-fast, sts-duplex, ...) lists its candidate provider/model spellings. Use either a capability route or an exact candidate spelling (for example openai/gpt-live-1 under sts-duplex), and report every substitution ("gpt-4.1-mini is not served; llm-fast used"). When nothing fits, leave the field out (backend default) rather than inventing a name, but only on a new config: a field left out of a re-sync keeps the value already stored under that name, so migrating over an existing config means setting every model field explicitly. Even that has limits: sts: "" clears speech-to-speech, but voice: "" and keyterms: [] do not clear a stored voice or keyterms. When migrating over an existing name, check getstream agents api ListAgentConfigs after syncing and say in the report what the stored config actually ended up with.

Tool rules

  • A Python function keeps its name, parameter names, and return text. JSON-schema tools (Vapi, Deepgram, Retell custom tools) become typed Python functions with the same schema in the type hints and docstring.
  • Server-side tools with a URL: if the system has a connector, prefer it; otherwise the Python function performs the HTTPS call. The URL is configuration, not a secret; any credential it needed stays out of the folder and is named in the report as setup work.
  • Client-side tools (browser/device actions) have no equivalent; the agent runs server-side. Report them.
  • Handoffs between agents (LiveKit handoffs, Vapi squads, Retell transfer agents) become skills, not agents: one folder, one skills/<name>.md per specialist.
  • Irreversible-action flags (defer_until_eot, strict/confirm modes) become an instruction to confirm before acting, plus a note in the report.

Rules

  • Never copy competitor code, keys, dashboard JSON verbatim, or signing secrets into the migrated folder. Re-express behaviour in the target shapes above.
  • If a feature has no equivalent, say so in the report. Inventing an agent.yaml key, a model name, or a vendor API is a failed migration.
  • Prefer the backend default over a guessed model. Prefer a skill over prompt stuffing for anything procedural. Prefer a connector over a hand-rolled HTTPS tool when the system is in the catalog.
  • Keep the greeting, instructions tone, and tool behaviour identical unless the user asked to change them. Migration is not a rewrite.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Migrate To Accelerate AI 技能有什么作用?

Migrate a voice or text agent from LiveKit, Retell, Vapi, Pipecat, Decagon, Sierra AI, GPT Live, or Deepgram Agents to a Stream accelerate agent. Use when the user asks to migrate, port, convert, or rewrite an agent from one of those platforms, or hands over a competitor agent's code, dashboard export, or API object.

为什么在 TypingMind 中使用 Migrate To Accelerate?

因为您只需安装一次,就能搭配任何模型使用。Migrate To Accelerate 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Migrate To Accelerate?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/GetStream/Agents/tree/main/.claude/skills/migrate-to-accelerate。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Migrate To Accelerate?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Migrate To Accelerate 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Migrate To Accelerate 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Migrate To Accelerate AI 技能免费吗?

是的。GetStream 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇