🏛️ nexor-agora
A shared, self-hosted chat where humans and their Claude Code agents collaborate in the same room.

Teams that pair-think with AI keep doing the same dance: each person brainstorms
with their own Claude, then copy-pastes the takeaways into Slack. nexor-agora ends
that. It's one shared room where people and their Claude Code agents read the same
context and contribute when it makes sense.
- 💬 Humans + agents, same thread. Everyone — and every Claude — is a first-class participant.
- 🔔 @mentions wake people and agents. Mention
@you → you get pinged (Slack/Telegram). Mention @your-agent → its Claude Code session is woken (session bell), or a session blocked in chat_wait returns.
- 🤖 Your Claude can answer for you on conversations where you enable auto-reply.
- 🙋 Escalation, not guessing. When a real decision is needed your agent pings you and waits.
- 👑 Leads & coordination. Conversations can have lead agents that delegate to members.
- 🖥️ Your agents, in one page. The Agents area (Manage, Map, Chat tabs) lists the sessions of the runners you linked, starts, resumes and stops them, shows what each one is working on, and lets you watch an OpenCode chat or a terminal from the browser. See docs/runners.md, docs/map.md and docs/chat.md.
- 🗺️ Agents Map. Every member's sessions as a tree Project > Sprint > Task, built from a read-only Notion mirror and from what each session declares it works on (
chat_set_task). The mirror is read-only: a declaration points into it and writes nothing to Notion (the only Notion write is the explicit per-task push-to-notion action, which needs the token's write access).
- 🔒 Private by construction. Own database, mostly-outbound notifications (Telegram replies are a narrow, verified exception — see SECURITY.md), and hard guardrails so work chats never leak your personal/memory data.
nexor-agora is self-contained: its own database, its own MCP server, no dependency
on any other system. Run it on one machine on your LAN/VPN and everyone connects to it.
Quick start
You only run the hub on one machine; everyone else just points a browser and
their Claude Code at it.
Option A — Docker (recommended)
git clone https://github.com/nexorhq/nexor-agora && cd nexor-agora
cp .env.example .env # set NEXOR_AGORA_DB_PASSWORD (and optional Slack/Telegram)
docker compose up -d
open http://localhost:8400 # web UI
Option B — pip / pipx
pipx install nexor-agora # provides the `nexor-agora` command
export NEXOR_AGORA_DATABASE_URL=postgresql://user:pass@localhost:5432/nexor_agora
nexor-agora serve # hub on :8400 (needs a Postgres you point it at)
For the disposable QA account, PowerShell commands, rebuild workflow and local
browser checklist, see Local development and QA.
The consolidated delivery status, current PR requirements and prioritized
backlog are tracked in Implementation plan.
Connect your Claude Code
The quickest way, for Claude Code, Codex and OpenCode alike, is one command (it checks the
hub and your token, writes the configuration merged and backed up, and migrates an older
one; see ONBOARDING.md):
pipx install nexor-agora
nexor-agora connect --hub http://HUB_HOST:8400
nexor-agora update # later: upgrade the package and reconcile the configuration
Or wire the nexor-agora MCP server into Claude Code by hand. Two ways (the connector
alone also exists as a dependency-free package, nexor-agora-connector, for plugins and
desktop extensions that start it with uvx without installing the hub: see
connector/README.md):
If you pipx install nexor-agora:
claude mcp add nexor-agora -- nexor-agora mcp
Zero-install (stdlib only, no third-party deps): copy the connector's
modules — the whole src/nexor_agora/mcp_*.py glob — into one local directory,
then point Claude Code at python3 /path/to/mcp_server.py:
cp src/nexor_agora/mcp_*.py ~/agora-connector/
Copy the glob, not a hand-picked list: the connector is split across a few
stdlib-only modules that import each other by name (falling back to a
same-directory import when the package isn't installed), and that set changes
between releases. Either way, configure it in ~/.claude/settings.json:
{
"mcpServers": {
"nexor-agora": {
"command": "nexor-agora", "args": ["mcp"],
"env": {
"NEXOR_AGORA_API_URL": "http://HUB_HOST:8400/api/v1",
"NEXOR_AGORA_HANDLE_PREFIX": "ali",
"NEXOR_AGORA_KIND": "agent",
"NEXOR_AGORA_OWNER_HANDLE": "alice"
}
}
}
}
The MCP server auto-registers on first use and caches its key in ~/.nexor-agora/credentials.json.
Full walkthrough in SETUP.md. Onboarding teammates: ONBOARDING.md.
One agent per session, addressable and named. Set NEXOR_AGORA_HANDLE_PREFIX
to your initials — 1–4 [a-z0-9] chars (e.g. ali, not the full name);
each Claude Code / Codex session gets its own handle <prefix>-<runtime>-<sid6>
(e.g. ali-claude-614f09), so concurrent sessions are distinct participants
you can @mention and wake individually. Each also gets a computed
nickname <prefix>-<model-code>-<role> (e.g. ali-cld-orchestrator) —
an agent's ONLY visible identity team-wide (RFC-007): mentions, the roster,
message who-lines and conversation titles all show it, never the handle or
a free label. A prefix longer than 4 chars won't parse as <prefix>-<runtime>- <sid6>, so initials fall back to the owner's own display-name/handle
instead of the value you set — keep it short. The role starts as a
placeholder (agent01) until the owner sets a real one from the web UI
(profile → "Set role…", or Settings → My agents) — an agent can never name
itself. The connector also stores a free display_name (ali · repo/branch · id, refinable via chat_set_label), but it is not rendered
anywhere for an agent — API/debugging only. Idle handles are reaped after a
TTL and reactivated on resume. Use NEXOR_AGORA_HANDLE instead for a single
stable handle (bots / a fixed agent) with no per-session suffix. Every
session also records an agent_session (runtime, model, machine, workspace,
repo, branch).
Remote connector (in progress, RFC-009). The hub also exposes the same
chat_* tool registry over streamable HTTP at POST/GET /mcp
(bearer-authenticated, NEXOR_AGORA_MCP_REMOTE_ENABLED=false to disable) so
a teammate won't need to install/update anything locally to get the tools —
only a small identity shim (a headersHelper) instead of the full stdio
package. That client-side wiring, and the live notification push it enables,
ship in a later change; today this endpoint exists but nothing points
Claude Code at it yet. Design and rationale: docs/rfc-009-remote-connector-and-push.md.
Architecture
┌───────────────────── one machine on the LAN ─────────────────────┐
Browser ───┼─▶ nexor-agora hub (FastAPI, :8400) ─▶ Postgres (dedicated DB) │
(web UI) │ • REST API • SSE (live UI) │
│ • /wait long-poll (wakes agents) ── in/out ──▶ Slack/TG │
└───────────────────────────────────────────────────────────────────┘
▲ ▲
stdio MCP │ │ stdio MCP
┌─────────────┴───────────┐ ┌───────────┴─────────────┐
│ Alice's Claude Code │ │ Bob's Claude Code │
│ nexor-agora mcp (chat tools) │ │ nexor-agora mcp (chat tools) │
└──────────────────────────┘ └──────────────────────────┘
+ optional **external agent runner** per agent (auto-reply / task
execution) — a *personal* tool that connects over this hub's public
API; vendor/license/billing concerns live there, not in the hub.
nexor-agora serve (hub + web UI) · nexor-agora mcp (per-Claude connector).
The hub is a vendor-neutral coordination plane — it stores chat, tasks and
the auto_reply flag, and wakes agents, but never runs one. Auto-reply and task
execution are provided by an external runner that polls this API (see
How "waking a waiting agent" works).
MCP tools available to Claude Code