rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
dev-bravelo/dsh-open-bots
DeepSeek Harness plugin: lasting bots with their own name, photo, persona, memory, voice and model, configured by talking to them, each with a hidden brain that follows the conversation and prepares what will help.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dev-bravelo/dsh-open-bots
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Lasting bots for DeepSeek Harness. Each bot outlives the conversation and has its own name, photo, persona, memory, voice and model. You configure it by talking to it ("from now on your name is Ana", "be more direct", "use this photo"), and it runs on any model in your Harness catalog, open-weight models included. Behind each bot, a hidden brain follows the conversation and prepares what will help: it looks things up before you ask, and, when the bot plays a guiding role (therapist, teacher, coach), it leaves the bot techniques of that craft to apply in its own words.
Status: 0.1.0, the first public release. Tested on DeepSeek Harness 0.2.1-rc.3, Desktop and
dsh web, on Windows. macOS is expected to work (no native modules, no shell commands) but was not tested. See Compatibility and CHANGELOG.md.Language: the interface and the text the bots receive (persona rules, the brain's instructions, tool messages) are in Brazilian Portuguese for now, and the bots are tuned for conversations in Portuguese. The code, docs and comments are in English.
A leader bot from the first start. It, and any other bot, creates new bots when you ask.
Identity by conversation. Ask a bot to change its name, title, persona, method, photo, model or voice, and it changes on the spot. Every change can be undone.
Memory in two layers:
Each bot has its own memory, plus a memory about you that every bot reads.
A light, live panel. A Bots panel in the sidebar shows each bot's photo, name and live state, with its settings (photo, model, permission, voice, leader, delete). "New conversation" is always in sight on each bot and at the top of its conversation. The panel opens at once with the last saved list and updates by itself.
Permissions under your control. A bot follows the access you chose for new conversations, and you can narrow it. To go past it, the bot asks for your "yes" on screen.
Bots talking to bots. A bot asks another one and gets the answer in the same turn.
Errors explained by the bot. When a model fails (quota, missing key, unknown model), the bot explains it to you in plain words in its next answer, and the panel shows a discreet mark.
Each bot has a brain: a hidden subagent that follows the conversation without ever talking to the person. What it finds reaches the bot as notes on a board that the bot reads before each answer, and the bot uses them as things it already knows.
The design is in docs/brain.md.
Voice works with the speech service you already use. The plugin recognizes the service from the key: ElevenLabs, OpenAI, Groq, Mistral or Deepgram, or your own server in the OpenAI format.
The design is in docs/voice-mode.md.
>=0.2.1-rc.3 <0.3.0-0 (Desktop or dsh web).For people and for AI agents. Each step says what you should see; stop at the first step that does not match.
AI agents: never ask for a key in the chat, and never write one to a file yourself. Keys are the user's step (Credentials).
Get the package. Download dsh-open-bots-<version>.tgz from the
latest release, or build it from the
source (needs Node.js 20.6 or later and Git):
git clone https://github.com/dev-bravelo/dsh-open-bots.git
cd dsh-open-bots
npm pack
You should have a file dsh-open-bots-<version>.tgz. There are no dependencies to install.
Install it in your Harness profile. Either:
plugin_manager → install_bundle, with the absolute path of the .tgz); ordsh plugin --profile desktop add "file:<absolute path>/dsh-open-bots-<version>.tgz"
The Desktop app uses the profile desktop.
You should see dsh-open-bots listed as installed and enabled.
incompatible-version: your Harness is outside the supported
range.Open the Bots panel in the sidebar. You should see the leader bot. Open its conversation and say hello; ask it to create another bot ("create a bot called Nina, a cheerful English teacher").
Optional: voice. Turn on Voice input in the Harness's Plugins panel. In the dsh-open-bots voice section (in the details of Voice input, or on the plugin's page), paste the key of your speech service. The plugin recognizes the service, tests the key there, stores it in the Harness credential vault and starts using it.
To remove it: uninstall the bundle with the plugin manager. Your bots' files stay in the data folder until you delete them (Where your data lives).
Everything works without configuration. Optional settings go in your profile's patch file,
<Harness home>/profiles/<profile>/cordis.patch.yml (a YAML list; add the entry to it):
- id: open-bots
name: dsh-open-bots
config:
voice:
language: en # voice language when the bot's voice has none (default: the dictation language)
default: Rachel # voice of ordinary (non-bot) conversations for Listen
cast: # voices given to new bots, in order (names or ids)
- Rachel
- Adam
keyterms: # words live listening should recognize better (up to 50)
- Nina
delivery: # emotion tags in voice mode (ElevenLabs)
intensity: natural # sparse, natural or rich; `off: true` turns them off
extra: # your own tags, by name
shy: "[timid, hesitant]"
cerebro: # a model for every bot's brain (default: each bot's own model)
provider: <provider id>
model: <model id>
<Harness home> is ~/.dsh, or $DSH_HOME when set. A bot's own brain model, chosen by talking
to it, wins over cerebro. home sets another data folder (default <Harness home>/open-bots).
Keys are referenced by name and read from the Harness credential vault when needed: never stored in the plugin's files, never sent to the interface, never asked for in a chat.
| Service | Key name |
|---|---|
| ElevenLabs | ELEVENLABS_API_KEY |
| OpenAI | OPENAI_API_KEY |
| Groq | GROQ_API_KEY |
| Mistral | MISTRAL_API_KEY |
| Deepgram | DEEPGRAM_API_KEY |
Paste a key in the dsh-open-bots voice section, or put it in the vault yourself, in
<Harness home>/.credentials.yaml under refs:, or as an environment variable. For live voice,
the interface gets single-use tokens that the host part creates from the key (valid for 15
minutes, one per connection); the key itself never reaches the interface.
Everything stays in <Harness home>/open-bots/ on the machine where the Harness runs:
| Path | What |
|---|---|
bots/<id>/persona.md |
the bot's persona |
bots/<id>/registro/ |
the bot's facts, one file per topic |
usuario/persona.md, usuario/registro/ |
what every bot knows about you |
bots/<id>/historico.jsonl |
identity changes, so they can be undone |
bots/<id>/fotos/ |
the bot's photo, with earlier ones kept for undo |
The brain's board lives in memory, for the current conversation only. The conversations themselves are ordinary Harness sessions. What leaves your machine: the requests to the model provider of each bot and of its brain, the brain's web searches through the Harness, and audio and text to the voice service you configured.
>=0.2.1-rc.3 <0.3.0-0 (engines.dsh). Tested on 0.2.1-rc.3, Desktop
and dsh web, on Windows.wait, ACP)
would wait for it until it is renewed (up to 20 minutes). Bot conversations are meant for the
Desktop and dsh web.| Command | What it does |
|---|---|
npm run hooks |
Points git to .githooks/ (run once per clone) |
npm run test:harness |
Installs the published Harness in dev/harness/<version> (outside Git), once, and runs the tests against it |
npm test |
Unit tests, against the Harness installed by npm run test:harness |
npm run check |
Secret and personal-data scan, then the tests |
node scripts/ensaio.mjs |
Starts a test Harness (dsh web) in a separate folder with this package installed, without touching your own profile. Copy .env.example to .env for the model route and keys |
Contributor and AI-agent rules are in AGENTS.md; the architecture is in docs/architecture.md.
DS Bot (Apache-2.0) was a reference for building lasting bots on the Harness. This project is independent.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm、deepseek、deepseek-harness。