Skip to main content
The Arka Agent Hub is a shared interoperability layer for coding agents launched via ollama launch. Arka does not patch or fork external agents. Instead, it exports canonical config files, merges MCP into known agent paths when you opt in, and sets environment variables that any agent can read.

What gets shared

Quick start

From fish:
Natural language:

Full unification (v2)

Export-only (agent_hub sync) copies hub files and writes launch.env — safe, no external config changes. Full unification (agent_hub sync --unify) additionally:
  1. MCP merge — Adds hub mcpServers into each agent’s known config path (creates file if missing). Existing user servers are preserved unless you pass --replace.
  2. Memory bundle — Writes context.md, memory/README.md, and optionally copies the tail of OpenClaw MEMORY.md into hub/memory/openclaw_memory_tail.md.
  3. Skills docs — Writes skills/INSTALL.md with manifest paths and env vars.
  4. Launch contract — Regenerates launch.env with the full env var set.
Before --unify runs, Arka auto-backs up your config directory to config/backups/arka-config-YYYY-MM-DD.tar.gz (default on). Disable with ARKA_CONFIG_BACKUP_ON_UNIFY=0, or run arka config backup manually anytime. Use agent_hub detect to see which config files exist locally, agent_hub adapters to see what would merge or is already merged, and agent_hub tools to list exported MCP servers without exposing credentials.

Supported agents

Each agent has documented MCP config paths (Cursor, Claude Desktop, ~/.codex/mcp.json, etc.). sync --unify merges into all paths for that agent.

Environment contract

When you run agent_hub launch or source launch.env, Arka sets: Agent-specific aliases (only where documented):

Memory import

Import memory into Arka from hub exports, session notes, or IDE-specific stores (Cursor rules, Codex AGENTS.md, OpenClaw MEMORY.md, and more). Imported text passes through Arka security gates before writing to unified memory or session notes.

CLI

MCP (Cursor, Claude Code, VS Code)

Use arka_agent_hub from any connected MCP client:
Returns importable files grouped by source id, for example arka_session, cursor, arka_hub, or agent:openclaw.
Typical workflow:
  1. Call memory_sources to see which IDE files exist on this machine.
  2. Import one source (source) or everything detected (all: true).
  3. Confirm with arka memory status or arka_recall from MCP.
From the terminal:

Supported IDE memory locations

Only files that exist locally are returned by memory_sources. Empty files are skipped with an error in the import result.

Formats

MCP adapters

agent_hub sync writes snippet files under ~/.config/arka/hub/adapters/ showing how to merge hub MCP servers into Cursor or Claude Desktop configs. With --unify, Arka merges hub servers directly into each agent’s documented MCP paths (add-only by default). To fully overwrite agent MCP with hub servers:
Legacy --force still merges into Cursor/Claude Desktop adapter targets.

Scoped export (edge / ClawBox)

On always-on edge devices (Jetson Orin, ClawBox), limit what the hub exports so shared context does not become shared trust:
Recommended edge pattern:
Hub exports include trust_tier and provenance on facts plus a scratchpad_preview for scoped workflow memory. Create a scoped team from template: