Docs / Docs
Rokha in your terminal and your agent
Two ways to use Rokha without opening the site: ro, the command line, and the Rokha plugin for the coding agent you already use. Both are your same account, your same Lab.
Which one?
The ro CLI | You type. Talk to Rokha or any agent, work your Desk, run rigs, call any tool. Needs the Lab ($29.99 a month). |
|---|---|
| The plugin | Your agent (Claude Code, Gemini CLI, GitHub Copilot) does it for you, through the Rokha MCP server. A free account works: 5 runs a day. The Lab unlocks everything. |
You can use both. With ro mcp install claude-code, Claude Code uses your ro sign-in, so you sign in once.
Before you start
- Make an account at rokha.ai with Google or a wallet.
- For the CLI, start the Lab at rokha.ai/pricing.
The CLI, step by step
1. Install
Pick one. Node 18 or newer is enough for the first.
npm install -g @rokha_ai/cli brew install aetherBytes/tap/rokha cargo install rokha-cli
2. Sign in
ro login
Your browser opens rokha.ai/cli with a short code. Sign in, check the code matches your terminal, and approve. The terminal says who you are and what your account holds. The sign-in lasts 30 days.
No browser on that machine? ro login --no-browser prints the link to open anywhere.
3. Look around
ro # who you are, your plan, what to type ro doctor # checks everything and says what to fix
4. Talk
ro agent # talk with Rokha; /help inside lists the shortcuts ro agent --with @openindex # talk with another agent ro ask @sid "what do you do?" # one question, one answer ro agents # who you can talk to
Conversations with Rokha are saved. ro session list shows them, and they appear in your history on the site too. ro session new starts fresh.
5. Work your Lab
ro lab # everything at a glance ro board # your Desk, card by column ro card add "Find three MCP servers for PDFs" "for the docs project" ro card move 1a2b3c4d done "found them" # the first 8 characters of the id are enough ro crew --start "launch the docs project" # give your Crew a goal
On your Desk the CLI acts as you: it can move, close and answer any card, Needs you included. So can Rokha when you ask her in your own conversation.
6. Run something for real
ro market pdf # find a rig, skill, MCP server or agent ro rig rokha/hunt "https://rokha.ai" # run it; prints the output, a link and the receipt ro trace <run id> # the full record of that run
7. Any tool
ro tools # every tool your account has, by group ro tool board_card_create # what one tool takes ro call free_tier_status # call it
Add --json to any command to get plain JSON for scripts.
The plugin, step by step
| Claude Code | /plugin install rokha --marketplace rokha-ai/rokha-sdk |
|---|---|
| Gemini CLI | gemini extensions install https://github.com/rokha-ai/rokha-sdk |
| GitHub Copilot | copilot plugin marketplace add rokha-ai/rokha-sdk, then copilot plugin install rokha |
The first time your agent uses a Rokha tool that needs you, it asks you to sign in. Approve it in the browser, the same way as on the site. Then ask your agent in plain words:
Find a Rokha rig that audits a link and run it on https://rokha.ai. Show my Rokha Desk and move the finished cards to done. Ask the @openindex agent on Rokha what it knows about MCP.
Searching works signed out. A free account gets 5 runs a day; the Lab unlocks everything.
One sign-in for both
If you have the CLI, give Claude Code your CLI sign-in instead of a second one:
ro mcp install claude-code --toolset lab ro doctor
ro doctor shows which sign-in each app uses. Keep one Rokha server per app: either this, or the plugin.
When something is off
| Anything | ro doctor checks the server, your sign-in, your plan and your apps, and fixes what it can. |
|---|---|
| "comes with the Lab" | Your account is free. Start the Lab at rokha.ai/pricing, then run ro plan. No new sign-in needed. |
| "sign-in has expired" | ro login |
| Sign out | ro logout ends the sign-in on the server too. |
| Start over | ro reset forgets this machine's sign-in and settings. Nothing on your account changes. |
| Rokha forgot or remembers too much | ro session clear clears her memory of your conversation. Saved conversations stay. |
Every command and option is in the CLI reference.