NEXUS

The dashboard

The dashboard shows the company at work: an office floor, the work in flight, money, governance, people, the host machine and learning. Its Setup tab is where you connect coding agents and move your data. It runs on your own machine, on a loopback address, and nobody else can reach it.

nexus has had no external security review. Do not describe it as production-ready.

Run it

begin-setup opens it for you. After that:

nexus dashboard               # opens http://127.0.0.1:8787 in your browser
nexus dashboard --no-open     # prints the link instead
nexus dashboard --port 9000   # another port (it moves to a free one if this one is taken)

The link it prints works once, within 10 minutes. Opening it signs this browser in with a cookie that only this site can read; a second tab in the same browser is already signed in. To sign in from another browser, stop the dashboard and start it again for a new link. Ctrl-C stops it.

What you see depends on what is running:

State Dashboard
No vault yet Setup and Host work; the company tabs are empty until nexus init.
Vault, vaultd stopped The company, watch-only: no kill switch and no approval console.
Vault and vaultd running Everything, live.

The tabs

  • Floor: the office, drawn from the live events. Moods and walking are a picture of the events, not a measurement.
  • Work, Money, Govern, People, Learn: goals, tickets and runs; budgets and spend; cards and the kill switch; employees and teams; what the learning plane recorded.
  • Host: CPU, memory and disk of this machine.
  • Setup:
    • Storage: the data folder, its size, and Move. Type a folder or pick one with Browse; Check says whether it can be used; Move needs your vault passphrase. vaultd stops for the move and starts again at the new place. The old folder is kept as <name>.moved-<stamp> until you delete it. Move is refused when --home or NEXUS_HOME fixes the folder.
    • Agents: see Agents and LLMs.
    • Approvals: opens the approval console in a new tab. The dashboard never approves anything; the console asks for your presence check.

How the local server is protected

The dashboard can change files on your machine (agent configs, the data folder), so it is guarded even on loopback:

  • It listens on 127.0.0.1 only and refuses a request whose Host is not that address and port, so a web page cannot reach it through DNS rebinding.
  • Sign-in is a single-use launch key; the session cookie is HttpOnly and SameSite=Strict.
  • Every change needs the exact origin, Sec-Fetch-Site: same-origin, a JSON body and a per-session CSRF header. A form or a script on another site cannot send one.
  • Pages are served with a strict Content-Security-Policy: no inline script, no other origins.
  • Passphrases are sent to the server for a move and never stored or logged. Errors are scrubbed.
  • Every agent config write and every move is logged (<home>/logs/agents.log, the audit chain).

Known gaps

  • The dashboard cannot create a vault; run nexus init once (begin-setup does).
  • It runs in the foreground; there is no background mode yet.
  • It does not choose the company’s model: see Agents and LLMs.
  • The office floor and panels have no UI tests yet; the server behind them is tested in packages/cli/test/dashboard-server.test.ts.

Source of this page on GitHub