Pine is a framework for reactive agents that persist and work autonomously, released by the pmndre team. The project provides a harness for agents that can do more than chat and code, enabling them to react to events across digital protocols and act on given instructions. The system is built on an event bus architecture where agents subscribe to sources and respond according to their configured modes.

Agent persistence and autonomous operation

In Pine, agents maintain state and operate independently of direct user interaction. The system supports various modes including sandbox bypass, always-on daemon operation, and the ability for a main agent to create other agents. Agents know their manuals well and can be given instructions through a chat interface. Wake functionality allows agents to subscribe to real-time events, while response handling lets users define how agents should act when events occur.

Event-driven architecture

Pine is driven by events across a wide range of digital protocols. Event sources include Slack, Telegram, Discord, Matrix, Webhook, Folder, Feed, Calendar, HTTP, MQTT, Modbus, Serial, Syslog, ONVIF, SMTP, FTP, Stream, Command, Presence, System, and custom protocols. The event bus enables agents to react to anything over any digital protocol and act on whatever instructions they receive. Example scenarios range from mail arrivals and deployment asks to bug reports, price drops, and system warnings.

Code execution and workflow

The platform includes an inbuilt terminal where agents wake and react to commands. Steps can be kept and ticked off, and goals are checked by blind judges that qualify results. Pine ships with an inbuilt browser for agent use. The worktree feature allows multiple agents to work safely on the same repository, with changes inspectable at any time. A diff feature lets users inspect changes, and runs can be executed within the terminal.

Agent swarms

Complex work can be fanned out to multiple agents in parallel through the swarm feature. Message boards for agents are built into the system, and blind judges check against results. Safety features include asks before anything leaves the sandbox, asks before each action, asks when it matters, and a bypass mode that never asks. An overview shows who works on what right now.

Platform availability and deployment

Pine is available across multiple platforms including macOS (Apple silicon and Intel), Windows (x64 and ARM), Linux (x86_64, ARM, Debian/Ubuntu, arm64), mobile (Android 8+ and iOS 17+), and via web clients. Installation options include graphical downloaders, Homebrew, winget, Scoop, and the AUR. The macOS version is signed and notarized, carrying its own Node and updating itself. A command-line interface requires Node 24+.

Phone clients show the pine of a paired computer; nothing runs locally on the phone. Pairing occurs via QR code or SSH reachability over a server. The web client runs in-browser, and both Android and iOS have dedicated installation paths.

Practical impact for developers

Pine provides a comprehensive framework for building persistent, event-driven agents that can operate across platforms and protocols. The framework reduces the complexity of agent deployment by providing pre-built integrations with major communication platforms, an inbuilt browser, workflow management features, and cross-platform distribution. Teams can fan out complex tasks to multiple agents while maintaining oversight through built-in oversight features.

Early adopters can try Pine through the various platform-specific installers or via Homebrew with brew tap pmndre/pine and brew install --cask pmndre/pine/pmndre-pine. The project is actively maintained with regular updates across all supported platforms.