Skip to main content

Installation

Requirements​

  • DeepSeek Harness 0.2.x
  • Node.js 22 or later
  • a DSH profile with the web interface
  • at least one language-model route capable of running the game master and child agents

rclone is optional. Install it only if you want to sync the roleplay library between devices; ordinary local play does not call it.

A dedicated DSH profile is recommended. The bundle adds its own roleplay preset, sidebar experience, settings and session tabs. Keeping them in a dedicated profile avoids changing an unrelated DSH workspace.

Install the bundle into the profile in which roleplay should be available:

dsh plugin --profile <profile> add @dsh-agentic-roleplay/all

The bundle installs the roleplay core and @dsh-agentic-roleplay/state. Restart the profile after installation, then open Role Play in the DSH sidebar.

The bundle is a convenience, not a requirement. @dsh-agentic-roleplay/core ships the same configuration layer, with the state plugin, the roleplay and helper presets, the three authoring assistants and the session doctor, so this works just as well:

dsh plugin --profile <profile> add @dsh-agentic-roleplay/core

@dsh-agentic-roleplay/state alone adds only the story database and its tools, for other plugins that build on it.

Microphone input is optional. Install and enable Voice Input from DSH's own plugin list if you want it. The roleplay bundle does not install DSH speech packages, so DSH can keep them on the same release as the runtime. You can use its SenseVoice provider, an API speech-to-text provider, or both.

To use only the API recognizer, hide SenseVoice. The Voice Input bundle adds a local SenseVoice provider and makes it the default, although it downloads its model only when you ask it to prepare. Add this to the profile's cordis.patch.yml, with openai or localai being the provider you selected for speech-to-text in the AI providers settings:

- id: speech-to-text
name: '@deepseek-ai/dsh-experimental-speech-to-text'
config:
defaultProvider: openai
- id: speech-to-text-sensevoice
disabled: true

With the SenseVoice row disabled, only the API recognizer is offered and there is no model to prepare. The recognizer sends each recording as a whole to the configured service, so a Whisper model without a live pipeline works.

Keep only one of these layers selected: @dsh-agentic-roleplay/all or @dsh-agentic-roleplay/core. They add the same plugin rows, and the core layer already includes the state plugin, so a @dsh-agentic-roleplay/state layer beside either of them is redundant too. With two selected the profile holds a row twice, and DSH refuses to save Settings → Role Play ("this deployment did not accept these values"). If you manage plugins with a plugin manager, deselect the extra layers and keep the packages installed, then restart. The Role Play settings page shows a warning, and the log an error, when it finds this.

First-run checklist​

  1. Set the storage root under Settings → Role Play.
  2. Configure at least one language-model route. The project-maintained provider integration is described in AI services.
  3. Open Role Play → Worlds and add the sample world or create your own.
  4. Select the play button on a world card, choose a playable character, and start the session.

The bundle does not include model credentials or download models. Optional media and retrieval features appear only when their corresponding services are available.

Storage root​

Open Settings → Role Play and choose an absolute roleplay root. ~/dsh-roleplay is the default; a leading ~ is supported. Worlds, avatars, session databases and media live below this root. Ordinary plugin configuration remains in the DSH profile.

Changing the root switches the catalogue after the new value is valid. An invalid edit is rejected and the previous root remains active.

Treat this folder as your roleplay library. Backing it up preserves authored worlds, reusable avatars, session databases, generated media, and session settings. Do not point two simultaneously running profiles at the same root.

Updating​

Update the bundle (or the core package, if that is what you installed) and restart the profile. Nothing needs to be removed first: the rows are the same, and a profile that already has the all bundle keeps working. A profile that installed core alone and wrote its own preset rows keeps them, because a row in the profile's own patch replaces the shipped row of the same id. Before a DSH minor-version upgrade, check the project release notes: the child-agent implementation uses a small set of version-sensitive DSH composition APIs.

Moving from 0.9.0​

Version 0.9.0 included DSH's Voice Input components. Version 0.9.1 removes them from this bundle so they can follow DSH's release independently. With the profile stopped, install 0.9.1 over the existing package:

dsh plugin --profile <profile> add @dsh-agentic-roleplay/all@0.9.1

Start the profile again. If you use microphone input, open the plugin manager and enable DSH's Voice Input plugin. Do not grant a version exemption to old speech packages. Your roleplay root is separate from the installed packages, so this update does not remove worlds or sessions. Back up the profile configuration before the update if you have edited its patch files by hand.

Continue with AI services.