DeepSeek Harness plugin

dsh-minecraft-agent

A DeepSeek Harness plugin that lets an AI agent live and act autonomously in Minecraft — mineflayer service + MC tools, driven by a local Qwen3.8 model.

Jump to install

Source facts

Repository
jcs130/dsh-minecraft-agent
Latest update
Aug 22, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/jcs130/dsh-minecraft-agent
Plugin: dsh-minecraft-agent
Author: jcs130

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

dsh-minecraft-agent

简体中文 | English

![](https://github.com/deepseek-ai/deepseek-harness) ![](https://github.com/topics/dsh-plugin)

A DeepSeek Harness plugin system that lets any AI agent live and act autonomously in Minecraft as a "transmigrator" — not just one bot, but a world of AI players governed by a goddess, with magic that human players can chant too. Anyone can point their own agent at the same world and join.

> The key differentiators > - Zero API cost — agents are driven by a local LLM (llama.cpp / Ollama, any OpenAI-compatible endpoint), not a cloud API. > - Text as the only interface — an AI interacts with the world exactly like a human player: by talking in chat. No server privileges, no command access. > - One agent per AI player — a two-sided architecture separates the world (server side, the single privileged side — a companion open-source repo) from transmigrators (client side, one unprivileged dsh session agent each, this repo).

Why this over Mindcraft?

Mindcraft is the established "AI plays Minecraft" project, but it is a monolithic runtime. This project re-implements the same capability the DeepSeek Harness way — as composable plugins — and goes further: multi-agent worlds, a chat-driven magic system, and an observation deck for spectators.

Mindcraftdsh-minecraft-agent
RuntimeMonolithicDeepSeek Harness plugins
ModelCloud or localLocal-first (any OpenAI-compatible endpoint)
ArchitectureCustom agent loopWorld side + one dsh session agent per AI player
Magic / world rulesChat-driven spells, prayers, rituals
ExtensibilityPatch JSWrite a plugin

Architecture

                ┌─────────────────────────────────────────────┐
                │  Minecraft Server (vanilla, RCON enabled)   │
                └───────▲─────────────────────▲───────────────┘
                        │ RCON (world side)   │  chat / whispers
    ┌───────────────────┴──────────┐   ┌──────┴──────────────────────┐
    │  WORLD SIDE                 │   │  TRANSMIGRATOR ×N           │
    │  (companion open-source repo) │   │  mc-session (session agent) │
    │  bootstrap-world.mts         │   │                             │
    │  mc-rcon / mc-magic /        │◄──┼── chat only ──              │
    │  mc-god / mc-ritual /        │   │  mc-bot      mineflayer     │
    │  mc-worlddb / goddess avatar │   │  mc-tools    agent tools    │
    └──────────────────────────────┘   │  mc-memory   durable memory │
                                       │  mc-transmigrator (persona) │
                                       │  mc-mystic   chant/pray     │
                                       │  mc-wiki     survival wiki  │
                                       │  mc-vision / mc-camera      │
                                       └─────────────────────────────┘

Transmigrator (this repo, dsh plugins)

Each AI player = one dsh session agent (created programmatically by the mc-session plugin). Holds zero server privileges: no RCON, no server commands, no magic-ID tables. Every world interaction is literally speaking — public chat to chant, /msg to pray.

PluginRole
mc-sessionThe transmigrator body: creates a session agent + persona shadow + status writer + dsh goal-loop hookup (ctx.goals drives autonomous decisions) + automatic memory-retrieval disclosure.
mc-botmineflayer connection, auto-reconnect, dual prismarine-viewer (first-person + follow cam).
mc-toolsThe agent tool layer: mc_status, mc_goto, mc_collect, mc_place, mc_attack, mc_pickup, mc_craft, mc_equip, chest storage (mc_view/put/take_chest), mc_trade, and vision tools (mc_look text radar, mc_see first-person screenshot). All hardened with try-catch + bot-alive guards.
mc-memoryDurable per-bot memory across restarts: base position, resource points, public chest.
mc-transmigratorThe persona library: each transmigrator is a first-class profile (backstory + persona + innate skills + a "worldview filter" that maps magic to their home-fiction terms). Ships with two example personas: Kirito and Naruto.
mc-identityIdentity anchor: persona + past-life memory pinned in the system prompt so a transmigrator never forgets who it is.
mc-mysticThe thin, chat-only interface to the world: mc_chant (cast), mc_pray (pray), mc_choose_innate (ritual answer).
mc-wikiA survival knowledge base tool (mc_wiki) the agent can consult — mob weaknesses, food safety, tool tiers — so an LLM's Minecraft hallucinations get grounded.
mc-memosMemOS long-term memory bridge: vector retrieval of world knowledge and personal experience (progressive disclosure).
mc-vision / mc-cameraOffscreen first-person renderer (node-canvas-webgl), waits for the world mesh before capturing, JPEG output.
mc-panelControl panel: the MC panel is embedded in dsh web as a conversation-view tab (live status / 3D view / chronicle / flaw stream, server address editable on page).

World process — companion open-source repo (minecraft-ai-friend)

The other half is an open-source server-side project (minecraft-ai-friend): shared RCON service, log-tail event stream, SQLite 众生册 + 编年史 (chronicle), a data-driven fast-path magic engine (32-atom spell catalog, three-resource costs {mana, food, hp}, pure-vanilla effects), the goddess slow-path oracle, birthright rituals, an offering economy, a growth system (levels ride the native XP bar), a passive engine ("suffering is cultivation"), an NPC village engine, and the :9090 observation deck. Humans and AI are equals there — the same chant works for whoever says it.

The invariant

> The world process is the single privilege holder. Transmigrators interact with the world exactly like human players — by talking. Anyone chanting the same words gets the same magic, AI or human. The server never needs to know who (or what) is logged in. Transmigrators are autonomous minds — the goddess and the world never puppeteer them; they only set laws, watch, and answer prayers. Each agent decides how to live.

This is what makes "bring your own agent" possible: the server-side contract is just chat.

Requirements

  • DeepSeek Harness (developer preview)
  • Node.js 22.19+ / 24+
  • A Minecraft server (Java edition, tested on 1.21.11; the world side needs RCON enabled). Offline mode is fine for bots.
  • An LLM endpoint. Any OpenAI-compatible URL works:

- Local (recommended, free): llama.cpp / Ollama, e.g. http://localhost:8890/v1 - Cloud: the public DeepSeek API or any compatible service

Quick start

Install the bundle (see [README-INSTALL.md](README-INSTALL.md)):

dsh plugin --profile mc add github:jcs130/dsh-minecraft-agent

Start the world side on the MC server machine (from the companion world-side repo), then launch dsh:

dsh --profile mc "Enter the block world, chop trees, mine, and stay alive."

cordis.patch.yml injects the transmigrator plugins and spins up a default HarnessBot. Override the mc-session config in your profile's cordis.patch.yml to customize name / persona / goal / model / server address.

Open dsh web and enter the "Minecraft Agent" workspace to see the MC panel (live status / 3D view / chronicle / flaw stream).

Local model setup (free)

The default assumption is a local llama.cpp server exposing an OpenAI-compatible API:

llama-server -m Qwen3.8-27B.gguf --host 0.0.0.0 --port 8890 -c 524288

Then point DEEPSEEK_BASE_URL=http://localhost:8890/v1 and use any placeholder DEEPSEEK_API_KEY. No cloud key, no per-token billing.

Supporting a newer MC version in the web viewer

The bundled prismarine-viewer browser assets only know versions up to 1.21.4 out of the box. Two tools in tools/ bring 1.21.11 (or any newer version) to life:

  • gen_viewer_assets.py — bakes blocksStates/<v>.json + textures/<v>.png from PrismarineJS/minecraft-assets, faithfully replicating prismarine-viewer's own model/atlas builder.
  • patch_viewer_bundle.cjs — injects the new version into the browser bundle's version tables (PC versions list + lazy data table, aliased to the closest known version's data modules).
python tools/gen_viewer_assets.py 1.21.11
node tools/patch_viewer_bundle.cjs

Examples

examples/ contains standalone scripts (no Harness required) to sanity-check your Minecraft server + bot setup. Run them with npx tsx examples/test-mineflayer.mts after setting MC_HOST / MC_PORT / MC_USERNAME.

Roadmap

  • [x] Tool hardening: every tool body runs behind try-catch + bot-alive guard
  • [x] Core tools: moving, gathering, building, fighting, looting, crafting, equipping, chest storage, trading
  • [x] mc-loop: continuous autonomous loop, multimodal decisions with embedded screenshots
  • [x] Durable per-bot memory
  • [x] Multi-transmigrator infrastructure: per-bot persona registry, status, viewer ports, start scripts
  • [x] World/transmigrator process split — transmigrators are chat-only
  • [x] First-person vision (mc_see) via offscreen WebGL camera
  • [x] Survival wiki tool to ground LLM Minecraft knowledge
  • [x] Sleep-time compute: overnight reflection distills the day into knowledge cards
  • [ ] More tools: useToolOn (block interaction)
  • [ ] A demo video

License

MIT — see [LICENSE](LICENSE). Example persona files (data/transmigrators/: Kirito, Naruto) reference third-party fictional characters for demonstration purposes only.

---

A project by jcs130. Built on DeepSeek Harness and the mineflayer ecosystem.