Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl init

Set up a project for OpenRelay: env template, and with --agent an AGENTS.md block and MCP config, part of the orl CLI for OpenRelay GPU VMs, pods, batches and…

orl init [flags]

Writes .env.example with OPENRELAY_API_KEY and the OpenAI-compatible base URL. With --agent it also writes an orl section into AGENTS.md (the rules and the journey from orl help --llm) and registers orl mcp serve in the project's MCP config (.mcp.json for Claude Code, .cursor/mcp.json for Cursor).

Safe to run again: orl owns only its marked blocks and its MCP entry, never writes a secret, and leaves an openrelay MCP entry of yours alone unless --force. --dry-run reports without writing.

Flags

FlagTypeRequired
--agentboolnoalso write the AGENTS.md block and the MCP config
--dirstringnothe project directory
--dry-runboolnoreport what would change without writing
--forceboolnoreplace an openrelay MCP entry that differs from orl's
--mcpstringnowith --agent, the MCP client to configure: claude, cursor or none

On this page