npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@axiomantic/garden

v0.2.8

Published

Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine

Downloads

1,180

Readme

Garden

Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine

License: MIT Rhizo Vine Swarm Platform

Where rhizo provides inter-agent transport and vine provides workspace virtualization, garden provides the institutional intellect, empirical deliberation, and synchronized swarm execution.


What is Garden?

Garden is an agentic engineering framework and skill library for orchestrating heterogeneous teams of AI coding assistants (Claude Code, OpenCode, Antigravity, Cursor, Codex).

[!NOTE]

Quick Note: Using Garden as your High-Level Swarm Wrapper

Garden is the sovereign high-level multi-agent wrapper for all your engineering projects.
After installing @axiomantic/garden, @axiomantic/rhizo, and @axiomantic/vine, you don't need complex shell scripts, background daemon managers, or brittle terminal multiplexers. Whenever you start a session in your favorite coding harness (Antigravity, Claude Code, OpenCode, Cursor), simply tell the assistant:

"garden: I want to build [feature/system/project]"

The session automatically acts as the Lead Orchestrator. It conducts a brief interactive intake interview to calibrate your desired team balance, coding harnesses, and model tiers. It then configures your project (garden.toml & garden-swarm.json) and prints ready-to-copy prompt cards wrapped in 10 backticks (``````````markdown). You paste these cards into separate terminal tabs or coding harnesses, and Garden coordinates the entire swarm over Rhizo (local Redis message bus) and Vine (isolated Rift copy-on-write workspaces)!

Instead of treating AI agents as isolated single-turn chatbots, Garden provisions prompt-bootstrapped worker swarms across your favorite AI coding harnesses (Claude Code, OpenCode, Antigravity, Pi, Cursor), balances specialized personas with designated foundation models, drives empirically grounded dialectical deliberation, schedules distributed fencing mutexes, and integrates code through isolated APFS Copy-on-Write strands verified by Vine's Two-Key Gate.

flowchart TD
    subgraph Layer3["Layer 3: Garden (Methodology, Ceremonies & Swarms)"]
        direction TB
        GardenSkill["garden (Master Entrypoint)"]
        P1["choose-personas (Team & Models)"]
        P2["launch-workers (Prompt-Based Session Bootstrapping)"]
        P3["dialectical-pump (Research ➔ Design ➔ Audit)"]
        P4["plan-implementation (Locks & Strands)"]
        P5["orchestrate-swarm (Dispatch & Weave)"]
        GardenSkill --> P1 --> P2 --> P3 --> P4 --> P5
    end

    subgraph Layer2["Layer 2: Vine (Workstream Integrator)"]
        Strands["APFS CoW Strands (Sub-second isolated workspaces)"]
        TwoKey["Two-Key Gate (Mechanical merge-tree + semantic test suite)"]
        Weave["Trunk Weaving (Fast-forward verified branches)"]
    end

    subgraph Layer1["Layer 1: Rhizo (Inter-Agent Transport)"]
        Bus["Redis Message Bus (O2O, Multicast, RPC)"]
        Locks["Distributed Mutexes & Monotonic Fencing Tokens"]
        Queues["Worker Queues with Leases & Dead-Letter Escalation"]
    end

    Layer3 --> Layer2
    Layer3 --> Layer1
    Layer2 -.-> Layer1

The 5 Core Skills (+ Master Entrypoint)

Garden is organized into a clean, batteries-included catalog of self-explanatory skills:

| Skill | Role | Description | | :--- | :--- | :--- | | garden | Master Entrypoint | The sovereign ceremony director. Guides orchestrator and operator step-by-step across all phases from initial task to woven code. | | choose-personas | Team Calibration | Formulates a balanced triad of specialized personas (e.g. Architect, Auditor, DevEx Lead) with explicitly recommended coding harnesses and model tiers, confirmed interactively with the operator. | | launch-workers | Session Bootstrapping | Generates self-contained, 10-backtick raw markdown prompt cards for pasting into separate terminal sessions (Claude Code, OpenCode, Antigravity, Pi). Configures environment variables, registers identities via rhizo open, and arms single-shot listeners. | | dialectical-pump | Empirical Deliberation | Drives multi-perspective thesis/antithesis/synthesis debates. Strictly prohibits theatrical roleplay: every turn requires tool execution (reading files, running tests, checking ASTs). Produces understanding.md, design.md, and audit_report.md. | | plan-implementation | Master Scheduling | Authors implementation_plan.md defining task assignment matrices, rhizo distributed fencing locks, vine strand workflows, dynamic markdown checkboxes, harness To-Do integration, and emergent design addenda. | | orchestrate-swarm | Main-Chat Governor | Governs execution from the primary chat session: dispatches tasks over Redis, tracks heartbeats, ratifies emergent design addenda, verifies Two-Key gate passes, and triggers vine weave. |

Standalone Yet Designed for the Axiomantic Triad

Garden is completely standalone and can direct multi-agent dialectics, persona selection, and prompt-bootstrapped worker swarms on any codebase.

However, Garden is designed from the ground up to pair seamlessly with Rhizo and Vine:

  • Rhizo (Transport & Concurrency): Inter-agent messaging bus, monotonic fencing locks, and task queues over Redis.
  • Vine (Workspaces & Verification): Sub-second APFS Copy-on-Write strands, polyglot build-cache normalization, and the Two-Key integration gate (git merge-tree mechanical + compiler/test suite semantic checks).
  • Garden (Swarm Ceremonies): Prompt-based worker session bootstrapping, 3-stage empirical dialectical pump (research, architecture, audit), and master ceremonial implementation planning.

Installation

1. For AI Coding Assistants (Recommended)

Install the skills globally (-g) across all your coding assistants (Claude Code, Antigravity, Cursor, Codex, OpenCode, etc.):

# Recommended: Install the complete multi-agent triad globally
npx skills add -g axiomantic/rhizo
npx skills add -g axiomantic/vine
npx skills add -g axiomantic/garden

(Each skill automatically self-bootstraps its native CLI binary if it is not already installed on your system).

To install only Garden (includes the 6 Garden skills):

npx skills add -g axiomantic/garden

2. Standalone CLI Installation

Install the compiled CLI tools directly onto your $PATH:

# Install all three tools:
npm install -g @axiomantic/rhizo @axiomantic/vine @axiomantic/garden

# Or install Garden alone:
npm install -g @axiomantic/garden

[!TIP] Zero-Install Run via NPX: In restricted or containerized environments where global installation is unavailable, you can run any command directly without installing:

npx -y @axiomantic/garden <command>

3. Repository Coordination Guide

Install the Garden multi-agent swarm coordination protocol directly into any project's AGENTS.md:

garden guide install

System Prerequisites

  1. rhizo (Coordination Engine):
    npm install -g @axiomantic/rhizo
  2. vine (Workspace Virtualization Engine):
    npm install -g @axiomantic/vine rift-snapshot
  3. Redis or Valkey (local or remote):
    brew install redis && brew services start redis
  4. tmux (Optional): Only required if explicitly running legacy headless panes via garden launch --tmux.

30-Second Quickstart

1. Launch Garden on Any Task

In your primary AI coding assistant (Antigravity, Claude Code, OpenCode):

User: "garden: Implement high-throughput batch claim leases with Redis pipeline support"

2. Interactive Project Intake Interview (Phase 0)

The Orchestrator asks 4 quick interactive questions via ask_question:

  1. Execution Mode: Multi-Agent Swarm (Recommended) vs Single Session.
  2. Team Sizing: Standard Triad (3 Workers) vs Focused Duo (2 Workers) vs Custom.
  3. Available Harnesses: Claude Code CLI, OpenCode, Antigravity, Pi, Cursor, Terminal.
  4. Model Preferences & Equivalents:
    • Systems Architect (@architect) $\to$ Antigravity or OpenCode | Gemini 3.8 Flash or Claude 3.5 Sonnet
    • Adversarial Auditor (@auditor) $\to$ Claude Code CLI | Claude 3.5 Sonnet or Claude 3 Opus
    • DevEx & Implementation Lead (@implementer) $\to$ Antigravity or OpenCode | Gemini 3.8 Flash

3. Prompt-Based Swarm Bootstrapping (launch-workers)

Garden writes garden-swarm.json and runs garden prompts to emit raw markdown prompt cards wrapped in 10 backticks (``````````markdown):

  • The Orchestrator tells the operator:
    1. Open Tab 1: Launch claude (Claude 3.5 Sonnet) $\to$ Paste Prompt 1 (@auditor)
    2. Open Tab 2: Launch opencode $\to$ Paste Prompt 2 (@architect)
    3. Open Tab 3: Launch antigravity (Gemini 3.8 Flash) $\to$ Paste Prompt 3 (@implementer)
  • Each session enters the project directory, exports RHIZO_AGENT_NAME, registers on the Redis bus (rhizo open), and arms its single-shot listener (rhizo listen).
  • The Orchestrator confirms all workers are live via rhizo who --json before dispatching tasks!

4. The Dialectical Pump (dialectical-pump)

The personas deliberate across three empirical stages:

  1. Research: Workers read code and run tests $\to$ synthesize understanding.md $\to$ verify against automated Fact-Check Gate.
  2. Architecture: Triad debates trade-offs $\to$ produces ratified design.md.
  3. Audit: Auditor generates audit_report.md $\to$ triad resolves every finding before coding begins.

5. Ceremonial Planning (plan-implementation)

Garden authors implementation_plan.md:

  • Schedules distributed fencing locks (rhizo lock file:<path> --fencing).
  • Assigns tasks and defines APFS CoW strands (vine new <task_id> --worktree).
  • Sets up dynamic progress checkboxes and harness To-Do tracking.

6. Live Orchestration & Trunk Weaving (orchestrate-swarm)

The main chat orchestrator dispatches work over Redis. Workers code in isolated strands, run unit tests, and verify the Two-Key Gate (vine gate). When passed, the orchestrator executes vine weave to fast-forward verified code into main with zero merge conflicts!


CLI Reference

| Command | Arguments | Description | | :--- | :--- | :--- | | garden prompts | [--worker <name>] [--write [file]] [--json] [--project-dir <dir>] [--swarm-file <file>] | Generate 10-backtick raw markdown prompt cards for pasting into worker sessions. | | garden launch | [--worker <name>] [--write [file]] [--json] [--tmux] [--session-name <name>] | Bootstrap swarm worker sessions (defaults to generating prompt cards). | | garden status | [--json] [--session-name <name>] | Telemetry query across active Rhizo agents, listener status, and Vine strands. | | garden init | [<target_dir>] [--force] | Initialize garden.toml, docs scaffold, and install guide in AGENTS.md. | | garden teardown| [--session-name <name>] [--swarm-file <file>] | Gracefully close registered swarm agents on the Redis bus. | | garden guide | <install\|check\|uninstall> [path] | Install or manage Garden Multi-Agent Swarm Guide in AGENTS.md. |


Configuration & Swarm Manifest Reference

[!TIP] For the complete specification of garden.toml, garden-swarm.json schemas, and environment variables, see the Garden Configuration & Swarm Manifest Reference.

Environment Variables

| Variable | Type | Default | Description | | :--- | :--- | :--- | :--- | | GARDEN_SWARM_FILE | Path | garden-swarm.json | Explicit path to swarm manifest JSON file. | | GARDEN_CONFIG | Path | garden.toml | Explicit path to project garden.toml. | | GARDEN_PROJECT_DIR| Path | Auto-detected | Target repository root directory. | | GARDEN_TERMINAL_APP| String | auto | Preferred terminal viewer for tmux sessions (Ghostty, Terminal, iTerm, none). |

Example garden-swarm.json

{
  "project": "myproject",
  "target_repo": "/Users/developer/Development/myproject",
  "orchestrator": "orchestrator",
  "workers": [
    {
      "name": "architect",
      "persona": "Dr. Marcus Vance (Systems Architect)",
      "role": "Systems Architect & Formal Invariant Specifier",
      "harness": "Claude Code",
      "model": "claude-3-5-sonnet",
      "tags": ["design", "spec"],
      "opposing_priority": "Formal mathematical correctness and zero architectural drift."
    },
    {
      "name": "auditor",
      "persona": "Lyra Sterling (Adversarial Quality Auditor)",
      "role": "Adversarial Code Reviewer & Security Auditor",
      "harness": "OpenCode",
      "model": "gemini-3.8-flash",
      "tags": ["audit", "testing"],
      "opposing_priority": "Aggressive edge-case fault injection and invariant verification."
    },
    {
      "name": "implementer",
      "persona": "Elena Rostova (Lead Implementation Engineer)",
      "role": "Polyglot Systems & Performance Engineer",
      "harness": "Antigravity",
      "model": "claude-3-5-sonnet",
      "tags": ["implementation", "perf"],
      "opposing_priority": "Rapid implementation velocity and minimal dependency footprint."
    }
  ]
}

Core Invariants

  1. The Lead Orchestrator Invariant: The main chat session coordinates, reviews, and integrates. Intensive multi-file edits are executed by the worker fleet in isolated strands.
  2. Empirical Grounding Protocol (Zero Theatrical Dialogue): Dialectical deliberations must cite hard evidence from real tool calls (line citations, test outputs, compiler errors). Theatrical roleplay is strictly banned.
  3. Two-Key Gate Verification: No code is merged into the trunk without passing both Key 1 (in-memory git merge-tree mechanical check) and Key 2 (live semantic compiler and test suite run).
  4. Zero Dirty Commits: All agent identity files, session state, and temporary lockfiles are strictly ignored in .gitignore.

License

MIT © Axiomantic / Garden Contributors