SuperAPI AI Directory

Weave

Agentopia is a free and open-source local tool that visualizes AI agent sessions as a cozy open-plan office in the browser. Each session corresponds to a desk, with the main agent working at the desk and sub-agents joining as assistants; when user approval is needed, the main agent walks over to ask. The tool records Claude Code session events through hooks and displays them with real-time animation on a local server, with all data kept on the user's machine.

Open website

About this tool

Agentopia is a free, open-source (MIT licensed) tool designed to turn the work of AI agents into a visualized office scene in the browser. It currently supports Claude Code and plans to support Codex.

Purpose: Agentopia lets users observe the working state of AI agents in a relaxed, intuitive way, mapping each agent session to a desk in the office, making the work process more fun and observable.

Key capabilities:

  • Each session corresponds to a desk: the main agent types at the desk, and a large monitor scrolls through what the agent is running.
  • Sub-agents as assistants: when a session spawns sub-agents, the assistants enter through the door, receive a briefing at the main agent's desk, and then work beside it.
  • User participation: the user is also in the office, and sending a prompt is like "saying" it out loud; when a session needs approval, the main agent walks over to ask.
  • Session end: when the session quiets down, the main agent takes a nap and leaves, and the desk is freed up for the next session.
  • Usage whiteboard: the whiteboard on the wall tracks the number of tokens used by agents and the cost calculated at API rates, displayed by day, week, and month, with data from local agent records.
  • Office life: includes idle colleagues, office cats and dogs, the San Francisco skyline outside the window, and weather and day-night changes.

How to use: Agentopia works by installing a tiny hook into the agent that appends one line to a local file for each event (prompt, tool call, sub-agent, approval). A small local server watches that file and streams it to the office in the browser, animating each session in real time. All data stays on the user's machine, and the server only listens on 127.0.0.1. Requires Node.js 20 or higher. Use agentopia start to start the office in the background, keeping it open after the terminal is closed; then use Claude Code in the terminal or desktop app as usual, and each session gets a desk.agentopia status shows the office location,agentopia stop closes the office. The documentation covers all commands.

Use cases: suitable for developers who want to monitor Claude Code session status in a visual, relaxed way, especially for scenarios that require observing sub-agent collaboration, token consumption, and approval requests.

Limitations: currently only supports Claude Code, with Codex support not yet available; requires Node.js 20 or higher; all data is local only, with no cloud sync.