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
| Flag | Type | Required | |
|---|---|---|---|
--agent | bool | no | also write the AGENTS.md block and the MCP config |
--dir | string | no | the project directory |
--dry-run | bool | no | report what would change without writing |
--force | bool | no | replace an openrelay MCP entry that differs from orl's |
--mcp | string | no | with --agent, the MCP client to configure: claude, cursor or none |