Quick start
Install with one command, then run rofiant from the project you want to work on.
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/RofiantAI/Rofiant-Code/main/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/RofiantAI/Rofiant-Code/main/install.ps1 | iexRofiant Code needs an OpenAI-compatible model endpoint. Set one before launch:
export AI_API_KEY="your-key"
export AI_BASE_URL="https://openrouter.ai/api/v1"
export AI_MODEL="nvidia/nemotron-3-super-120b-a12b:free"
rofiantOr run /login inside the app to save a key locally instead.
Build & plan modes
Press Tab to switch between the two operating modes.
ModeDescription
Build Full coding mode with permission prompts based on each tool's risk classification.
Plan Read-only exploration using file search, file reads, Git diff, and task tracking.
Commands
/help Show commands and shortcuts/new Start a new session/model [id] View or change the model/login Open the provider sign-in and API-key selector/compact Summarize and replace earlier history/status Show project, Git, provider, and model information/diff Show Git changes/sessions List recent project sessions/usage Show token usage/skip-permissions Toggle permission bypass after confirmation/exit Exit Rofiant CodeConfiguration
Rofiant Code reads its configuration from environment variables.
AI_API_KEY - Provider API keyAI_BASE_URL https://openrouter.ai/api/v1 OpenAI-compatible API base URLAI_MODEL nvidia/nemotron-3-super-120b-a12b:free Model IDAI_MAX_CONTEXT_TOKENS 100000 Context trimming budgetROFIANT_WEB_URL https://www.rofiant.ca Rofiant login URLROFIANT_DANGEROUSLY_SKIP_PERMISSIONS - Set to 1 to bypass permission promptsSkills
Rofiant Code discovers SKILL.md files from project directories (.rofiant/skills/, .claude/skills/, and similar) and user-level config directories. Invoke a discovered skill with /<skill-name> [request].
Subagents
Send a task to a focused one-shot subagent by starting the message with its name.
$explore Read-only repository investigation$general Full-capability coding task$explore find where authentication state is stored