Skip to content

Agents

NordRelay supports multiple coding agents behind one WebUI, one user model, and one chat command core.

Supported adapters

AdapterEnable keyNotes
CodexNORDRELAY_CODEX_ENABLEDCodex SDK/CLI sessions, launch profiles, approvals, active CLI discovery
PiNORDRELAY_PI_ENABLEDPi CLI sessions, thinking/profile defaults, active discovery where available
HermesNORDRELAY_HERMES_ENABLEDUses the Hermes API Server for streaming runs and session continuity
OpenClawNORDRELAY_OPENCLAW_ENABLEDUses the OpenClaw Gateway WebSocket RPC endpoint
Claude CodeNORDRELAY_CLAUDE_CODE_ENABLEDUses the Claude Agent SDK and host claude CLI when available

Select the default agent

dotenv
NORDRELAY_DEFAULT_AGENT=codex

Valid values are codex, pi, hermes, openclaw, and claude-code.

Explicit CLI paths

Use explicit paths when an agent is not on PATH:

dotenv
CODEX_CLI_PATH=/absolute/path/to/codex
PI_CLI_PATH=/absolute/path/to/pi
HERMES_CLI_PATH=/absolute/path/to/hermes
OPENCLAW_CLI_PATH=/absolute/path/to/openclaw
CLAUDE_CODE_CLI_PATH=/absolute/path/to/claude

Launch profiles and permissions

Each adapter maps its own permissions into NordRelay launch profiles. The WebUI and chat adapters show the current launch profile and allow switching where the agent supports it.

For Codex, launch settings include:

  • sandbox mode: read-only, workspace-write, or danger-full-access
  • approval policy: never, on-request, on-failure, or untrusted
  • optional unsafe profiles behind ENABLE_UNSAFE_LAUNCH_PROFILES=true

Agent updates

The WebUI Version page can check and start updates for NordRelay and installed agent CLIs. Update jobs write separate logs and refresh version status when they finish.

The CLI can update NordRelay itself:

bash
nordrelay update

Released under the MIT License.