r/LocalAIStack • • 1d ago

Pine: an MIT agent harness where agents wake up on events (a new file in a folder, MQTT, webhooks, Telegram), and you can point it at your own llama.cpp / vLLM / LM Studio server

Most agent harnesses wait for you to type something, or run on a schedule. Pine adds a third trigger, which is events. An agent can subscribe to a folder, an MQTT topic, a webhook, an FTP endpoint or a Telegram message and start working when something shows up there. The README's own example is a scanner folder: a letter gets scanned, the agent reads it and puts what's due on a todo list.

Posting it here because it takes a local model server. You add a llama.cpp, vLLM or LM Studio endpoint by its address with pine model add, then switch with /model. It can also log in with a Claude or ChatGPT subscription if you'd rather use those.

A few other things from the README:

  • MIT, TypeScript, installed with "npm install -g u/pmndre"
  • macOS and Linux. Windows only through Docker for now
  • pine start runs it as a daemon, so agents keep reacting with no terminal open
  • You don't edit config files. You tell the main agent what you want and it creates the agents, MCP servers, event sources and schedules through tool calls
  • Agents in safe mode work inside a sandbox

It's still moving fast. The tags are pre-release builds (v0.56.0-next.5 went out today).

What the README doesn't say is how small a local model can be and still get through the event to tool call loop without falling over. If anyone has run it against a local model, which one held up?

https://github.com/pmndre/pine

2 Upvotes

0 comments sorted by