Building Gnosis: A Multi-Agent Terminal with a 3D Office UI
Description and use
Gnosis visualizes multi‑agent AI work in a 3D office, improving clarity and cutting prompt costs.
Problem
Managing multiple AI agents in a terminal is hard to visualize and understand, leading to confusion and inefficiency.
Outcome
Gnosis reduces visual clutter, improves agent traceability, and cuts prompt costs by 12×, while supporting model hot‑swapping and extensive tooling.
Workflow
- 1. Install Gnosis via npm.
- 2. Launch the local server; the React + Three.js UI renders the office.
- 3. Agents are spawned and assigned to zones (Coordinator, Planning, Coding, Application, Sub-Agents).
- 4. Users click an agent to view its session and logs.
- 5. Mid-session, switch OpenRouter models without losing context.
- 6. Use built‑in tools (Tree‑sitter indexing, file browser, diff viewer, etc.) to interact with code.
- 7. Monitor performance and cost via prompt caching metrics.
Evidence
One measured request dropped from $0.0252 to $0.0021 — a 12× reduction
Gnosis also includes: Tree‑sitter code indexing, Scoped sub‑agents, Local PTY terminal streaming, Obsidian persistent memory, etc.
- Record date: 2026-09-05T16:14:13.762Z