Gpt Live Demo logo

Gpt Live Demo

Organization
Starchild-ai-agent
gpt-live-demo

GPT-Live 语音接线员 Demo — WebRTC 语音通话前端 + Express 中继服务器 + Starchild brain 桥接。 五工具路由(ask_starchild / check_task / cancel_task / list_tasks / memory_lookup)、 跨重启持久化(data/tasks.json + voice-history.json)与会话记忆回灌。 用户通过浏览器直接与 GPT-Live 语音模型对话,对话内容由 Starchild agent 作为后端大脑处理。 适用于:语音 Demo 演示、GPT-Live 中继服务开发、实时语音 + AI 代理集成原型。

Overview

PublisherStarchild-ai-agent
Repositoryofficial-skills
Skill namegpt-live-demo
Stars
32
Forks
13
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Starchild-ai-agent on GitHub. Read the source before you install it.

Installation

Install the Gpt Live Demo AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Starchild-ai-agent/official-skills/tree/main/gpt-live-demo
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Starchild-ai-agent/official-skills.git /tmp/official-skills
mkdir -p .claude/skills
cp -r /tmp/official-skills/gpt-live-demo .claude/skills/gpt-live-demo
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gpt Live Demo in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gpt Live Demo on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gpt Live Demo is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

GPT-Live 语音接线员 Demo

概述

本 skill 封装了一个完整的 GPT-Live WebRTC 语音 Demo:

  • Web 前端(scripts/index.html):纯浏览器 WebRTC 客户端,含通话控制、事件日志、按秒计费显示
  • 中继服务器(scripts/server.mjs):Node.js/Express,负责向 OpenAI 申请 WebRTC session 并将委派任务转发给 Starchild agent
  • 部署说明(references/deploy.md):本地开发与生产部署步骤

架构

浏览器 (index.html)
  │  WebRTC audio
  │  DataChannel (oai-events)
  ▼
OpenAI GPT-Live (gpt-live-1)
  │  client delegation 事件
  ▼
server.mjs (/api/agent)
  │  HTTP SSE stream
  ▼
Starchild agent (localhost:8000/chat/stream)
  │  结果回传
  ▼
GPT-Live → 语音播报

快速开始

1. 安装依赖

bash
cd <skill-dir>/scripts
npm install

2. 准备 OpenAI API key(安装者必读)

本 skill 依赖 OpenAI 的 gpt-live-1 实时语音模型,没有内置 key,也无法代申请。 使用前请自行准备:

  1. 前往 https://platform.openai.com/api-keys 创建一个 API key(sk-... 格式);
  2. 该账号需已开通 gpt-live-1(Realtime Beta)访问权限——在 OpenAI 后台申请,未开通会报 403/model_not_found;
  3. 将 key 写入环境变量(或 skill 目录下的 .env):
bash
export OPENAI_API_KEY=sk-...   # 必填,需 gpt-live-1 访问权限
export PORT=3000               # 可选,默认 3000

没有有效 key 时,/api/session 会返回 401,浏览器端表现为"无法开始通话"。

3. 启动服务

bash
node server.mjs

然后打开 http://localhost:3000 即可开始语音通话。

前提:Starchild agent 的 /chat/stream 端点须在 localhost:8000 运行; 若你在 Starchild 平台内使用本 skill,该端点已自动可用。

文件说明

文件说明
scripts/server.mjsExpress 中继服务器(WebRTC session 代理 + brain 桥接)
scripts/index.html浏览器前端(WebRTC + UI + 计费器)
scripts/package.jsonNode.js 依赖(express, openai)
references/deploy.md本地开发与生产部署完整指南
references/api-notes.mdGPT-Live delegation API 要点与已知坑

使用本 skill 的场景

当用户要求:

  • 启动 / 演示 GPT-Live 语音 Demo
  • 修改语音接线员的系统提示(LIVE_PROMPT)
  • 调整 delegation 策略(何时委派给 Starchild brain)
  • 部署到生产(Fly.io / Docker / Nginx 反代)

→ 读 references/deploy.md 获取完整步骤。

注意事项

  • 使用前必须自备 OPENAI_API_KEY(见「快速开始 · 第 2 步」),需开通 gpt-live-1(Realtime Beta)访问权限,否则无法建立通话
  • 服务默认仅监听本地,生产部署前须在 /api/session 加鉴权
  • 任务与语音历史持久化到 data/ 目录(防抖落盘),重启不丢失;完成后任务保留 1 小时
  • 计费估算基于 $0.05/分钟(gpt-live-1 语音),后端 brain 调用费用另计

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gpt Live Demo AI skill do?

GPT-Live 语音接线员 Demo — WebRTC 语音通话前端 + Express 中继服务器 + Starchild brain 桥接。 五工具路由(ask_starchild / check_task / cancel_task / list_tasks / memory_lookup)、 跨重启持久化(data/tasks.json + voice-history.json)与会话记忆回灌。 用户通过浏览器直接与 GPT-Live 语音模型对话,对话内容由 Starchild agent 作为后端大脑处理。 适用于:语音 Demo 演示、GPT-Live 中继服务开发、实时语音 + AI 代理集成原型。

Why use Gpt Live Demo on TypingMind?

Because you install it once and use it with any model. Gpt Live Demo is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gpt Live Demo in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Starchild-ai-agent/official-skills/tree/main/gpt-live-demo. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gpt Live Demo?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gpt Live Demo?

As many as you like. As long as a model supports skills, you can use Gpt Live Demo with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gpt Live Demo AI skill free?

It is published on GitHub by Starchild-ai-agent. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇