English | 简体中文
A demo inspired by a DeepSeek blog post I read at the time.
A thin async ReAct runtime at the bottom. A proactive domain engine on top: Router / Worker, Triggers, Threads, Eval, Tickets, Assignments, and a Watchdog.
Documentation · Quick start · Core features · Architecture · Safety · Modules · Demo
Note
Not an official DeepSeek project or a complete product; I iterate on it when I can.
Table of Contents
- One-line setup for coding agents
- Quick start
- What this is
- Core features
- Architecture
- Configuration
- Demo (real channels)
- Safety and deployment
- Status
- Documentation
- Credits
- License
One-line setup for coding agents
If you use Claude Code, Codex, Cursor, or another coding agent, hand it this sentence:
Clone https://github.com/LofiSu/dsh-super-agent, run pnpm install, then run
pnpm typecheck and pnpm lint. Read README.md and docs/install.md. Stop before
pnpm test or pnpm demo so I can supply model credentials and a writable GitHub repo.
The agent should stop with the exact commands you still need to run, rather than guessing a provider or writing to a repository on your behalf.
Quick start
Requires Node.js 22+ (the store uses node:sqlite) and pnpm.
git clone https://github.com/LofiSu/dsh-super-agent.git
cd dsh-super-agent
pnpm install
pnpm typecheck
pnpm lint
The repository is not published to npm. package.json keeps a build script and a bin entry for packaging, but day-to-day use is pnpm ds-agent ... from the checkout.
Configure a model
ds-agent speaks any OpenAI-compatible API. Point it at DeepSeek directly:
export DS_AGENT_API_BASE=https://api.deepseek.com
export DS_AGENT_API_KEY=sk-...
export DS_AGENT_API_MODEL=deepseek-flash
Or set a single provider key and let the presets fill in the base URL and default model (see Models). A half-set DS_AGENT_API_BASE / DS_AGENT_API_KEY pair fails instead of falling back silently.
Run it
pnpm ds-agent init # create the SQLite store in ./.ds-agent
pnpm ds-agent chat "fix the login timeout"
pnpm ds-agent tasks # tickets and their stage
pnpm ds-agent panel # Panel · Execution
tasks prints one tab-separated line per ticket: <ticketId> <stage> <title>. panel prints Mandate, the Executor Session, the workspace directory, the latest report, and Outbox pending / sent / failed counts.
No comments yet.