Rayu Code documentation
Start here

Rayu Code documentation

Rayu Code v3 is a native terminal AI coding agent: one binary, no runtime to install. Sign in once to use hosted models on one credit balance, narrow the tools it may use, and script it headless with rayu run.

Get started

Guides

Keyboard & inputThe prompt is a small editor. This page is the key map; the behaviour behind some keys lives in other pages. /help inside a session shows the same map, filteredPermissions & safetyRayuCode v3 does not show a per tool approval prompt during an interactive session. The model reads, edits and runs commands without asking. What protects you iSessions & checkpointsA session is one conversation plus the work it did, saved continuously. This page covers where sessions live, how to resume and fork them, and how to get back tMemory & project instructionsRayu reads standing instructions at the start of every session, before you type anything. They are how you stop repeating yourself: "we use pnpm, not npm", "a sSkills & pluginsA skill is a reusable procedure Rayu loads only when it is needed. Instead of putting a long workflow into RAYU.md and paying for it on every turn, you write itMCP serversThe Model Context Protocol connects Rayu to external tool servers: an issue tracker, a database, a design tool, a browser. Each server publishes tools, resourceSubagents & swarmRayu can spread work across several agents. In v3 there is one mechanism for that: the swarm . The agent spawns todo lane workers, each gets its own session witHooksHooks run your own commands at fixed points in a session: when a turn starts, when a tool is about to run, after an edit, when a session closes. Use them for ruHeadless & CIrayu run sends one message, prints the answer, and exits. It is the interface for scripts, cron jobs, git hooks, and CI: no terminal UI, no interactive prompt, IDEs & terminalsRayuCode v3 is a terminal program. It does not connect to a running editor, and there is no /ide command in v3. What it does have is careful terminal support: iMedia generationSome Rayu plans include hosted image and video models, reachable with the same Rayu API key that serves chat. This page covers the API surface and the credit mo

Models and providers

Plans and billing

Reference