Introduction¶
The design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When developing intelligent agents with digital human capabilities, developers usually need to separately integrate ASR (Automatic Speech Recognition), TTS (Text-to-Speech), Avatar media rendering, and the dialogue pipeline. Finally, they also need to complete role registration and scene setup at the UI level. This process involves coordination among multiple components and has a relatively high development cost.
Live Talk is a plugin for DSH that provides a complete digital human clip solution. It combines the core of conversation character visualization, speech/video Provider interfaces, and the plugin shell. Developers can use it directly to drive a virtual character that naturally talks, turns around, and smiles in response to the conversation.
Plugin Overview¶
Live Talk is maintained by developer eddiehuang227-source and follows the MIT License. It allows users to transform any photo into a responsive virtual girl. The plugin performs well in low-latency, high-detail scenarios and provides a complete capability chain from ASR to TTS and then to Avatar rendering.
Core Features¶
Live Talk adopts a three-layer architecture, where each layer handles different responsibilities:
- DSH plugin shell: Located in
package.json,cordis.patch.yml,src/index.js, andsrc/client.js. It is responsible for managing the DSH bundle/client manifest, Host route registration, rendering the browserconversation.viewtab (character stage, opening video, and emotion clip synchronization), and keyless TTS preview. - Conversation character visualization core: Located in
src/core/characters.js,character-registry.js,dialogue-pipeline.js,emotion.js, andconversation-bridge.js. It is responsible for managing the character manifest, character registry, the provider-agnostic semantic pipeline (sentence splitting, emotion/action, TTS sanitization), and bridging DSH session events. - Speech/video provider seam: Located in
src/core/seams.jsandprovider-registry.js. It provides three swappable capability registries:asr,tts, andavatar-media.
The plugin integrates the character manifest and dialogue pipeline, and supports keyless browser TTS and browser speech capabilities. Character preview images and opening videos are shipped in the assets/ directory. Emotion clips come from an external character pack. If missing, the UI automatically falls back to a static avatar.
Installation and Activation¶
Before installation, make sure DeepSeek Harness is installed and the runtime environment requirements are met. The following are the specific installation and activation steps:
- Install the plugin
Use the plugin management command to add local or path-basedlive-talkto the avatar configuration file:
dsh plugin --profile avatar add /path/to/live-talk
- Verify the configuration
Run the command to check whetherlive-talkwas loaded successfully in the configuration file:
dsh --profile avatar --dump-config
- Start the Web UI
Start the DSH web interface:
dsh --profile avatar web
- Select the conversation view
In the top view tabs of the conversation in the Web UI, select the Live Talk tab to enter the character conversation interface.
Development and Testing¶
If you need to perform secondary development or verification testing on this plugin, follow these steps:
- Build the code
Generate thelib/directory from thesrc/directory:
npm run build
- Run unit tests
Run all unit tests (including the build step):
npm test
- Run integration tests
Run the full integration tests. Note: This step requires theDSH_REPOenvironment variable to point to the deepseek-harness source directory, andDSH_HOMEmust also be set:
npm run test:integration
Notes¶
When deploying and using Live Talk, keep the following facts in mind:
- Environment requirements: Node.js version >= 22.13.0 is required.
- Verified version: The current plugin has been verified with DSH version
0.1.0-rc.5. - Installation methods:
- When installing directly from GitHub, you need to pin a specific commit and allow the
preparebuild script. - For versions published via npm or tarball, the
lib/directory is prebuilt, so no build permissions are required.
- When installing directly from GitHub, you need to pin a specific commit and allow the
- Credential management: All third-party Provider credentials are passed through DSH’s
ctx.credentialsand should not appear in patch files or configuration files. - Integration testing:
test:integrationrequires a local DSH source environment.