# How I engineered a multi-agent coding terminal with a 3D Three.js Office Floor UI published

> Source: <https://dev.to/dominique_church_a9abd890/how-i-engineered-a-multi-agent-coding-terminal-with-a-3d-threejs-office-floor-uipublished-52bf>
> Published: 2026-08-27 00:54:19+00:00

I spent my summer building **Gnosis**, a local-first, open-source terminal coding agent designed around one idea: make multi-agent work easier to see and understand.

Instead of an endless stream of terminal output, Gnosis puts agents inside an interactive **Three.js office**, where their location reflects what they are actually doing.

Gnosis uses a TypeScript backend for agent execution, tools, processes, and session state, with React + Three.js rendering everything in real time.

The conversation state is separated from the model provider, so you can switch between **any OpenRouter model mid-session** without losing context or tool state.

Context is structured to maximize provider prompt caching.

One measured request dropped from **$0.0252 to $0.0021 — a 12× reduction**.

Agents move between five zones:

The office updates as agents work, and clicking an agent opens its session.

Gnosis also includes:

The project has **104 automated test suites running on Windows CI**.

Gnosis is **MIT licensed, local-first, and BYOK**.

```
npm install -g @dominquechurch/gnosis
```


