cd /news/ai-agents/show-hn-pizza-an-event-driven-ai-age… · home › topics › ai-agents › article
[ARTICLE · art-170038] src=pizza.hertzbeat.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Pizza – An event-driven AI agent, no while true

An open-source project called Pizza released an event-driven AI agent that replaces the conventional `while true` loop with a per-turn state machine, logging conversations and tool calls to an immutable SQLite log from which the UI, model context, and session tree are built. Pizza gives the model a single tool — a CLI for reading files, editing code, and running commands — and supports context compaction, branching from any earlier message, and cross-workspace communication via a `tell` command, with SSH hosts usable as workspaces where the agent deploys and runs remotely. The project ships desktop and terminal interfaces, requires users to bring their own model, and is hosted at github.com/pizza-agent/pizza.

read1 min views1 publishedNov 15, 2026

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

── more in #ai-agents 4 stories · sorted by recency
── more on @pizza 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-pizza-an-eve…] indexed:0 read:1min 2026-11-15 · —