Repository navigation
v0.1.0 — 23 organs, one heartbeat
Agent-Body v0.1.0 — 23 organs, one heartbeat
The first public release of an organ-based plugin layer for DeepSeek Harness.
Plugins here are not a tool list — they are organs in a living system, with senses, reflexes and a shared circulation.
What's in the box
23 organs implementing one contract (sense → reflex → effect → homeostasis), across eight body systems:
- Nervous / endocrine — the organism kernel itself:
body_mapbody_statusbody_heartbody_nervebody_callbody_reflexbody_healbody_skillbody_lawbody_pulsebody_cellbody_organbody_tokens - Memory —
cortex_sleepcortex_memorycortex_homeo: sleep phases, deterministic consolidation, long-term memory cards, alert de-noising - Metabolic — zero-residence context:
zr_compactzr_recallzr_ledgerzr_fast - Sensory —
dsh-web-crawl(8 crawler capabilities, three-stage cascade),dsh-browser-ultimate,dsh-file-chips - Motor —
dsh-office-docs,dsh-social-card - Executive —
dsh-pentagi,dsh-quant,dsh-academic-research,dsh-agent-teams-pro, plus more - Immune —
dsh-sec-workbench,dsh-vuln-remediator,dsh-reverse-skill,dsh-war-bridge
The five life mechanisms
- Heartbeat — a 1s base clock with a variable interval (3× faster on critical alerts, 2× slower when idle). Every beat packages the current operator directives, proprioception and homeostasis warnings into a blood packet broadcast as
organism/heartbeat. Any organ can hook the circulation in one line, and can return blood viaorganism/venous. - Nerve impulses — your command is converted into an impulse before the model reasons about it, deterministically innervating the organs that should handle it. Success reinforces the route (Hebbian), failure decays it; dispatch order reorders itself from experience.
- Reflex arcs — deterministic logic that fires in milliseconds with zero model calls. The same tool × cause failing three times makes the system author its own reflex.
- Closed-loop self-healing — failure → deterministic attribution → prescription → re-check. Wounds close only when that organ next succeeds. Measured on the development install: 21 wounds healed, 100% heal rate, 0 chronic.
- Sleep and consolidation — 2 min idle → light sleep, 5 min → deep sleep, then a consolidation pass every 2 minutes with zero model calls, mining pitfalls, playbooks, hotspots and unresolved threads into long-term memory that decays and archives rather than vanishing.
Token economy
Tool schemas are shown on demand, gated by what the turn is about: 49 of 256 capabilities exposed per request — 10,173 tokens instead of 55,154, roughly 82% saved, with everything else one body_call away.
Organs are optional, the architecture is not
Six kernels depend on no single organ: nerve bus, heart pump, directive layer, reflex engine, dissector, impulse conduction. Unplug a plugin and the body keeps running — it detects the offline organ and compensates with the closest overlapping one.
Getting started
git clone https://github.com/deepseek-ai/deepseek-harness.git # the host
git clone https://github.com/1420079678-ctrl/agent-body.git # the organs
$env:DSH_CHECKOUT = "C:\path\to\deepseek-harness"
pwsh -File agent-body\workspace\plugins\dsh-organism\scripts\replay-organism.ps1Replay scripts are idempotent — re-run them after a host upgrade.
Verify it yourself
Deterministic, offline, no network or model required:
| Organ | Command | Result |
|---|---|---|
dsh-organism |
node scripts/smoke-test.mjs |
79 passed / 0 failed |
dsh-cortex |
node scripts/smoke-test.mjs |
58 passed / 0 failed |
dsh-war-bridge |
node scripts/smoke-test.mjs |
24 assertions |
dsh-web-crawl |
python scripts/selftest_local.py |
46 assertions |
dsh-zero-residence |
node scripts/smoke-test.mjs |
pointer + recall integrity |
Notes
- MIT for this project's own work; ported plugins keep their upstream terms.
- Windows-first (Windows 11 · Node 24 · PowerShell 7). Linux/macOS paths exist but are less exercised.
- Local-first: the harness binds loopback. Do not expose it to a network.
Full architecture: ARCHITECTURE.md