Coding & Development๐Ÿค–claudeโŒจ๏ธcursor๐ŸŒuniversal

Willow 2.0

Willow 2.0 โ€” local-first memory, MCP tools, and fleet coordination for AI agents. Postgres KB, Ollama default, Grove LAN remote.

Quick Start

Install this Skill

npx skills add rudi193-cmd/willow-2.0
# Willow 2.0

**โ†’ [Front door (GitHub Pages)](https://rudi193-cmd.github.io/willow-2.0/)** โ€” Oden voiceover, Huginn & Muninn vox pops, dark + colorful. [`docs/LANDING_DESIGN.md`](docs/LANDING_DESIGN.md)

**Local-first memory and tools for AI agents.**

Willow keeps a knowledge graph on hardware you control, exposes it through an MCP server, and runs local inference with Ollama by default. Cloud API keys are optional. Your data stays in Postgres (desktop) or SQLite (Termux).

## Try it in five minutes (public demo)

**Hero moment:** ask Willow something โ€” *it remembers* (from local demo memory on your machine).

```bash
git clone https://github.com/rudi193-cmd/willow-2.0.git
cd willow-2.0
python willow-launcher.py
```

Requires **Docker** + **Python 3.11+**. Opens a browser chat on `http://127.0.0.1:7788` (or the next free port if 7788 is taken โ€” Grove often uses 7777). Demo memory is labeled honestly โ€” see [`TRUST.md`](TRUST.md) and [`docs/PUBLIC_READY_V1.md`](docs/PUBLIC_READY_V1.md).

**Found family:** This repo is tended for the people who show up in real life โ€” not as users, as kin. If you're **[AHS](docs/FOR_AHS.md)** (AllHailSeizure: beta reader, r/LLMPhysics, optional Necron decoder ring, Windows port contributor) or **[Felix](README-FELIX.md)** (Windows/WSL install path), those pages are your front door. Everyone else: keep reading below.

---

## What you get

| Piece | What it does |
|-------|----------------|
| **Knowledge base** | Atoms that survive across sessions, models, and IDEs |
| **SAP MCP** | Unified MCP with profile-filtered tools for memory, fleet health, tasks, handoffs, and inference |
| **SAFE gate** | Every tool call checked against manifests before it runs |
| **SOIL** | Fast structured state on disk (per agent / collection) |
| **Grove** | Terminal dashboard + LAN remote control (`./willow.sh serve`) |
| **Fylgja** | Skills and powers โ€” Markdown behaviors any model can follow |
| **HNS** | Routes inference to the best available node by VRAM โ€” activate with `WILLOW_INFERENCE_PROVIDER=hns` |

IDEs connect via MCP (`sap/sap_mcp.py`). Humans use `./willow.sh` and the docs below.

---

## Choose Your Path

| You are | Start with | What happens |
|---------|------------|--------------|
| New human or contributor | `bash setup.sh --public` | Uses only files in this public repo; no private config required |
| Fleet operator | `bash setup.sh` | Uses private `~/github/.willow` as an overlay for credentials, handoffs, and settings |
| Agent in an IDE | [`willow.md`](willow.md), then [`docs/IDE_INTEGRATION.md`](docs/IDE_INTEGRATION.md) | Boots from the public contract, then loads MCP/handoff context when available |

## Quick Start

**New here:** [`docs/FIRST_5_MINUTES.md`](docs/FIRST_5_MINUTES.md) โ€” copy, paste, verify health.

```bash
git clone https://github.com/rudi193-cmd/willow-2.0
cd willow-2.0
bash setup.sh --public
```

Then:

```bash
./willow.sh fleet_status   # postgres, ollama, manifests
./willow.sh start          # services
./willow.sh status         # version + summary
```

**Termux:** same clone, then `python3 seed.py --termux --skip-pg` (SQLite instead of Postgres). Details in [`docs/QUICKSTART.md`](docs/QUICKSTART.md).

**Windows:** use `install-windows.ps1` and `seed-windows.py` instead. Postgres must be installed separately โ€” `seed.py` uses `apt-get` and will not work on Windows. Details in [`docs/QUICKSTART.md`](docs/QUICKSTART.md).

Default database name is **`willow_20`**. Upgrading from 1.9? See [`docs/CODE_DIFF_1.9_to_2.0.md`](docs/CODE_DIFF_1.9_to_2.0.md).

---

## Connect Cursor / Claude Code

Install an agent profile for the IDE you actually use:

```bash
./willow.sh agents active <agent>
./willow.sh agents install <agent> --ide <cursor|claude|codex>
```

The installer writes MCP config for `sap/unified_mcp.sh`. Agents boot from [`willow.md`](willow.md), check fleet health and handoff, then act. Details: [`docs/IDE_INTEGRATION.md`](docs/IDE_INTEGRATION.md).

---

## Phone on the same Wiโ€‘Fi (optional)

Run a signed HTTP listener on your desktop; ping it from Termux. No Discord, no cloud relay.

**Desktop:**

```bash
./willow.sh serve
# Token: ~/.willow/grove_token
```

**Phone:**

```bash
echo "TOKEN" > ~/.willow/grove_token && chmod 600 ~/.willow/grove_token
bash ~/willow-2.0/willow.sh grove send 192.168.x.x:7777 status-all
```

Use your LAN IP, not `127.0.0.1`. Full walkthrough: [`docs/FIRST_5_MINUTES.md`](docs/FIRST_5_MINUTES.md) ยง3.

---

## Layout (high level)

```
IDE / CLI / phone
       โ”‚
       โ”œโ”€โ”€ SAP MCP (stdio) โ”€โ”€โ–บ KB, SOIL, fleet, tasks
       โ”‚
       โ””โ”€โ”€ Grove serve :7777 โ”€โ”€โ–บ remote status / commands
                โ”‚
                โ–ผ
         Postgres or SQLite  +  Ollama (default)
```

Repo map: [`docs/ROOT_LAYOUT.md`](docs/ROOT_LAYOUT.md). Deeper architecture: [`wiki/what-is-willow.md`](wiki/what-is-willow.md).

---

## Research & safety context

Willow's multi-session memory, prompt-injection taxonomy, and fleet gates are documented for cross-org

... (truncated)
Repository
4stars
1forks
View on GitHub
Details
DiscoveredJul 18, 2026
Last UpdatedJul 18, 2026
Quality Score
35/100