Skip to content

v0.1.0 — 23 organs, one heartbeat

Choose a tag to compare

@1420079678-ctrl 1420079678-ctrl released this 11 Sep 13:04
· 53 commits to main since this release

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_map body_status body_heart body_nerve body_call body_reflex body_heal body_skill body_law body_pulse body_cell body_organ body_tokens
  • Memory — cortex_sleep cortex_memory cortex_homeo: sleep phases, deterministic consolidation, long-term memory cards, alert de-noising
  • Metabolic — zero-residence context: zr_compact zr_recall zr_ledger zr_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

  1. 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 via organism/venous.
  2. 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.
  3. 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.
  4. 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.
  5. 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.ps1

Replay 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