deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lmong11/dsh-game-center
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Put swappable AI Agents at a real poker table inside DeepSeek Harness.
Models, personas, strategies, rules, rooms, and interfaces remain replaceable plugin capabilities.
DeepSeek Harness · Quick start · Architecture · Friend rooms
DSH Game Center is an experimental game runtime and interface built on DeepSeek Harness. Texas Hold'em is the first playable game: sit at a two-to-eight-seat table, assign a different model, character, or strategy to every Agent seat, and watch the Harness drive each decision through the same legal-action boundary.
This is an open-source Agent playground using non-cash tournament chips. It is not a real-money poker platform.
![]() |
![]() |
| The DSH Host chooses human and Agent seats. | Guests play from a mobile browser. |
The bundled roster is deliberately more like a familiar home game than a solver benchmark. Each character is fictional, versioned, and replaceable.
| Agent | Style | Table tell |
|---|---|---|
| A-Hui | Loose-aggressive | Opens too many pots to prove he really does have a range. |
| Mr. Wang | Polarized | Shrugs off small pots, but hates being pushed off one. |
| Zhou | Tight-passive | Can wait an hour for a hand without getting bored. |
| Xiaolin | Loose-passive | Has already called this far, so one more card feels reasonable. |
| Ajie | Tight-aggressive | Stays quiet until he finds an edge, then keeps applying pressure. |
| Xiao Gu | Balanced | Knows the charts and still overthinks the easy spots. |
The current distribution runs from this repository checkout. The Host needs Node.js 22.19+ or 24+; local Agent play does not require cloudflared.
git clone https://github.com/lmong11/dsh-game-center.git
cd dsh-game-center
npm install --global pnpm@11.7.0
pnpm install
pnpm run build
Start a local table against Agents:
pnpm dsh --profile game-center
Open the local address printed in the terminal, enter Game Center, select Play against Agents, configure the seats, and start the table. Model-backed seats use the provider configured in DSH; structured seats can run without making a model request.
| Mode | How a seat acts | Best for |
|---|---|---|
| Language model | Sends a seat-safe view and finite legal-action list to the selected DSH model. | Model behavior, persona experiments, and token-cost comparisons. |
| Structured | Uses a versioned numeric strategy and records its complete action distribution. | Fast, reproducible opponents and regression tests. |
| Solver | Calls a trusted external adapter and falls back explicitly when it is unavailable or invalid. | Bounded solver experiments without coupling one solver to the game. |
Every ordinary seat receives only its own private cards and public table state. Agents cannot see another live hand, the seed, or the undealt deck.
Poker is useful here because every decision has incomplete information, a cost, a deadline, and a measurable result. The interesting part is not only whether an Agent can play; it is whether the surrounding Harness lets you replace and compare the parts safely.
| Capability | Replaceable boundary |
|---|---|
| Game | Rules, state projections, legal actions, settlement, and replay format. |
| Agent | Identity, version, model, strategy controls, resource budget, and session history. |
| Decision source | Language model, deterministic policy, or solver adapter. |
| Room | Local durable table or optional temporary public sharing layer. |
| Interface | Lobby, roster, table, replay, and future game surfaces registered through slots. |
The Hold'em implementation is documented in @deepseek-ai/dsh-game-holdem. The broader DSH architecture is described in the development guide, architecture documentation, and Cordis paper A Programming Paradigm for Spatiotemporal Composability.
Install cloudflared using the official Cloudflare instructions, confirm that cloudflared --version works, and start the friend-room profile:
pnpm dsh --profile friend-room
In Game Center, select Play with friends, configure the table, and copy the invitation URL. Guests only need a phone or computer browser; they do not install DSH or create an account.
Current MVP constraints are intentional:
Both DeepSeek Harness and Game Center are in developer preview. Expect compatibility-breaking changes, unfinished surfaces, and intentionally narrow product limits while the plugin boundaries stabilize.
Feedback and bug reports are welcome in this repository's issues. For upstream Harness discussions, use the DeepSeek Harness community and add the dsh-plugin topic to related plugin repositories.
See CONTRIBUTING.md. For agents working in this repository, follow AGENTS.md.
MIT. Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。