Newshot

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

Original text(via HN AI)

Your event-driven AI sidekick

A little Pizza.A lot done.

Your desktop companion for code, ideas, and everyday work. Keeps the conversation going, with your apps connected.

A playful Pizza sculpture floating above a stack of tiles
A playful Pizza sculpture floating above a stack of tiles

Built on events. Made to keep going.

Events keep the work connected. Explore the choices behind Pizza’s memory, tools, and interfaces.

An agent without while true.

Reactor advances each turn through an event-driven state machine. The immutable SQLite event log is the source for the interface, model context, and history tree.

图表:Architecture illustration

One event log

  • USER_MESSAGEA request arrives
  • TOOL_EXECUTION_ENDA tool returns its result
  • FILE_MUTATION_APPLIEDA file change is recorded

Different views of the same history

Interrupts, retries, and parallel tool calls have explicit handlers. Recorded events make state easier to rebuild and inspect.

Try another direction. Keep the original.

Fork from a message in the past. Continue along a new branch while keeping the earlier path available to revisit and compare.

图表:Architecture illustration

Selected direction: Build a desktop versionEarlier path retained

A continuing conversation and a branchable history work together. Context compaction helps the conversation keep going.

One execution tool. Many ways to get work done.

The model calls a single CLI tool. Reading, writing, editing, and workspace messaging are commands behind that interface.

图表:Architecture illustration

A small tool schema reduces repeated definitions in the model context. Extra instructions and capabilities can be loaded as needed.

Different entrances. The same agent underneath.

The desktop GUI, terminal UI, JSON-RPC, and one-shot print mode consume the same SessionFacade event stream.

图表:Architecture illustration

The same event stream

Use Pizza interactively, automate a task, or embed it in your own tooling. The interfaces share the same agent runtime.

Good work starts with a conversation.

Go from a rough idea to something real. Pizza works in your projects, keeps the context, and helps you carry the work forward.

One sidekick. A workspace for every project.

Give your personal assistant a goal. Project agents work in their own context and send the results back.

Personal assistant

Your ongoing conversation

Results, together

Back with your assistant

Keep the conversation going.

You do not need to start a fresh session for every task. Pizza manages the context as the work continues.

Keep the useful context.

Old tool results are masked and context is compacted when needed, reducing what the model carries into the next turn.

Work happens in more than one place.

Keep your projects, conversations, and recurring work connected to the same agent.

Your remote machine is a workspace, too.

Connect over SSH. Pizza deploys the agent to the remote host, where it works with that project’s files and tools.

Talk where you already are.

Slack, Discord, Telegram, Lark, voice, and webhooks can all reach the same agent through the gateway.

Keep recurring work on schedule.

Schedule checks, summaries, and routine tasks. The persistent assistant can pick them up on a recurring schedule.

Channels, voice, and remote access require their corresponding service and account setup.

Your favorite apps. On the same page.

Bring your files, conversations, and projects into the work. Connect an app, sign in, and let Pizza help with the next step.

Connections depend on your Pizza version, account permissions, and provider setup.

A sidekick with an open door.

Open source means you can see how Pizza works, make it your own, and help shape what comes next.

A few things you might wonder.

Pizza is an open-source AI agent with a desktop app and a command-line interface. It helps with code, research, writing, and tasks across connected apps.

Bring an API key or a supported subscription login from your chosen model provider. Pizza itself is open source. Model usage and connected services may have their own costs.

Pizza keeps conversation history on your machine. When you use a model or connected app, the information needed for that task is sent to that provider. Review the code and choose the services you trust.

Yes. Install the command-line app with npm, then run pizza. The desktop and terminal use the same agent runtime.

The current release provides macOS for Apple Silicon, Windows x64, and Linux x64 installers. Other architectures may require building from source. For macOS installation troubleshooting, see the release notes.

Save a seat for Pizza.

A desktop companion for whatever you’re working on next.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗