by OktoLabsAI
Local-first MCP coordination hub for multi-agent teams, with durable messaging, handoffs, governance, and observability.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/OktoLabsAI/okto-nexusGuides for using ai agents skills like okto-nexus.
Local-first coordination for teams of AI agents.
Okto Nexus is an MCP server and operator hub for agents working in the same repository. It gives them durable identities, presence, messages, inboxes, handoffs, artifacts, an event log, governance controls, and a live dashboard without requiring a cloud broker.
okto-nexus serve exposes the complete hub on one port:
/mcp — MCP over streamable HTTP, authenticated as an agent;/api/v1 — operator REST APIs, read-only monitor endpoints, and SSE;/ — the bundled React dashboard.MCP is available through HTTP. Coordination records live in one
SQLite database in WAL mode. Optional metrics, referenced workspace files, and
the derived shared.md view live outside that database.
| Release fact | Value |
|---|---|
| Package | okto-nexus 0.3.0 (development) |
| Python | >=3.11 |
| MCP surface | Use tools/list for the active feature configuration |
| MCP resources | 12 versioned reference resources |
| MCP prompts | 0 |
| Surface revision | 62 |
| Database schema | Read the installed revision through nexus_info |
| Storage | local SQLite/WAL catalog + adapter-backed artifact payloads |
project_root is
canonicalized and hashed into a deterministic workspace_id. Every client
that resolves the same real path joins the same workspace.For current local and remote execution setup, use the
R4 operations guide. Nexus embeds
Core locally; the Connector application is required only on remote execution
hosts. Agents connect directly to HTTP /mcp. Legacy native launch factories
and Nexus MCP stdio have been retired.
This is a development release. Four adapter catalog entries do not establish four qualified native integrations. The acceptance ledger and evidence index distinguish installed contract tests from final provider/platform/multi-host qualification. Final G0–G3 acceptance remains open.
The recommended install includes the HTTP hub, dashboard, local embedding provider, and tokenizer:
uv tool install "okto-nexus[serve]"
okto-nexus serve
Equivalent with pipx:
pipx install "okto-nexus[serve]"
Available extras:
| Extra | Includes | Use it when |
|---|---|---|
| none | CLI and coordination library | You are embedding Nexus components |
serve-lite |
FastAPI, Uvicorn, Core, dashboard | You need HTTP without Torch/model dependencies |
embeddings |
sentence-transformers | You want the local embedding provider separately |
serve |
HTTP stack, Core, embeddings, tokenizer | You want the complete supported hub |
dev |
pytest, FastAPI, Uvicorn, httpx | You are developing or testing Nexus |
The published wheel and sdist contain the compiled dashboard. Node.js is only needed when rebuilding the frontend from source.
From a checkout:
git clone https://github.com/OktoLabsAI/okto-nexus.git
cd okto-nexus
uv sync --extra dev
# Complete HTTP build:
uv sync --extra serve --extra dev
okto-nexus serve
Defaults:
0.0.0.0:8202 (all IPv4 interfaces);http://127.0.0.1:8202/;http://127.0.0.1:8202/mcp;~/.okto_nexus;~/.okto_nexus/nexus.db;Useful variants:
okto-nexus serve --project-root /absolute/path/to/project
okto-nexus serve --host 127.0.0.1 --port 8202 # loopback-only access
okto-nexus serve --trust-mode strict
okto-nexus serve --embedding-mode local
From another computer, use http://<server-network-IP>:8202/. Remote dashboard
access requires an operator login configured locally in Settings → Operator access.
MCP and Connector clients continue to authenticate with agent API keys.
--host overrides OKTO_NEXUS_HOST; either can restrict the listening address.
On first use, open Agents → New agent in the dashboard. Create one identity
per participant and copy its nxs_... key immediately: Nexus stores only the
hash and shows plaintext only at creation or regeneration. Capability and tag
values must first exist in Registry before an identity can use them.
A worker that runs under a harness needs four things before the hub starts its work from a broadcast handoff. Each item below is a separate gate.
serve:
--harness-root P approves one installation root. Repeat the flag for
each trusted directory. The hub accepts at most 32 roots.--pi-install-root P and --pi-node P set the Pi installation. Use
both flags together. Use --pi-node only for a Node executable.execute_work
action. Finding an installation does not give authority.broadcast_handoff_auto_claim for the agent, or for the
global default, in the runtime policy. The default is off for each agent.runtime_handoff_auto_claim_enabled (default true; env
OKTO_NEXUS_RUNTIME_HANDOFF_AUTO_CLAIM_ENABLED) and
feature_harness_integrations (default true) are on. If one is off,
the hub does not start new work. Recovery of existing work continues.Details: R4 operations guide.
Configure the selected MCP client to use this streamable-HTTP endpoint:
http://127.0.0.1:8202/mcp
Send the existing agent key in the Authorization: Bearer nxs_... header.
The HTTP endpoint still accepts older query-key configurations during
migration, but new configurations should keep the key out of the URL.
Generic client configuration shape (use the fields your client supports):
{
"mcpServers": {
"okto-nexus": {
"url": "http://127.0.0.1:8202/mcp",
"headers": {"Authorization": "Bearer nxs_REPLACE_ME"}
}
}
}
Every authenticated agent should do this on its first turn:
agent_whoami(), use the returned agent_id consistently, and treat
its role and communication.content as the default operating contract.workspace_resolve(project_root=<absolute cwd>).session_open(agent_id=<you>, workspace_id=<resolved id>) and retain
the returned session_id and one-time session_secret.inbox_count(agent_id=<you>); pull and acknowledge backlog.event_cursor(project_root=..., agent_id=<you>, stream="workspace").The full procedure is available at
okto-nexus://reference/preflight.
The role guides responsibilities, operating perspective, and decision boundaries. The communication block guides tone, format, language, verbosity, structure, and agent-to-agent as well as user-facing communication. Follow both unless the user explicitly directs otherwise for the current task or interaction. That task-scoped override does not modify the Nexus profile or bypass permissions, policies, guardrails, approvals, communication scope, safety rules, or higher-priority host instructions. Capabilities are routing claims, not authorization or persona.
{
"project_root": "/absolute/path/to/project",
"from_agent_id": "r
okto-nexus is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by OktoLabsAI. Local-first MCP coordination hub for multi-agent teams, with durable messaging, handoffs, governance, and observability. It has 108 GitHub stars.
okto-nexus's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/OktoLabsAI/okto-nexus" and add it to your Claude Code skills directory (see the Installation section above).
okto-nexus is primarily written in Python. It is open-source under OktoLabsAI on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh okto-nexus against similar tools.
No comments yet. Be the first to share your thoughts!