Install
openclaw plugins install openclaw-hawkins@latestopenclaw-hawkins — durable orchestration (VINES) + shared agent memory (VECNA) for OpenClaw. Ships as an OpenClaw plugin and as a standalone CLI.
openclaw plugins install openclaw-hawkins@latest
Everything is Connected.
A multi-agent orchestration pattern — demonstrated on OpenClaw — where one conversational orchestrator (the Nexus) coordinates six isolated specialist agents (the Tendrils), with durable state that survives restarts (VINES) and decay-aware shared memory (VECNA). The brand vocabulary is Stranger Things–coloured; the protocol is grounded engineering.
🌐 Project site: hawkins.parijatmukherjee.com — the canonical landing page for openclaw-hawkins.
⭐ Find this useful? Star the repo — it surfaces the pattern to other OpenClaw operators and tells me whether to keep iterating. 🩸
You'll get value from this repo if any of these sound like you:
If you're prototyping a one-shot Q&A bot, this is overkill. Reach for it when you need durability, specialisation, and operator oversight — not just "an agent that calls tools."
┌─────────────────────────────────────────┐
│ 🎼 The Nexus (orchestrator:main) │
│ - Talks to the operator │
│ - Decides who handles what │
│ - Drives The Pulse end-to-end │
│ - Synthesises + reports │
└─────────────────┬───────────────────────┘
│ openclaw agent --agent <id> --message "..."
┌─────────────────────────┼─────────────────────────┐
│ │ │ │ │
┌────▼───┐ ┌────▼────┐ ┌───▼─────┐ ┌──▼────┐ ┌───▼────┐
│🔧system│ │⌨️ code │ │🔍research│ │📊 data│ │ … six │
│ agent │ │ agent │ │ agent │ │ agent │ │tendrils│
└────────┘ └─────────┘ └─────────┘ └───────┘ └────────┘
│
┌─────────────────▼──────────────────┐
│ 🧠 The Hive — durable memory │
│ • vines_ledger (orchestration │
│ state, per request) │
│ • vecna_hive (shared knowledge) │
└────────────────────────────────────┘
Three layers, full vocabulary in docs/branding.md:
system-agent, code-agent, research-agent, data-agent, comm-agent, vision-agent.vecna/spec.md).🔁 Already on a 1.x install? 2.x has two breaking config changes (the verification-skipping
insecureTLS mode was removed, and a password inMARIADB_URLis now rejected). ReadUPGRADING.mdbefore upgrading.
⚡ Two commands if you already have OpenClaw ≥ 2026.5.0 and a reachable MariaDB. This is the fastest path and the one you should use unless you specifically want to work from source.
# 1. Install from ClawHub (npm fallback works too)
openclaw plugins install clawhub:openclaw-hawkins \
|| openclaw plugins install npm:openclaw-hawkins
# 2. Provision schemas + the 6 specialist agents in one shot
openclaw hawkins setup
✨ The plugin registers the 6 vines_* tools with the OpenClaw runtime by default. The 6 vecna_* tools are off by default and enforced — they are not registered at all unless you set vecna.enabled=true (see below), so the shared-memory capability simply doesn't exist for any agent until you opt in. Granted tools become available to agents per your OpenClaw config — restrict to the intended Hawkins agents (Nexus + the 6 Tendrils) where possible and review tool calls for sensitive mutations. The hawkins setup command prints an exhaustive post-install banner listing every tool, verification commands, and the remaining personalisation steps, so a human operator or an AI installer agent can finish the install without consulting any other doc.
Configure the plugin via openclaw config:
openclaw config set plugins.entries.openclaw-hawkins.config.mariadb.url "mariadb://your-host:3306/hawkins"
openclaw config set plugins.entries.openclaw-hawkins.config.mariadb.user "hawkins"
openclaw config set plugins.entries.openclaw-hawkins.config.mariadb.ssl "preferred" # TLS with cert verification
# VECNA shared memory is OFF by default. Opt in only if you want it (it reads/writes a store outside this host):
openclaw config set plugins.entries.openclaw-hawkins.config.vecna.enabled true
# Password MUST come from the gateway env — the plugin schema refuses to store it in openclaw.json.
# Do NOT put a password in the URL above: it is stored in plaintext config (the plugin rejects one).
# For a DB that presents a self-signed cert, use a CA-trusted cert or the SSH tunnel below — there is
# no verification-disabling TLS mode.
🔒 Secrets policy: MARIADB_PASSWORD and LINEAR_API_KEY are read from the gateway's environment only — never from openclaw.json. The plugin's config schema deliberately rejects them. Wire them via a 0600 systemd EnvironmentFile (the post-install banner shows the exact recipe), or feed them from 1Password using the SKILL.md recipe.
🌐 Behind a firewall / SSH-only DB? The plugin has no awareness of the network path — it just connects to whatever mariadb.url resolves to. If your MariaDB sits behind a bastion or has 3306 closed publicly, bring a tunnel up as its own systemd unit and point the plugin at the loopback endpoint:
# 1. Run the tunnel as a long-lived service (autossh restarts it on drop)
autossh -M 0 -N -L 3306:127.0.0.1:3306 user@bastion
# 2. Plugin config — host is the tunnel endpoint, not the remote
openclaw config set plugins.entries.openclaw-hawkins.config.mariadb.url "mariadb://127.0.0.1:3306/hawkins"
openclaw config set plugins.entries.openclaw-hawkins.config.mariadb.ssl "disabled"
# The SSH tunnel already encrypts and authenticates the link, so DB-level TLS to the
# loopback endpoint is redundant — use `disabled` here. (Don't reach for a mode that
# skips cert verification: none exists. If you want defence-in-depth TLS through the
# tunnel, install a cert valid for 127.0.0.1 and use `preferred`.)
Order the tunnel unit Before= your gateway unit so cron jobs that wrap their work in vines_*/vecna_* find the pool ready on first boot.
⚡ This repo ships with a
SKILL.md— an OpenClaw skill manifest that any capable agent (your existing OpenClaw orchestrator, or any AI assistant with shell access on the host) can use to install and configure this pattern end to end.
🪄 Step 1. Drop the skill into your workspace:
mkdir -p ~/.openclaw/workspace/skills/openclaw-hawkins-installer
curl -fsSL https://raw.githubusercontent.com/parijatmukherjee/openclaw-hawkins/v2.1.2/SKILL.md \
> ~/.openclaw/workspace/skills/openclaw-hawkins-installer/SKILL.md
💬 Step 2. Ask your agent — explicitly and by name: "Install openclaw-hawkins on this host." This is a high-impact install (persistent files, a user systemd service, a gateway restart, and a startup-activated plugin), so the agent should confirm the host changes with you before it starts.
✨ The skill walks the agent through prerequisite checks, repo clone, agent creation, workspace overlay, optional Linear wiring, and end-to-end smoke tests. It asks the personalisation questions (Nexus name, vibe, host facts) before making any changes.
⏱️ The from-source path takes ~5 minutes — useful when working on a feature branch or air-gapped host:
# 1️⃣ Clone — pin to the latest release tag so the source tree is immutable
git clone --branch v2.1.2 --depth 1 https://github.com/parijatmukherjee/openclaw-hawkins.git ~/openclaw-hawkins
cd ~/openclaw-hawkins
# 2️⃣ Create the 6 specialist agents
./scripts/setup.sh
# 3️⃣ Personalise each specialist's identity
for id in system-agent code-agent research-agent data-agent comm-agent vision-agent; do
cp agents/$id/IDENTITY.md.template ~/.openclaw/agents/$id/workspace/IDENTITY.md
done
# 4️⃣ Install the Nexus's workspace files
cp orchestrator/AGENTS.md ~/.openclaw/workspace/AGENTS.md
cp orchestrator/TOOLS.md.template ~/.openclaw/workspace/TOOLS.md # then edit
cp orchestrator/IDENTITY.md.template ~/.openclaw/workspace/IDENTITY.md # then edit
# 5️⃣ Restart and smoke-test
openclaw gateway restart
openclaw agent --agent system-agent --message "Introduce yourself in one line." --json --timeout 30
📖 Full step-by-step (Linear + VINES) lives in INSTALL.md.
The minimum (Nexus + Tendrils, no Hive):
openclaw --version and openclaw gateway status.ollama/kimi-k2.6:cloud (text) and ollama/kimi-k2.5:cloud (vision). Substitute OpenAI / Groq / any Anthropic-compatible provider via env vars to setup.sh.Optional add-ons:
$LINEAR_API_KEY by default; if you'd rather keep the key in 1Password, the op CLI is a supported fallback (see orchestrator/LINEAR.md). Neither op nor a 1Password account is required.MARIADB_SSL=preferred|required; for a self-signed cloud DB, use a CA-trusted cert or reach it over an SSH tunnel) if you want VINES, the durable-state layer.When the Nexus decides a request isn't trivial, it enters The Pulse. Five named phases:
operator request
↓
🩸 Sensitivity Check → does this need the full protocol? (vines triage)
↓ (yes)
🩸 Anchoring → parent Linear ticket + VINES row (linear-ticket create / vines start)
↓
🩸 Deep Seeking → optional research-agent dispatch
↓
🩸 The Connection → loop dispatch to each Tendril (openclaw agent --agent ...)
↓
🩸 Consolidation → close tickets + final reply (vines set-state ... success)
Detailed worked examples + log strings: docs/pulse-protocol.md. Spec contract: vines/spec.md.
A typical conversation:
🗣️ operator: "Install Docker and confirm the daemon is running."
↓
🎼 Nexus: "Anchoring as ENG-12. Connecting to the Web…"
↓ (dispatches in background; remains responsive in chat)
↓
🔧 system-agent: returns a structured report
↓
🎼 Nexus: "Consolidating. Docker 26.1 installed, daemon active. (ENG-12)"
Six specialists, each a true top-level OpenClaw agent (openclaw agents add <id>) — not a subagent — with its own ~/.openclaw/agents/<id>/workspace/, memory dir, and scoped persona in AGENTS.md.
| Agent (functional id) | Brand alias | Scope | Default model | |
|---|---|---|---|---|
| 🔧 | system-agent | sys-tendril | apt, systemd, ufw, cron, disk, logs, host config | ollama/kimi-k2.6:cloud |
| ⌨️ | code-agent | code-tendril | software dev, debugging, testing, git | ollama/kimi-k2.6:cloud |
| 🔍 | research-agent | search-tendril | web research, comparisons, sourced reports | ollama/kimi-k2.6:cloud |
| 📊 | data-agent | data-tendril | CSV/JSON/Excel parsing, analysis, charts | ollama/kimi-k2.6:cloud |
| ✉️ | comm-agent | comm-tendril | email/chat drafts, calendar (always drafts — never auto-sends) | ollama/kimi-k2.6:cloud |
| 👁️ | vision-agent | vision-tendril | image analysis, OCR, screenshots | ollama/kimi-k2.5:cloud |
The functional ids stay stable for OpenClaw. Tendril aliases are used in branded prose; they don't replace the ids in code, on disk, or in
openclaw agent --agent ...invocations.
A single OpenClaw agent that "does everything" hits two walls fast:
✨ This pattern solves both:
This isn't a framework — it's a pattern, with a reference implementation on OpenClaw. The closest neighbours:
| If you want… | Reach for | Why not openclaw-hawkins? |
|---|---|---|
| Python-first, graph-based agent workflows | LangGraph | Different runtime; LangGraph is in-process, Hawkins is OS-level. |
| Role-playing collaborative agents w/ rich prompting | CrewAI | CrewAI optimises for prompt orchestration; we optimise for state. |
| Conversational multi-agent debates | AutoGen | AutoGen is conversation-as-protocol; we're dispatch-as-protocol. |
| Self-hosted "single agent that calls tools" | Plain Claude / GPT / Ollama + a toolbox | Hits context-bloat wall fast; no durability if it crashes. |
Pick openclaw-hawkins when you need durability across restarts, isolated specialist contexts on the same host, and a paper-trail for what the swarm actually did. Skip it when you're prototyping, the work fits one prompt, or you don't run OpenClaw.
Linear gives the operator a live view of what the Nexus is doing. Wire it up and every non-trivial Pulse creates:
🤫 Trivial inline-handled requests (jokes, weather, ≤ 30 s lookups) don't get tickets, so the board doesn't fill with noise.
Setup: orchestrator/LINEAR.md. CLI: tools/linear-ticket (Node ≥ 20, built-ins only — no npm install needed to run it).
The Nexus + Tendrils pattern above is stateless: a crash mid-Pulse loses the plan. VINES is the durability layer — a Node/TypeScript library + CLI that adds persistent orchestration state in MariaDB and Linear-backed recovery to the same pattern. Canonical spec: vines/spec.md.
🧭 Mental model. VINES owns state — one durable row per request that records "where am I in this orchestration, who's the active Tendril, what's the Linear parent ticket". If the host reboots mid-Pulse, VINES is what lets the Nexus pick up exactly where it left off instead of asking the operator to start over.
What you get:
orchestration_ledger row per request; recovery scans for unfinished runs on startup and cross-references Linear for the resume point.linearParentId; vines recover walks the parent's children to figure out the last completed step + next pending one, and distinguishes transient Linear API errors from truly orphaned work so a flaky network never destroys live state.vines status and vines recover give a live view of the swarm without opening Linear.Install (after MariaDB is available — local or cloud):
make install # npm ci / npm install
make build # compile TypeScript → dist/
export MARIADB_URL=mariadb://h:3306/hawkins
export MARIADB_USER=hawkins
export MARIADB_PASSWORD=...
export LINEAR_API_KEY=lin_api_...
make bootstrap-vines-db # apply vines/schema.sql
npx vines status # confirm the ledger is reachable
Full env-var matrix and the worked end-to-end agent integration sequence: INSTALL.md §9. Library + CLI API: src/.
Where VINES owns state, VECNA owns memory. It is the Hive's cross-orchestration knowledge layer — a Node/TypeScript service + client + CLI that gives every Tendril a shared, searchable, decay-aware memory of what the swarm has learned across every request it has ever handled. Canonical spec: vecna/spec.md.
🧬 Mental model. When
system-agentdiscovers something useful at 3 PM ("settinginnodb_buffer_pool_sizeto 2G fixed our latency on Ubuntu 24.04") it callsvecna connect. Whendata-agenthits a similar problem at 9 PM, it callsvecna recall mariadb-tuningand gets back the fragment, already ranked by importance, ticket-affinity, and recency. The Nexus pre-fetches relevant memory at the start of each Pulse and injects it into the next prompt. The swarm stops forgetting.
What you get:
GET /v1/recall/:topic returns non-deprecated fragments ranked by ticket-affinity → importance (1–5) → recency, with a decay penalty for stale (> 6 months) low-importance entries. Pick format=json for programmatic use or format=context to receive a pre-summarised string ready to inject into the next prompt.vecna evolve <id> — VECNA atomically deprecates the old fragment and inserts the corrected one on the same topic, so the recall pipeline self-corrects over time.deduplicated: true flag.vecna search "<keyword>" falls back to MATCH(content) AGAINST (?) across every non-deprecated fragment.importance = 5 ("vital") — enforced at query time in the ORDER BY, no background job needed.HiveStore directly in any Node process for in-process recall, or run the standalone vecna serve HTTP Nexus (Express, optional Bearer auth, default 127.0.0.1:8765) so non-Node Tendrils can talk to the Hive over the network.Install (after MariaDB is available):
make bootstrap-vecna-db # apply vecna/schema.sql
export VECNA_AUTH_TOKEN=$(openssl rand -hex 32) # optional but recommended
make vecna-serve # start the Hive Nexus on 127.0.0.1:8765
# in another shell:
vecna connect --topic mariadb-tuning \
--content "innodb_buffer_pool_size=2G fixed our latency" \
--source system-agent --importance 5
vecna recall mariadb-tuning # see the fragment come back
Full env-var matrix (port, auth token, dedup window) + the hardened systemd user unit for production: INSTALL.md §10. HTTP API contract: vecna/spec.md §5. Library + CLI: src/hive/.
media-agent).openclaw agents add media-agent --non-interactive --model <model> --workspace ~/.openclaw/agents/media-agent/workspaceAGENTS.md (start from any specialist's as a template).IDENTITY.md.~/.openclaw/workspace/AGENTS.md (your Nexus's workspace doc).openclaw-hawkins/
├── 🤖 SKILL.md # AI agent installer manifest
├── 📖 README.md # You are here
├── 📘 INSTALL.md # Detailed human install guide
├── 🧪 CHANGELOG.md # Notable changes
├── 🤝 CONTRIBUTING.md # How to contribute
├── 🛡️ SECURITY.md # Vulnerability disclosure
├── ⚖️ LICENSE # MIT
├── 🧰 Makefile # Operator + developer entrypoints
├── 📦 package.json # npm package metadata, scripts, deps
├── 🩸 docs/ # Brand + workflow vocabulary
│ ├── branding.md # Naming + tone + colors (canonical)
│ ├── pulse-protocol.md # Phase-by-phase workflow reference
│ └── colors.json # Design tokens
├── 🧠 vines/ # VINES subsystem — canonical contract
│ ├── spec.md # The specification (source of truth)
│ └── schema.sql # `orchestration_ledger` table
├── 🧱 src/ # VINES TypeScript implementation
│ ├── persistence.ts # MariaDB ledger CRUD
│ ├── linear-client.ts # Linear GraphQL client
│ ├── dispatcher.ts # openclaw agent --json wrapper
│ ├── orchestrator.ts # §3 protocol engine + §3.1 Sensitivity Check
│ ├── recovery.ts # §4.2 cross-reference + resume
│ └── cli.ts # `vines` CLI
├── 🧪 tests/ # vitest suites; coverage gated in CI
├── 🎼 orchestrator/ # Goes into your Nexus's workspace
│ ├── AGENTS.md # Dispatch protocol + architecture
│ ├── TOOLS.md.template # Tool surface (template)
│ ├── IDENTITY.md.template # Nexus identity (template)
│ └── LINEAR.md # Optional ticket oversight protocol
├── 🎭 agents/ # One subdir per Tendril
│ ├── system-agent/ 🔧
│ ├── code-agent/ ⌨️
│ ├── research-agent/ 🔍
│ ├── data-agent/ 📊
│ ├── comm-agent/ ✉️
│ └── vision-agent/ 👁️
├── 🧩 skills/ # Per-Tendril skill manifests
├── 🛠️ tools/
│ ├── linear-ticket # Linear CLI (Node, built-ins only)
│ └── linear.json.template # Linear config template
└── 🚀 scripts/
├── setup.sh # Tendril bootstrap
└── bootstrap-vines-db.sh # Apply vines/schema.sql via mariadb client
Each badge at the top of this README maps to a real, enforced gate:
| Badge | What it guarantees |
|---|---|
| 🟢 CI | Every push and PR runs the full pipeline on Node 20 and 22. PRs can't merge red. |
| 📊 Coverage | vitest --coverage with v8 — gated at statements ≥ 95 %, functions ≥ 95 %, branches ≥ 88 %, lines ≥ 95 %. Falling below fails CI. |
| 📘 TypeScript: strict | tsconfig.json enables strict, noUnusedLocals, noUnusedParameters, exactOptionalPropertyTypes, useUnknownInCatchVariables, noImplicitOverride. |
| 💅 Code style: Prettier | npm run format:check runs in CI. |
| 🧹 Lint: ESLint | Flat config with typescript-eslint recommended-type-checked. PRs with lint errors fail CI. |
| 🐚 (Hidden) shell scripts | shellcheck runs against scripts/ in CI. |
make install # one-time
make check # lint + format-check + typecheck + tests (the CI gate)
make coverage # tests with coverage thresholds enforced
make smoke # smoke tests against real MariaDB / Linear / openclaw
# (auto-skipped when env vars are absent — see CONTRIBUTING.md)
The smoke suite under tests/smoke/ exists in addition to the hermetic unit suite. It's gated on env-var presence (MARIADB_URL, LINEAR_API_KEY, …) so contributors can run make check safely without secrets while operators can verify the wiring end-to-end with real services.
If openclaw-hawkins saved you from a tangled single-agent setup, please star the repo — it's the only signal I get that the pattern is landing, and it surfaces it to other OpenClaw operators. 🩸
PRs welcome too — most useful right now: OpenClaw plugin packaging (tracked in #2), async dispatch, per-Tendril skill scoping, alternative ticket backends (GitHub Issues / Notion / Plane), and adapters for other agent runtimes. Read CONTRIBUTING.md first — non-trivial changes need an issue, and promotional or mass-generated drive-by PRs are closed on sight (see Strict PR guidelines).
📜 MIT. Use it, fork it, change everything.
🌱 Pattern crystallised while wrestling with a single-agent setup that kept hitting context limits.
🧩 The Tendril-skill manifests in skills/ are adapted from the agent-orchestrator ClawHub skill (MIT-0) by lcp14262.
🦞 OpenClaw is at openclaw.ai. The Stranger Things brand vocabulary belongs to Netflix and the Duffer Brothers; this repo uses it as homage only.