2026-11-26 15:39 UTC

PINE offers persistent, event-driven agent orchestration

state: seedheat: mediumuncertainty: mediumrelevance: mediumagent-harness reactive-agents agent-orchestrationPINE

What is this?

PINE is an agent harness from the pmndre GitHub project, presented as an installable npm package for macOS and Linux, with Docker as a Windows workaround. Its documentation describes a persistent service in which agents can respond to events from sources such as folders, webhooks, MQTT, Telegram, and websites, as well as run on schedules or through chat. It also describes coding and computer-use tools, MCP integrations, and delegation to parallel subagents. The supplied evidence is the project’s own README, surfaced via a Hacker News post; independent validation, adoption, and performance evidence are not provided.

Why it matters

PINE’s notable idea is to make agents event-reactive and persistent, not just responsive to a prompt or timer. If it works as described, developers could connect model-driven actions to ongoing digital—and potentially physical—signals, with subagents coordinating work. That broadens the kinds of workflows a single harness can support, but the evidence establishes documented availability and design, not reliability, safety, or real-world uptake.

Current assessment

The project README says PINE can be installed with `npm install -g @pmndre/pine` and run as a service so agents continue reacting without a terminal UI open. It describes event subscriptions for sources including folders, webhooks, MQTT, Telegram, web addresses, and commands; schedules; ordinary chat and coding; MCP and skills; and delegation to parallel subagents. It also describes a macOS desktop app and says Linux is supported; for Windows, it offers Docker while noting that fully native Windows support remains unresolved. The README claims agents can be configured through administrative tool calls and includes security modes, but supplies no independent assessment of safeguards or operational reliability. This is a first-party project description, not evidence of adoption or comparative performance. The potential significance is a move from user-initiated prompting toward continuously available, signal-triggered automation across connected services and devices. Whether that is useful or safe in practice depends on integration quality, permissions, model behavior, and deployment security; these remain unverified in the supplied sources.

Measured heat

now 0 pts/hpeak 12 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 213h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-17 18:26 (minted)⭐ origin echo-reconstructedThe repository README is the original project announcement/description: “PINE makes AI reactive” and explains that agents “react to any stim
Paul Henschel (drcmda; repository owner pmndre) on github (echo) · attributed from hn.story.50535693 · published time unknown
—
11-17 18:13first on hacker news · published · lag ?PINE: A Reactive Harness for Agents
bpierre
—
11-17 18:13amplified on hacker news 👑hn.story.50535693
bpierre
peak 2 · 0 comments · 103% of case engagement
11-17 18:20our radar first saw it · lag ?discovery anchor: hn.story.50535693—
pace: p29 vs 2096 stories at the 168h mark (now 213h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind abmaze-protein-fitness-agent-benchmark (0.7x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnPINE: A Reactive Harness for Agents
Retrieved article excerpt

Open article · Retrieved 2026-11-17T18:22:22.117385+00:00

# pine

[pine in half a minute. pine start: it runs as a service. In the terminal, for a chat: a question about the weather is answered with a web search. Or in the desktop app, for code: an agent adds a function, runs the tests, and the diff is shown beside the conversation. Then a card: pine is built on an event bus, agents can react to any external stimuli. A colleague writes in Slack; in pine that is an event, and the agent that listens wakes, reads the message and says what it is about. At night a camera sees somebody with a covered face at the door; the clip is an event, the agent watches it and asks its owner on Telegram whether to ring the alarm. A letter goes through the scanner; the scan is an event, the agent reads the letter and puts what is due on a TODO list.](https://github.com/pmndre/pine/blob/next/docs/images/reel.webp)

```
npm install -g @pmndre/pine
```

### PINE makes AI reactive

Most harnesses just do input chat: "Do this do that". And maybe a scheduler: "Do it tomorrow". In PINE agents react to any stimuli. From watching folders, commands, websites, ftp endpoints, webhooks, to any other event source. You can hook them up and let them react to and operate your physical devices in the house, or digital assets.

PINE of course also handles regular chat, coding, tasks and orchestration. Agents carry memory and so on. All the basic stuff is in there, too.

### Some design choices

- **Event-driven architecture:** Agents subscribe to events and react. An event source is just a `*.ts` service with a schema. Tell the agent what you want and they subscribe: "Watch ~/documents/scans, for every new file: extract summaries and payment details, if present"
- **No configs:** Tell the main agent what you want. It configures PINE, creates agents, MCPs, event sources, skills and schedules through administrative tool calls, never touches user config, never messes it up or breaks it.
- **Self-discovery:** A built-in BM25 manual tool lets agents look up any API or internal detail on demand, without carrying docs in context.
- **A CLI that feels like a desktop app:** Tabs, buttons, scroll regions, inline images and video, and drag-and-drop with thumbnails. Works in Kitty-protocol terminals like Ghostty, with fallbacks for older ones.
- **Built in:** Computer use (macOS), web browsing, coding tools, diffs and git, undo, plan mode and goals (`/goal` keeps an agent working until it is done).
- **Orchestration:** Agents can delegate, create sub-agents in parallel. A pinned tab simply persists an agent and its task. Name it, give it instructions, chat with it or subscribe it to events.

Important

pine runs on macOS and Linux; `pine init` sets up what it needs. Windows users can try [Docker](https://github.com/pmndre/pine#docker). It remains open what exactly is necessary to make it run completely in Windows.

```
                  you:  terminal UI · Telegram
                               │
                               ▼
 wake it                 ┌───────────┐            it uses
 events ───────────────► │           │ ◄───────── MCP servers
   Telegram · MQTT · FTP │           │ ◄───────── skills
   webhooks · folders    │   agent   │
   web addresses         │           │
   commands · etc *      │           │
 schedules ────────────► │           │
   repeating · once      └─────┬─────┘
                               │  delegate ──► other agents
                               │  subagent ──► with distinct prompts, in parallel
                               ▼
                 answers · messages · actions

 Events, schedules, MCPs and skills can be set up by asking:
 for the current conversation, agent scope, or globally
 (main agent only) for all agents.

 * New event types that agents can subscribe to can be created easily.
```

## Quick start

Sets everything up: the browser the web tools drive, and your user folder (`~/.pine`). On Linux
also the sandbox that agents in `safe` mode work in; it shows what it would install and asks once.

```
pine init
```

Checks the setup: validates the configuration, lists each agent with its model, tools and MCP
servers, and prints security notes if something is open that should not be.

```
pine check
```

Opens the terminal UI. If no daemon is running, it starts one inside and stops it when you quit.

```
pine
```

Runs the daemon as a service, without the UI, so agents keep reacting to events with no terminal
open. `pine` then attaches to it. To have it start at login, see
[operations.md](https://github.com/pmndre/pine/blob/next/docs/references/operations.md).

```
pine start
```

Connect your subscriptions, or local llm servers. Switch with `/model` in the UI:

```
pine login opencode-go
```

`pine login anthropic` and `pine login openai-codex` use a Claude or ChatGPT subscription. A
model server of your own (llama.cpp, vLLM, LM Studio) is added by its address, with
`pine model add studio http://127.0.0.1:8080`, or by asking the main agent. See
[operations.md](https://github.com/pmndre/pine/blob/next/docs/references/operations.md) and [tui.md](https://github.com/pmndre/pine/blob/next/docs/references/tui.md).

To work on a project, start it in that folder. The agent gets that folder for the
conversation, and `▤ code` (or `ctrl+g`) opens a pane with git changes and diffs, the files and
the output of its tool calls. `/undo` takes your last message back, with the files it changed
([coding.md](https://github.com/pmndre/pine/blob/next/docs/references/coding.md)):

```
pine .
```

There is also a desktop app for macOS, with the same conversations in a window, an editor for
a conversation's folder and a settings panel for agents, models, MCP servers, skills and
events. It starts pine itself, or uses the one that runs ([desktop.md](https://github.com/pmndre/pine/blob/next/docs/references/desktop.md)).
Each [release](https://github.com/pmndre/pine/releases/latest) has it as a disk image, for
Apple silicon and for Intel. It carries pine and the Node it runs on, so nothing else has to
be installed, and it gives your shell the `pine` command. From a checkout:

```
npm run desktop
```

To get a newer version later, with whatever it needs:

```
pine update
```

## Docker

A container needs nothing special. It is the wall around pine, and the agents work inside it
without a sandbox of their own:

```
docker run -it -v pine:/root/.pine node:24 bash
```

`-v pine:/root/.pine` keeps pine's home (configuration, conversations) when the container is
replaced. Inside, it is the same as anywhere:

```
npm install -g @pmndre/pine
```

```
pine init
```

Every agent whose mode you did not choose then works in `auto` mode, and `pine check` says so.
The agents and pine's own secrets are in the same container; what keeps the two apart there is
described under "pine's own files without a sandbox" in
[docs/references/security.md](https://github.com/pmndre/pine/blob/next/docs/references/security.md).

`safe` mode puts an agent into a sandbox of its own, as on a Mac. A container may only make
one when it is started with the rights for it, which take away most of what Docker itself
protects:

```
docker run -it --cap-add SYS_ADMIN --cap-add NET_ADMIN --security-opt seccomp=unconfined --security-opt apparmor=unconfined -v pine:/root/.pine node:24 bash
```

| Part | What it is for |
| --- | --- |
| `--cap-add SYS_ADMIN` | lets the sandbox create its namespaces |
| `--cap-add NET_ADMIN` | lets a sandbox without network have its own loopback interface |
| `--security-opt seccomp=unconfined` | Docker's system call filter forbids the sandbox's change of root |
| `--security-opt apparmor=unconfined` | Docker's AppArmor profile forbids its mounts |

`pine init` installs what the image lacks (bubblewrap, the browser's system libraries) and says
so if a right is missing. With pine as an ordinary user in the container instead of root, add
`--security-opt systempaths=unconfined`. `--privileged` works in place of all of them.

## Documentation

Start at [docs/SKILL.md](https://github.com/pmndre/pine/blob/next/docs/SKILL.md); it indexes everything.

| To do this | Read |
| --- | --- |
| Understand how the pieces fit | [overview.md](https://github.com/pmndre/pine/blob/next/docs/references/overview.md) |
| Use the terminal UI | [tui.md](https://github.com/pmndre/pine/blob/next/docs/references/tui.md) |
| Use the desktop app (macOS): conversations, an editor, and a settings panel in one window | [desktop.md](https://github.com/pmndre/pine/blob/next/docs/references/desktop.md) |
| Work on a project: `pine .`, the code pane with git changes, files and tool output, `/undo` | [coding.md](https://github.com/pmndre/pine/blob/next/docs/references/coding.md) |
| Install, run, use the CLI, run it as a service | [operations.md](https://github.com/pmndre/pine/blob/next/docs/references/operations.md) |
| Write `pine.json` and `agent.json` | [configuration.md](https://github.com/pmndre/pine/blob/next/docs/references/configuration.md) |
| Let agents set things up by tool call instead of editing files | [setup.md](https://github.com/pmndre/pine/blob/next/docs/references/setup.md) |
| Set up agents, delegation and sub-agents; how tools are declared and what stays cached | [agents.md](https://github.com/pmndre/pine/blob/next/docs/references/agents.md) |
| Route events, schedules, model calls | [events.md](https://github.com/pmndre/pine/blob/next/docs/references/events.md) |
| Event sources: setting one up, subscribing, sending, secrets, trust | [sources.md](https://github.com/pmndre/pine/blob/next/docs/references/sources.md) |
| Every source type: Telegram, folders, MQTT, web addresses, feeds, mail, Slack, cameras | [source-types.md](https://github.com/pmndre/pine/blob/next/docs/references/source-types.md) |
| MCP servers, web search, command tools | [mcp.md](https://github.com/pmndre/pine/blob/next/docs/references/mcp.md) |
| Let an agent operate the apps on your Mac | [computer.md](https://github.com/pmndre/pine/blob/next/docs/references/computer.md) |
| Know what is protected and what is not | [security.md](https://github.com/pmndre/pine/blob/next/docs/references/security.md) |
| Work on pine itself | [AGENTS.md](https://github.com/pmndre/pine/blob/next/AGENTS.md), [stack.md](https://github.com/pmndre/pine/blob/next/docs/references/stack.md) |
bpierre20
🟧 echo.github ⭐The repository README is the original project announcement/description: “PINE makes AI reactive” and explains that agents “react to any stimPaul Henschel (drcmda; repository owner pmndre)——

Interpretation history

Decision trace