OpenCognitOpenCognitDOCS

OpenClaw Gateway

Connect your existing OpenClaw agents to OpenCognit — bring their knowledge base, memory, and capabilities as expert agents.

What is the OpenClaw Gateway?

The OpenClaw Gateway lets users of OpenClaw connect their existing AI agents to OpenCognit. The agent brings its full knowledge base and memory — and can immediately take on roles in your virtual company (developer, researcher, analyst, etc.).

Tasks are delegated to OpenClaw via WebSocket. Results flow back into OpenCognit's task system. Your data never leaves your OpenClaw instance.

OpenCognit  ──── task ────►  OpenClaw Agent

                              (local knowledge,
                               memory, tools)

OpenCognit  ◄─── result ─────────┘

Setup (2 steps)

Step 1 — Get your Connection Token

  1. Open Settings → OpenClaw Gateway in OpenCognit
  2. Copy the Connection Token
  3. If you don't have one yet, one is created automatically on first visit

Step 2 — Connect in OpenClaw

  1. Open your OpenClaw instance
  2. Go to Settings → OpenCognit Bridge
  3. Paste the token and your OpenCognit URL
  4. The agent registers automatically as an expert in your OpenCognit company

Once connected, OpenCognit shows a notification with the option to configure the agent immediately.


After Connection

The OpenClaw agent appears in your Agents list with connection type openclaw. You can:

  • Assign tasks to it like any other agent
  • Set a heartbeat interval for autonomous work
  • View task results in the activity feed

Note on CEO / Orchestrator role: An OpenClaw agent can be flagged as Orchestrator in OpenCognit — but the orchestration logic (goal breakdown, task delegation, Critic loop) runs inside OpenCognit, not inside OpenClaw. The OpenClaw agent's knowledge and memory are used for the tasks it receives as a worker. For best results, keep a native Claude-based agent as CEO and use OpenClaw agents as specialized workers.


Security

  • The token is scoped per company — one token per company
  • Regenerate the token at any time (invalidates the old one immediately)
  • All communication is authenticated via x-openclaw-token header
  • OpenClaw agents cannot read or write files on the OpenCognit server

API Reference

EndpointDescription
GET /api/openclaw/token?unternehmenId=Get or auto-create the company token
POST /api/openclaw/token/regenerateRotate the token
POST /api/openclaw/joinOpenClaw agent self-registers
GET /api/openclaw/agents?unternehmenId=List connected OpenClaw agents