Hi HN, I made Pizza, an open-source, event-driven AI agent. No while true.
Each turn is a state machine. Conversations and tool calls go into an immutable SQLite log. The UI, model context, and session tree are built from that log.
The model gets one tool: a CLI. Reading files, editing code, and running commands all go through it.
You can keep a conversation going without manually starting new sessions. Pizza compacts context as needed, and you can branch from any earlier message.
Agents in separate workspaces talk through tell, each doing the work in its own project. An SSH host can be a workspace too: Pizza deploys itself there and runs remotely.
Desktop and terminal interfaces are included. Bring your own model.
[https://github.com/pizza-agent/pizza](https://github.com/pizza-agent/pizza)
Comments URL: [https://news.ycombinator.com/item?id=50507971](https://news.ycombinator.com/item?id=50507971)
Points: 1