- macOS 15+ (Apple silicon)
Configure credentials
Run setup after installing. It checks prerequisites, asks for your RELAI API credentials, and saves your theme in
~/.relai/config.toml. It also installs plugins for any detected coding agents (Codex or Claude Code).The default API URL is
https://api.relai.ai.Create or manage CLI keys from the API keys page. Never paste or commit API keys.
Initialize your project
From your git-tracked agent directory, register the project and generate the simulator harness.
relai init registers the project and generates a custom simulator harness for your agent. See the project requirements for what RELAI needs from your project.Prerequisites
RELAI expects these tools on yourPATH. It creates a project-local simulator virtualenv at .relai/simulator/.venv that must run Python 3.11+.
Project requirements
Before runningrelai init, make sure that:
- the project is a git repository with at least one commit.
- the project is structured as a valid Python module from which your agent can be imported.
- the simulator environment can run on Python 3.11 or newer.