Open-source · cost-aware tiered routing · HMAC-chained audit · MIT
A small open-source agent swarm for running 1 parent call → N sub-agents in parallel, with a tamper-evident JSONL audit trail and a starter library of failure-pattern detectors. Run it inside GitHub Copilot Pro+, Claude Code, or a free vendor mesh. No telemetry, no upsell, no account required.
git clone https://github.com/obsidian-spider-org/obsidian-spider-swarm
cd obsidian-spider-swarm
cp .env.example .env # set CHAIN_HMAC_KEY to a 32+ char random string
cat PROMPT.md # paste into your agent harness; fill in TARGET + GATHER_INSTRUCTION
python3 hmac_verifier.py <your-output.jsonl>
# Or verify the sample chain offline (~30s) — no API keys needed:
python3 hmac_verifier.py examples/sample_pr_review_wave.jsonl \
--key "$(grep -v '^#' examples/.env.demo | grep -v '^$' | head -1 | cut -d= -f2-)"
# Expected: {"verified": 5, "failed": 0, "total_rows": 5}
Repo · cost model + worked examples · bootstrap vs vendor-mesh caveat
awk + sha256sum command.If you use GitHub Copilot Pro+ today: the subagent feature inside an agent message gives measurable cost arbitrage versus running the same fan-out as raw API calls. GitHub moves to usage-based billing on June 1, 2026 — the current arbitrage window is closing. Releasing this MIT now so anyone can measure and capture it before the transition.
Headline number on a normal pulse (40 sub-agents per parent call, GPT-5.5-class): raw API equivalent ≈ $112–$142 at retail prices vs. one Copilot Pro+ parent call at $0.30 → ~375×–475× raw-API-equivalent ratio. On Claude Opus 4.7 the ratio is ~170×–220×; on a Claude Max bundled subscription the parent is ≈$0 marginal. To be clear: this is the compute-equivalent you'd need to buy at retail to replicate the fan-out, not a cash saving — nobody pays sticker. Full derivation + four bracketed scenarios.
The routing pattern keeps working after June 1, on Claude Code or free vendor mesh — but the Copilot-specific multiplier is the largest right now.
This is a bootstrap-mode primitive, not Byzantine fault tolerance. On a single-substrate run the "8 reviewers" are 8 personae of one model. The HMAC chain is tamper-evident on outputs; it doesn't make personae independent. For real BFT-class signal you route reviewers across vendor families. Caveat in BOOTSTRAP_NOTE.md.
Quorum + audit reduces slop; doesn't eliminate it. LLMs compound hallucinations in long-running permissive workflows — the chain trail makes the compounding visible after the fact. Human-in-the-loop on the final pass remains non-optional.
The repo is MIT-licensed and free forever. If your agent pipeline is misbehaving and you'd rather not rediscover 16 months of failure-mode catalogue yourself, there's a 7-tier engagement ladder — free discovery call, free scoping memo, then a 72-hour audit-trail readiness check, focused audit with refund-on-no-finding, hardening sprint, and monthly retainer. First 5 paid engagements at design-partner half-price.
General questions, contributions, bug reports → [email protected]. Or open a GitHub issue.
Paid-engagement inquiries → see the offer ladder; a single paragraph describing your workflow is enough to start.