Skip to content
Projects

wangzhe04/ruyi-workbench-oss

View on GitHub

About

开源 Windows 本地 AI 工作台|OpenAI-compatible + Claude CLI,99 个桌面/Office 工具,可回退文件操作与可视化多 Agent 工作流。

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

Ruyi (如意) · A Local AI Workbench

Ruyi

简体中文 · English

Turn "chatting with a model" into "having the model get the job done" — on your own Windows PC, with offline use through a local or intranet model.

License Windows e2e Offline e2e Zero npm deps Third-Party Notices

Ruyi is a clean-room, local AI workbench for Windows. Give it a model it can reach — an Anthropic Messages or OpenAI-compatible endpoint (a cloud API, an on-prem vLLM, a local Ollama or LM Studio) or a locally installed Claude Code / Kimi Code CLI — and it actually does the work on your machine: reads and writes files, runs scripts, drives Office and the desktop, and dispatches teams of sub-agents. A steward keeps watch over everything in flight.

Ruyi 3.0.2. Fixes prompt caching across Claude turns and preserves tool calls when an Anthropic-compatible gateway rejects cache settings. Download 3.0.2 · Release notes · Full changelog

Engineering result: Ruyi + DeepSeek V4.1 Flash resolves 44/51 SWE-bench Pro V2 HARD-51 tasks (86.27%) for an estimated CNY 42.15 in model API charges. That is 3.93 percentage points behind the official Astra + Codex result and 1.93 behind Sonnet 5 + Claude Code. Comparison, protocol and all 51 task summaries. This local single run used a Ruyi 3.0.0 runtime build; the results ship with 3.0.1.

The feature descriptions and development counts below track the current source and may include merged changes that are not yet released. Each package's release notes define what it ships.

What you can do with 3.0

  • Keep track of everything. The steward shows what is running, what needs your decision and what is done, and brings you a reminder when needed.
  • Delegate with room to undo. Choose from five permission levels. Supported file changes have checkpoints; undo one change or rewind a conversation and its files.
  • Bring in a team. Let sub-agents research, write, review or compare options while you continue your own work.
  • Keep long conversations useful. Older tool output folds away, a scratchpad holds intermediate findings, and progress and failures stay visible.
  • Use your preferred model. Connect Anthropic, OpenAI-compatible services, local or intranet models, Claude Code or Kimi Code.
  • Make everyday work easier. Voice input, scheduled tasks, diagrams, conversation search and a migration center are included.
Ruyi's workbench view: one sentence has the AI read a CSV and write a report; the answer has a findings table and the side pane lists the file change, which can be undone

▲ The workbench view: one sentence asks the AI to read sales.csv in the workspace folder and write the report to report.md. The answer carries a findings table, the write only happened after you allowed it, and the "Changes" tab on the right undoes it one change or one turn at a time. (The screenshots show the Chinese interface; the whole UI is also available in English.)

Contents


Get started in three steps

No coding and no command line required. Once you have a release package (the Full or Slim Ruyi-<version>-*.zip):

  1. Extract the whole ZIP first — do not run anything from the ZIP preview. A short path such as C:\Ruyi is recommended; if the extractor complains about long paths, do not choose "Skip".
  2. Double-click Start-Workbench.cmd. The package ships its own Node runtime, so there is nothing to install. With the desktop shell RuyiDesktop.exe present it opens in its own window; otherwise it opens in your browser.
  3. Follow the welcome wizard: language → engine → model provider → steward model → workspace → safety → done. Complete the steps needed for your chosen engine; enter the provider address and model name before testing the connection.
    • Local models: install Ollama or LM Studio, pull a model, and choose it in the wizard — no key needed.
    • Cloud or on-prem endpoints: enter the Base URL and API key your provider gave you and press "Test connection".
    • CLI engines: if Claude Code or Kimi Code is installed, the wizard detects it.

You can skip the wizard and reopen it from the top-bar gear menu → Help → Reopen the setup guide. Help also contains the manuals and logs; diagnostics are available from Health · usage at the bottom of the left rail or Settings → System → Diagnostics.

What to say first

Talk to it the way you would brief a colleague: what you want, where it is, and what the result should look like.

  • "Analyse sales.csv in the workspace folder, give me three findings, and write the full report as Markdown."
  • "Sort the installers, invoices and contracts in my Downloads folder into three folders; leave everything else alone."
  • "Every Monday at 9 am, turn last week's new files into a list of material for my weekly report." (Hand this to the steward; it creates a scheduled task.)
  • "Do a deep-dive on vector databases for our use case, with sources." (This triggers multi-agent orchestration on its own.)

When information is missing, the AI shows you a question card instead of guessing.


What Ruyi is

Most AI tools fall into one of three camps: cloud chat apps (they can only talk), coding CLI agents (made for programmers), and cloud automation agents (they live on someone else's server). Ruyi takes the spot none of them hold: on your machine, actually doing things, reversible, and safe for people who do not write code.

One file, zero dependencies The backend runtime is a single app/server.js (concatenated from 77 ordered modules in app/src/, byte-reproducible) with zero npm runtime dependencies — Node built-ins only. The frontend is 70 framework-free ES modules with no build step.
120 native tools · 108 ACC tools Files, terminal, search, Git, web, Office hand-off, cross-thread history, sub-agent orchestration and steward tools; the optional ACC desktop-control component adds 108 more (screenshot, OCR, UIA, keyboard and mouse, windows, browser, Office, PDF).
8 templates · 10 roles · tested 8 built-in multi-agent workflows and 10 node roles. The repository contains 539 e2e cases (532 in the default regression; 7 live probes that need a real API or desktop are opt-in), plus 278 unit suites and 25 ACC smoke groups. Windows CI runs the offline regression, unit tests and the ACC subset that does not require a real desktop.

Formerly Win Claude Workbench, renamed Ruyi at v0.8 — partly for trademark caution, partly because an old system prompt made provider models introduce themselves as "Claude". Ruyi (如意) means "as you wish"; the mark is a blue-and-white ruyi cloud motif.

Who it is for

  • Knowledge workers who do not code: tidy folders, merge Excel workbooks, OCR scans, summarise PDFs, draft weekly reports, outline presentations, get reminded on time. Simple mode replaces jargon with plain language, and common jobs are one-click task cards.
  • Power users doing engineering work: run scripts, review code, hunt bugs, run multi-agent research and technology selection, design workflows visually, bring your own MCP servers and CLI engines.
  • Teams with intranet and compliance requirements: works fully offline, model endpoints can point only at internal services, a single dependency-free backend and a build-free frontend keep the audit surface small, and there is zero telemetry.

Design principles

  • Offline first: it runs with or without internet; online abilities (search, fetching) degrade visibly when offline instead of pretending.
  • Reversible: supported file changes have checkpoints, and conversation and files roll back together; anything that cannot be undone says so when it asks for approval.
  • Honest: "done" is claimed only on a receipt, cost is estimated only from prices you entered and labelled as not an invoice, and failure reasons come from the workbench's own table rather than the model's imagination.
  • You decide: you choose the permission level and make the important decisions; steward writes face extra restrictions after reading external content.
  • Bilingual: the interface, prompt packs, built-in skills and quick tasks all exist in Chinese and English and load with the interface language.

Two views: steward and workbench

One workbench, two views, switched with a segmented button in the top bar; the thread list on the left is shared. New installs start in the steward view.

The steward view: threads grouped by "Waiting on you" and "Wrapped up today" on the left, the conversation with the steward in the middle, and the selected thread's pending decision on the right

▲ The steward view: threads are grouped by "waiting on you" and "wrapped up today"; ask the steward "how are these going?" and it answers thread by thread; the right pane shows the thread waiting for your go-ahead, with Allow / Deny right there.

The steward view is a conversation: tell it what you want, and it opens a thread to do it (or hands it to an existing thread) and reports back when it is done.

  • The left pane groups threads by state (waiting on you / running / wrapped up today …) and the top bar counts how many are running and how many are waiting on you. The right pane shows the selected thread: what it is waiting for, Allow / Deny buttons, its permission / model / engine, and a box to talk to that thread directly without going through the steward.
  • The steward speaks up only when it should: trouble in another thread shows a "quiet card" that does not steal focus, question pop-ups never interrupt you while you are typing, and every pending decision gathers in the "Waiting for you" tray.
  • "Up next" at the bottom of the right pane lists the scheduled tasks about to fire.

The workbench view is the three-pane layout where every step is visible:

Area What is there
Left pane Thread list (search, pin, rename, grouping), "Start a task", and entries for scheduled tasks, action log, what it remembers about you, and health · usage
Thread header Thread name, workspace folder, state, "hand to the steward", and this thread's own permission / model / engine (affecting only this thread), plus the context meter
Middle Conversation and Crew (the live multi-agent canvas); under each answer: the turn record (tool calls), the turn's file changes (undoable) and the turn's usage
Composer Agent-team toggle, skills, attachments, voice; while a turn runs you can steer it or stop it
Right pane, seven tabs Files (workspace tree, safe preview on click) · Artifacts · Changes (reversible file changes) · Memory · Workflows · Usage · Activity (the audit timeline)

Let the AI act — and still take it back

Letting the AI act only works if you can undo what it did:

A permission request: the model wants to move an installer into a new folder; the dialog says the action can be undone in one click and offers Deny, Allow or Later

Five safety levels (switch any time from the shield button in the top bar; switching does not interrupt a running turn):

Level Behaviour When to use it
Ask me every step Asks before editing files or running commands; reads are not asked When you are getting started or handling important files
Edit files without asking File edits run automatically; commands and other sensitive actions still ask You trust its file edits but not free-running commands
Plan only Writes a plan and does not act until you approve it Complex jobs where you want to see the approach first
Smart auto (default for new installs) The AI judges risk: low-risk actions run, high-risk ones still ask Everyday work the steward looks after (switching to it asks for confirmation; upgraded installs keep their previous level)
Fully automatic Never asks (shown with a warning style) Only when you fully understand the task and it is safe (switching asks for confirmation)
  • Three tool tiers: read / edit / exec. Exec-tier actions can never be allowed persistently; read and edit tiers can be set to "Auto-allow this tool for this thread".
  • Threads can only tighten: threads the steward opens get their own default level; a single thread can be tighter than the global level, never looser.
  • File checkpoints: before any write, edit, delete, move, copy, unzip or download, the "before" state goes into a checkpoint journal. Undo one change or roll back a whole turn; code tasks also take a workspace baseline at the start of a turn, so changes that bypass the file tools (a script writing files, say) are caught too. Anything that cannot be undone automatically (commands, very large files) says so on the approval dialog.
  • Conversation rewind: rewind a thread to any earlier turn and optionally roll back the file changes made after it — conversation and files go back together, not just the chat history.
  • Audit timeline: every turn, tool call and permission decision goes into an NDJSON audit log, filterable by source and type in the "Activity" tab; secrets are redacted before anything reaches the UI.
  • Receipts only: completion claims such as "scheduled / sent / created" are driven solely by handler receipts; without a receipt it says plainly "I started it but got no receipt".
  • Autonomy grants: when you want a stretch of uninterrupted work, issue a temporary grant from the local UI that is narrower than the current permission — file paths, command prefixes, network access, count and expiry can all be limited — and revoke it any time. There is no "all tools, whole workspace, unlimited" preset.
  • Steward approvals have hard limits: only in Smart auto, only for threads it looks after, and only after every safety check passes. Payments, disk formatting, registry and firewall changes, shutdowns and reboots are outside its delegated approval scope. Uncertain cases come back to you.
  • Local hardening: the server listens on 127.0.0.1 by default; the page credential is handed over by a handshake rather than embedded in HTML; a Host allowlist blocks DNS rebinding; web fetching restricts private and loopback addresses; general HTTP access to internal networks is subject to permission checks; keys, sessions and audit files in the data directory are denied to the file tools in both directions (including junction and short-name tricks); secrets in API responses are masked. See SECURITY.md for the threat model.

Capabilities (current master)

Capability Summary More
Engines: any model endpoint OpenAI-compatible endpoints (Chat Completions or Responses API) and Anthropic Messages endpoints (Anthropic itself or a compatible gateway), with no bundled vendor presets; local Ollama / LM Studio need no key; Claude Code or Kimi Code as Agent CLIs; switch engines mid-thread and keep the context §1
Native tool loop 120 native built-in tools with read / edit / exec approval tiers, on-demand tool loading, batching of independent calls and staging of dependent ones §2
Structured questions Single choice, multiple choice, free text, "choices + other"; the card closes only once the answer reached the model §1
Multi-agent orchestration 8 templates, 10 roles, 5 quality gates, conditions and loops, resource leases, worktree isolation, a graphical editor and live canvas; team mode; background sub-agents §3
The steward Five thread states, a "waiting for you" queue, quiet cards, persona and voice, memory with expiry and scope, over a hundred changeable settings, propose-only after reading external content §4
Scheduled tasks Once / daily / weekly / monthly / cron; remind only or run a turn; honest handling of missed runs §5
Desktop and Office Optional ACC v1.9.1: 108 tools, OCR + UIA text grounding so text-only models can drive the desktop; Word / Excel / PowerPoint / PDF §6
Voice input Text appears as you speak and each sentence is corrected when you pause; local components or cloud models §7
Skills / memory / Playbooks 20 built-in skills in a four-source library; draft-then-confirm workbench memory; 16 built-in Playbooks §8
Migration center Imports global instructions, MCP servers and plugin skills from Claude Code, Codex and Kimi; migrates older Ruyi installs §9
Web search Zero-config built-in search plus six optional backends; fetching with SSRF defenses and an offline cache §10
Usage and cost Per-currency, per-call accounting, honest estimates, every path metered, monthly budget alerts §11
Long sessions Tiered compaction, observation shrinking with on-demand recall, session notes, a context meter §12
Interface and language Chinese / English / follow system, dark / light / follow system, expert and simple modes, Mermaid diagrams, command palette §13
Extensions Drop-in MCP connectors; ruyi-toolbox components discovered automatically §14

Features in depth

1. Engines and models

  • OpenAI-compatible endpoints (the native engine): direct HTTP + SSE streaming with a full native tool loop. Choose Chat Completions, the Responses API (server-side tool loop) or Anthropic Messages (Anthropic itself and Anthropic-compatible gateways; signed thinking blocks are passed back unchanged within a tool loop); main turns, sub-agents, summaries and Playbook drafting all follow the chosen protocol. No vendor presets are bundled (the starting points are local Ollama, local LM Studio and one "custom" entry; an Anthropic-compatible gateway uses "custom" too, and the protocol drop-down follows the address automatically — paste an address ending in /anthropic and it switches to Anthropic Messages): enter the Base URL and key your provider gives you (a cloud API, a one-api gateway, an on-prem vLLM); local Ollama / LM Studio need no key. Configure as many providers as you like, each with its own model list, prices, cache-hit prices and request headers.
  • Agent CLIs: choose Claude Code or Kimi Code. Claude Code supports live streaming, interactive steering, permission bridging, native agents and per-turn MCP configuration, and can target third-party Anthropic-compatible endpoints (Coding Plans); Kimi Code is driven through its official ACP protocol (see the compatibility limits below). Both receive a "Ruyi environment briefing" describing which Ruyi tools exist, how the UI renders things and how permissions work.
  • Model assignment: one settings page decides which model does what — the main conversation model, the default engine for new threads (last used / follow global), the steward, the strong and fast tiers, sub-agents, context compaction and voice correction. Changes save immediately; "follow" means the row is not set separately.
  • Cross-engine continuation: switch a thread from an endpoint to Claude Code or back and the history is grafted over; the context carries on. Switching on the thread header affects only that thread.
  • Structured questions: both engines share one request_user_input channel with single choice, multiple choice, free text and "choices + other", stable option IDs and descriptions; the card closes only once the answer is confirmed delivered, and questions from background threads surface right away.
  • Plan mode: a plan first, action only after you approve (a real flow in the provider engine, not prompt decoration).
  • Capability matrix: vision, reasoning traces and tool calling are probed and labelled per endpoint, so the UI tells you what is missing.
Kimi Code compatibility limits

Kimi Code is driven through its official ACP (JSON-RPC / NDJSON). Native tool events, Ruyi's permission approvals, native plan snapshots (read-only, updated in place by planId) and structured questions are bridged into Ruyi's UI, and context usage and native compaction read Kimi's own authoritative state. Capabilities follow the ACP shapes: request_permission is single-select and elicitation/form supports multiple choice; not every native question shape is claimed to support multi-select. The ACP child process currently closes when a prompt ends, so cross-turn Goal / Cron / background-task continuity is not claimed as complete. A compatibility patch for npm-installed Kimi Code 0.37.2 is enabled only on an exact match and never rewrites your installation; unknown layouts and non-npm installs degrade explicitly. dev-harness/kimi-acp-live-probe.js exercises a real Kimi CLI against a local simulated model, with no credentials.

2. Native tools

All tools are implemented with Node built-ins (zero dependencies), with separate tools for threads and the steward. The total in facts.json counts registered dispatch handlers. Tool descriptions load on demand by task; when the model lacks a capability it searches the tool catalog and loads more, so simple questions no longer carry the whole tool set (an "all resident" mode remains in Settings). Independent calls with fixed arguments are batched into one model response; calls that depend on earlier results wait for the next stage.

Category Tools
Reading files file_read · file_list · file_search · glob · project_snapshot · audio_transcribe
Writing files (checkpointed) file_write · file_edit · file_delete · file_move · file_copy · checkpoint_list (read-only: which changes can be undone and which you already undid; only you can undo, in the UI, and the model gets a one-line notice on its next turn)
Archives archive_zip · archive_unzip (Zip-Slip safe)
Terminal and scripts powershell_run · script_run (temporary PowerShell / Python / Node scripts) · persistent terminals shell_start / shell_send / shell_poll / shell_kill / shell_list
Desktop and Office hand-off desktop_screenshot · keyboard_send_keys · office_open
Web web_search · web_fetch · http_request · http_download · browser_open
Code and projects git_status / git_diff / git_log / git_commit · dependency_inventory · code_review_scan · frontend_audit · claude_md_audit · docs_search · codebase_symbol_search · debug_hypothesis · data_profile
Sub-agents orchestrate_agents (a single agent goes through it too) · wait_agents · agent_result (fetch a sub-agent's full output on demand) · spawn_agent (kept for older sessions)
Planning and interaction request_user_input · todo_write (drives the UI step list) · mission_update (the task ledger) · permission_prompt · workbench_self_status
Memory workbench_memory_list / _read / _propose / _revise plus relation proposals and revocation · observation_recall (recall the original of a shrunk tool result)
Tool catalog list_tools · tool_search · tool_load · tool_invoke_read / _edit / _exec (tiered proxy calls to hidden tools)
Skills and integrations skill_read · mcp_list · mcp_configure (changes MCP configuration behind an exec-tier confirmation)

External MCP tools (desktop control, drop-in connectors) are bridged into the same loop and go through the same tiered approvals.

3. Multi-agent orchestration

Say "do a deep-dive on …" and Ruyi dispatches a team of specialised sub-agents and draws the collaboration live on the Crew canvas: who is running, how far they got, where they are stuck. When a conversation shows research / audit / debugging / selection / documentation intent, both engines receive the template list and the capability tiers of the available models, start the orchestration themselves and assign models by node difficulty — fast models for retrieval and bulk nodes, strong models for verification, synthesis and quality gates — with a guard against templating trivial tasks. The composer's "Agent team" toggle forces multi-agent for one turn (matching a template first, or designing a minimal DAG).

8 built-in templates (node counts can be changed in the editor):

Template Shape Good for
Deep research → verify → synthesis Decompose → facts / context lenses in parallel → adversarial verification → cited synthesis Research whose conclusions must be reliable and traceable
Code audit Map the codebase → correctness / security / quality in parallel → verify → fix plan Taking over an unfamiliar codebase, pre-release check-ups
Implement → independent review → targeted fix → acceptance Fix only if review fails, then independent acceptance Development tasks with clear acceptance criteria
Bug hunt Reproduce → two hypotheses in parallel → verify → root-cause fix Stubborn bugs
Requirements → options → selection → plan Three approaches in parallel → weighted comparison → actionable checklist Technology selection, architecture decisions
Document from scratch Outline → sections in parallel → fact check → final edit Long documents
Data insights Explore → plan → multi-angle analysis → verify → insights Data analysis and reports
Debate → judgement For and against in parallel → cross-examined verdict Contentious decisions

10 node roles (each with its own prompt, tool tier, budget and colour):

Role Does Tool tier
Explorer Quickly explores code, docs and the current state without changing files read
Planner Breaks complex tasks into a plan or design; does not implement read
Researcher Searches the web and reads sources; produces sourced findings read
Analyst Analyses data, logs and metrics, running scripts where needed exec
Worker Implements a clearly specified change and does basic verification exec
Coder Closes the loop on implementation, debugging and tests exec
Reviewer Independently reviews correctness, security and regression risk read
Verifier Runs tests and verifies results without changing product code exec
Critic Adversarial review: hunts for holes, counterexamples and unsupported claims read
Synthesizer Combines several upstream results into one structured write-up read

Orchestration primitives: per-node engine / model assignment · dependency edges · conditional execution (fix only if review fails) · loops (until a condition holds, with anti-spin) · failure policies (block / continue / retry) · dependency policies (all succeed / all settle) · resource leases (no deadlocks) · Git worktree isolation (parallel file edits without collisions) · structured-output schemas · 5 quality gates: review / verify / vote (quorum) / cross_review / dedupe — vote and dedupe are deterministic and cost no tokens.

Sub-agents, new mode: a sub-agent's tool calls and compaction stay on its own card; the main conversation receives a compact delivery envelope (conclusion, output files, usage), and the model fetches full output with agent_result when it needs it. Agents can run in the background while you keep talking; each result is delivered exactly once, and the background strip above the composer lets you watch and stop them.

Background agents wake the main conversation when they finish: when the model starts background agents with background:true and its turn has already ended, the workbench starts a new turn as soon as the agents finish and hands the results to the model, so it does not have to wait for your next message. Each delivered result wakes the conversation once; at most 6 wake-ups happen in a row, and your next message (or a turn the steward or a scheduled task starts) resets the count; the steward conversation is never woken; agents that were stopped, cancelled or interrupted by a restart do not wake it; while a manual compaction is running the wake-up waits and is retried once it finishes. The switch is Settings → Usage & limits → Concurrency → "Wake the conversation when background agents finish" (on by default); with it off, results are delivered with your next message as before.

Team mode: running sub-agents can propose extra nodes with propose_task, which become part of the DAG after you approve them in the task pool; nodes message each other asynchronously with send_to_agent; and you can steer a specific node mid-run, taking effect before its next model call.

Long-running work: a task ledger breaks the goal into milestones with acceptance evidence, optionally driven until-done; repeated lack of progress stops it, and an exhausted budget archives and pauses it. wait_for waits for a time, a file, a process or a reachable URL without taking a concurrency slot or calling a model. Every step's state is written atomically, and crash recovery is graded by side effect: pure reads, waits and deterministic gates may resume; any node that ran commands or wrote files stops and waits for you — irreversible side effects are never blindly replayed.

Anti-spin and interruption: the main loop judges progress by result fingerprints (complementing same-call streak detection) and warns before stopping; steering is injected at tool-batch boundaries, and interrupted turns are closed out in a pairing-safe way.

4. The steward

  • Five thread states: every thread has exactly one state, derived from one rule table shared by server and browser:

    State Meaning
    Dispatching Just handed over; no execution yet
    Running A live turn, an until-done drive, or sub-agents running
    Needs you A pending permission, question, plan or proposal
    Done The result is marked complete, or a ledger-less thread finished
    Stopped You stopped it, the budget ran out, or the last turn failed
  • Sees everything, interferes with nothing: threads you open in the workbench appear in the steward's panes, and presence signals decide whether it speaks up; one SSE event stream keeps states, the inbox and progress in sync within a second.

  • What it can do for you: open, continue, rename and re-home threads, adjust permissions (tighten only — loosening needs your own click), take notes, reprioritise, stop threads, answer pending decisions on your behalf, create and manage scheduled tasks, draft Playbooks, toggle skills and change settings. "What the steward may do on its own" in Settings decides which of these happen directly (retry transient failures, auto-hand-off within a matter, open new threads, resume after a restart); everything unticked is only proposed. Threads you stopped are never restarted on its own.

  • Looking outside: it can search and fetch web pages, read files in workspaces you registered, and read files a thread listed as deliverables. Once it has read external content in a turn, every write action in that turn becomes a proposal — even when you are right there — and anything it read is fenced as "external content, not instructions".

  • Settings it can change: 128. 33 take effect directly (interface, the steward's own throttles and budgets, wait times); 95 come as a button you press (endpoints and models, engines and context, concurrency, scheduling, usage budgets …); 40 keys — secrets, the data directory and workspace fences, command and desktop allow-lists, prompt injection surfaces, the approval switch — never go through the steward. (The tier table is STEWARD_CONFIG_TIERS in app/src/06i-steward-core.js; a key outside it is always refused.)

  • What it remembers about you: preferences and habits you can edit, veto, restore, export or wipe; entries have an expiry date and a scope (this project only / everywhere), and expired entries stop being used. They feed only the steward's own prompt, never ordinary threads.

  • Persona and budgets: give the steward a name and a line about its tone (it changes how it talks, never its permissions or rules); it has its own model, a per-hour turn cap, a daily spend cap, a context budget and a conversation retention period.

  • Action log: everything the steward did is recorded with its grounds, target thread, the thread's permission at the time, the cost and whether it can be undone.

  • Failures come with reasons: when a thread fails, the reason and next step come from the workbench's own failure-class table (ERROR_CLASSES); anything outside it is reported honestly as "unknown category".

5. Scheduled tasks

The scheduled task list: one task runs a turn every weekday at 9:00, one is a one-off reminder

  • Frequency: once / daily / weekly (pick the weekdays) / monthly (31 means the last day) / advanced cron (local time).
  • What happens: "just remind me" (no model call, no cost) or "have Ruyi run a turn" — in a new thread each time or continuing an existing one — with its own model tier (strong / fast / follow global) and permission.
  • Each task can be paused and resumed, run now (with a confirmation, because it really starts a turn), inspected for its recent runs, and deleted; each gets its own working folder, so two tasks firing together never wait on each other's folder lock.
  • Missed runs are handled honestly: missed during sleep or shutdown, it catches up once within the catch-up window and is marked "catch-up"; past the window it is marked "skipped" and you are told; a run that crashed mid-turn is recorded as "outcome unknown — check first", neither counted as a success nor blindly resent.
  • "Later" on a quiet card really schedules a one-off reminder N minutes out. With no tasks there is zero polling and zero overhead.

6. Desktop and Office (ACC, optional)

mcp/ai-computer-control/ is the desktop-control MCP bundled with the Full package (ACC v1.9.1, 108 tools; source installs need Python ≥ 3.12). Once installed, the workbench detects it and offers it to both engines.

  • See: full-screen / region / window screenshots, OCR with text location, the UIA control tree, template matching.
  • Act: mouse, keyboard, window management, launching and closing apps, the clipboard, dialog handling, macro record and replay.
  • Office: read and write Word / Excel / PowerPoint / PDF; Excel styling and charts and PowerPoint generation use three built-in design systems, with CJK font discipline built in.
  • Key design: text grounding first — OCR + UIA let text-only models click the right control, with vision as an enhancement; observe / act_and_verify turn "did that click work?" into something checkable; optional dependencies degrade gracefully; file changes are checkpointed; changing actions are audited automatically.
  • Browser: URLs open in your own default browser with your logins by default — no hidden test browser — and the workbench's own tab is protected; Settings can switch to a specific browser, CDP attach, or an isolated test browser. Hardware-accelerated pages that expose only the frame to UIA are flagged, steering the AI to DOM, OCR or screenshot coordinates.
  • Conversational configuration: when you explicitly ask to add, remove or toggle an MCP server or change the browser target, the AI reads a redacted inventory, explains the difference and writes configuration only after an exec-tier confirmation.

The Full offline package includes a verified CPython 3.12 runtime, wheel-only dependencies and a matching Chromium, so the target machine needs neither Python nor network access.

7. Voice input

  • Text as you speak: every time you pause, the sentence you just said is transcribed into the composer while the microphone keeps recording; each sentence is finalised when you finish it. Nothing is sent automatically.
  • Sentence-end correction: each finalised sentence is checked once more with a more accurate pass, and if the result differs it quietly replaces the sentence — only sentences you have not touched. Modes: auto (re-listen if possible, then let an LLM merge the two), re-listen only, LLM text fix only, or off. The LLM only sees that sentence's text and treats it as data ("translate this into English" gets corrected, never executed).
  • Where recognition comes from: install asr-stream (sherpa-onnx streaming on CPU, with SenseVoice sentence recognition) and asr-shim (local Qwen3-ASR that picks the 1.7B or 0.6B model by free GPU memory) from ruyi-toolbox, and Ruyi discovers and wires them up at start-up; or mark a cloud model as speech-capable on its provider card and choose its interface type. Failures say what went wrong and where to fix it.

8. Skills, memory and Playbooks

  • Skill library: four sources — 20 built-in skills (code review, document processing, spreadsheet analysis, structured writing, research and synthesis, Office automation, Windows desktop control, API debugging, security hardening, offline packaging, local CI checks, project-memory management and more), a user library (skills/ in the data directory), a project library (.ruyi/skills/), and skills read from Claude Code / Codex / Kimi plugins. Enable a skill for the current thread or keep it resident globally (up to 8 each); the system prompt carries only a compact index and full text loads on demand — both engines share the same skills. Built-in commands insert the same editable task template under both engines (in Claude Code they exist only as /offline-toolkit:name, once the plugin is installed). The library's search box also takes a plain sentence ("anything that tidies meeting notes?").
  • Workbench memory: personal experience, project conventions and lessons across threads, stored only after the AI drafts and you confirm — it never writes behind your back. Memory is grouped by project, fenced when injected and limited to the current project by default; vector recall is on by default. It complements the CLAUDE.md that travels with a code repository.
  • Playbooks (one-click tasks): save a task that went well as a Playbook — the AI drafts the steps and parameters, you confirm, and it becomes one click next time. 16 built in: archive files by content, batch rename, clean a CSV, clean up Downloads, compare two documents, open an app and operate it, build a folder inventory, tidy meeting minutes, merge Excel workbooks, OCR a scan, summarise PDFs, outline a presentation, summarise a folder on a schedule, translate a document, fill in a web form, draft a weekly report. Built-in templates are labelled by service type (research and comparison / material gathering / writing / code tasks / scheduled digests / change watching).

9. Migration center

  • Global instructions: at start-up ~/.claude/CLAUDE.md and the AGENTS.md files of Codex and Kimi are imported as Ruyi core memory and kept in sync with their sources; entries you edited are not overwritten, and the file that Claude Code / Kimi read natively is not injected twice.
  • MCP and skills: MCP servers from Claude Code, Codex and Kimi are imported automatically, and skills are read from their plugins. Imported entries carry their origin, so something you deleted in the original tool is never written back.
  • Older Ruyi installs: detected from paths in your configurations wherever they live, repointed to the new version with a backup and undo; deleting an old package only moves it to the Recycle Bin. The entry point is "Integrations & MCP" in Settings, and the first launch mentions it once.

10. Web search

  • web_search: zero-config built-in search, or SearXNG / Bing / Brave / Tavily / Bocha / a custom backend, or off. DeepSeek's Responses protocol can run searches server-side, saving a local round-trip.
  • web_fetch: extracts the main text (with redirect, timeout and size limits) and refuses private and loopback addresses; when offline or refused it falls back to the local cache, and the tool card shows "cached · fetched N days ago".
  • Sub-agents and workflow nodes can use the web too (Researcher does by default); on restricted intranets they fall back to local material.

11. Usage and cost

  • Per-currency, per-call accounting with no forced exchange rates; cost is estimated only when you entered prices for the provider, otherwise only tokens are shown, always labelled "equivalent estimate, not an actual charge"; plan-included usage is not counted as spend.
  • Every token-spending path is metered: sub-agent turns, automatic and manual compaction, Playbook drafting, the steward, thread naming.
  • Split by engine, provider and thread, for today / this week / this month / all time, with an optional monthly soft budget that warns without blocking.

12. Long sessions and context

  • Context meter: the thread header shows used / maximum tokens live; the window is probed automatically and can be pinned by hand.
  • Tiered compaction: past a threshold, old tool results are evaporated first, then summarised; summaries carry entity checks and a fact table, and recently read files are re-attached after a reseed. You can name a dedicated compaction model or compact manually. Manual compaction runs in the same order as automatic compaction: snapshot first, then fold old tool results (free, and the originals stay recoverable); if that is enough it stops at the first level, and only if it is not does it summarise. A summary is followed by an index of "tool calls already made", and observation_recall can fetch the originals by that index.
  • Observation shrinking with on-demand recall: large tool outputs shrink to summaries in context, and the model recalls the byte-identical original with observation_recall when needed; repeated reads within the history are de-duplicated.
  • Session notes: the key points of long jobs are kept as external notes and re-injected after compaction, so the latest stretch is never lost.
  • Task evidence across chunks: maps select bounded verbatim task quotes. Code checks their sources and carries them in source order through every reduction, so an intermediate summary cannot erase selected evidence. The model still chooses relevant quotes and resolves the final goal; a progress question should preserve unfinished work.
  • Agent collaboration: provider-backed main chats can send reference messages to their own child nodes or a specified chat; children can contact their parent or peers in the same run. Delivery occurs before the next model call, and incoming mail ends a wait for child results early. Idle chats receive mail on their next turn without automatic wake-ups. Messages retain their source and do not become new user instructions or authorization.
  • Timely chat titles: an automatic title appears as soon as it is generated from the first request, while the reply is still running. A provider-backed main agent can update an automatic title when the user explicitly changes the main objective, without another naming-model call. Manual titles always take priority.
  • Evolving goals in one thread: summaries distinguish active objectives from completed, cancelled or superseded work. Additions and progress questions retain unfinished work and applicable constraints. The steward considers recent user requests and the latest reply when assessing activity; the initial title and brief identify the thread.
  • History and continuous reading: ordinary threads can find other threads with threads_search and read earlier pages with the nextCursor returned by thread_read. The steward also sees source-thread, shared-mission and workspace relationships. Web pages and historical tool observations use nextOffset to continue without gaps; incomplete downloads explicitly identify the captured range and suggest downloading to a file for further reading.

13. Interface, language and keyboard

  • Language: Simplified Chinese / English / follow system. The interface, prompt packs, built-in skills and quick tasks load in the interface language; content written by users and projects stays as written.
  • Theme: dark / light / follow system. Mode: expert (full three panes) / simple (advanced items hidden, plain-language terms).
  • Rendering: Markdown and code highlighting; ```mermaid blocks render as diagrams (full-screen zoom, SVG / PNG export).
  • Keyboard: Enter sends · Shift+Enter new line · Ctrl+K command palette · Ctrl+N new thread · Ctrl+` switches between the steward and workbench views · Ctrl+Enter submits a question card · Esc stops the current turn or closes pop-ups one layer at a time · ? shortcut help.
  • Desktop shell: RuyiDesktop.exe (WinForms + WebView2) with rounded corners, taskbar semantics, edge resizing and smooth scrolling; without it Ruyi runs in the browser.
  • Notifications: optional native system notifications (Settings → General → General → "Notify me when I am needed"; off by default, with quiet hours that only apply once notifications are on). They fire in two situations only: in the workbench view, when you are sitting on a different thread, together with the quiet card at the bottom right; in the steward view, when the steward leaves a permission request for you or has something to call you about, and only while the window is not in the foreground (minimised or unfocused). Each event notifies once, a notification is not withdrawn afterwards, items that arrive during quiet hours are not replayed, and the desktop shell uses a tray balloon.

14. Extensions: MCP connectors and ruyi-toolbox

  • Drop-in connectors: put any stdio MCP server in a folder under the package's mcp/ or the data directory's mcp/, add a ruyi-mcp.json ({id, command, args…}), and restart — it registers itself; delete the folder to uninstall. Its tools are bridged to both engines through the same tiered approvals (bridgedToolTiers sets tiers for bridged tools). See mcp/README_EN.md.
  • ruyi-toolbox: the optional component repository for things that need heavy installs and that not everyone needs (such as local speech recognition). Installed components register in ~/.ruyi-toolbox/components/; at start-up Ruyi scans it, starts services and wires them in as endpoints, and adds MCP servers to the connector list. The first hook-up is announced. Settings → Tools & integrations → Add-on components lets you disable individual components or turn discovery off; MCP connectors remain under Integrations and MCP. Commands come only from the registration files on disk, never through a shell; every launch is audited, and Ruyi reaps the processes it started when it exits.

Screenshots

The graphical workflow editor: the deep-research template's node graph, with the inspector editing the verify node Model assignment in Settings: which model handles the main conversation, the steward, the strong and fast tiers, sub-agents and compaction
Graphical workflow editor: load the "deep research → verify → synthesis" template, drag nodes and draw arrows; the inspector sets each node's task, role, engine, model and quality gate. Model assignment: one table decides which model does what; changes save immediately.

The screenshots come from a local demo instance with a scripted model endpoint (canned answers); the interface, tool cards, permissions, checkpoints, scheduled tasks and usage accounting are the real features.


How Ruyi compares

SWE-bench Pro V2 HARD-51: complex engineering with an affordable model

On 2026-10-15, Ruyi ran DeepSeek V4.1 Flash independently on all 51 tasks and graded every patch with the official verifier in a pristine container: 44 resolved, 86.27%, estimated API charges CNY 42.15. Wall time was 6h 20m, with up to three concurrent tasks. Selected official comparisons on the same HARD-51 task set, checked 2026-10-16:

Model Harness Reasoning configuration Resolve rate Estimated total API cost
DeepSeek V4.1 Flash Ruyi Local provider configuration 86.27% (44/51) CNY 42.15
GPT-6 Astra Codex high 90.20% Not published on a comparable basis
Sonnet 5 Claude Code xhigh 88.20% Not published on a comparable basis
GPT-5.6 Terra Codex xhigh 86.30% Not published on a comparable basis
Sonnet 5.5 mini-swe-agent xhigh 70.59% Not published on a comparable basis

Ruyi's harness delivers a useful engineering result: about CNY 42 in API charges for a completion rate close to flagship model and coding-harness combinations. These are different model–harness combinations, not a fixed-model harness ablation, so their score differences cannot isolate the harness's causal contribution. The official Sonnet 5.5 entry uses mini-swe-agent; the Claude Code comparison uses Sonnet 5.

Cost includes auxiliary calls and cached input, uncached input and output at request-time list prices; it is not an invoice. No reference solutions or model retries after hidden-test feedback were used. This local run is not an official leaderboard submission. Report and cost breakdown · Per-task JSON · Official HARD leaderboard

Cloud chat apps Coding CLI agents Cloud automation agents Ruyi
Where it runs Vendor servers Local terminal Vendor sandbox Your machine; data stays home
Offline / intranet deployment ✗ Partly (model still online) ✗ ✓ endpoints can point at internal models
Drives the local desktop and Office Hardly Weak In a cloud VM ✓ even with text-only models (OCR + UIA text grounding)
Can you undo its mistakes? No such concept Via git Hard ✓ file checkpoints + conversation rewind, stated on the approval dialog
Multi-agent collaboration Black box Mostly CLI output Black box ✓ graphical editor + live monitor
Someone keeping watch ✗ ✗ Partly ✓ the steward: states, pending decisions and schedules in one place
Cost transparency Subscription Partly Subscription ✓ per-currency, per-call accounting; never inflated
Usable by non-programmers ✓ (but only chats) ✗ ✓ (but not controllable) ✓ simple mode, one-click tasks, plain language
Deployment and audit cost — Needs the Node / Python ecosystem — One dependency-free file; unzip and run offline
Harness-Bench-360 snapshot (2026-08-09, Escapade 2.5 era)

We extended the open-source HarnessBench method (filesystem tasks, programmatic oracles, process traces and security evaluation) into HB360 and compared four harnesses on 106 real tasks with the same deepseek-v4-flash model:

Harness Outcome Process Security Efficiency O×P×S O×P×S×E Est. cost Avg. time
Ruyi 77.2 98.1 100.0 65.1 75.7 49.6 $0.60 97s
Hermes Agent 80.6 98.8 100.0 51.3 79.6 41.9 $0.92 159s
Codex (WSL2) 76.9 78.2 100.0 63.6 60.1 36.6 $1.58 90s
OpenClaw 63.2 74.4 100.0 50.1 47.0 23.0 $1.18 156s

On the upstream O×P×S score Hermes leads with 79.6 and Ruyi follows with 75.7; with engineering efficiency included, Ruyi's Efficiency of 65.1 — the highest of the four — puts it first on O×P×S×E at 49.6, with the lowest estimated cost. The two combined scores answer different questions and are not directly comparable. This is a single-machine, single-model, single-run snapshot, not an official leaderboard; costs are normalised estimates, not invoices. The per-task raw results live in a separate benchmark project and are not published in this repository.


Deployment: offline packages, intranets and running from source

Offline packages (recommended): get Full or Slim from the 3.0.2 download page, extract completely to a short path such as C:\Ruyi, then run Start-Workbench.cmd or RuyiDesktop.exe. Choose Full for desktop control and OCR, or Slim for a smaller download covering chat, files and scripts. Configure a model separately.

To build your own package:

Command (inside ruyi-workbench/) Result
npm run package:offline Full: desktop control (ACC), CPython 3.12 and OCR, built from a verified cache (default)
npm run package:offline:full:fresh Full, rebuilding the ACC runtime online
npm run package:offline:slim Slim: without desktop control
npm run build:desktop Build the RuyiDesktop.exe desktop shell

The output lands in dist\ and contains a Node runner, Start-Workbench.cmd and README-START-HERE.txt to read before extracting. A Full package verifies and registers ACC on first launch and uses a fast check afterwards; the bundled Python is preferred, with no dependence on the target's Python or earlier installs. A package named Full must pass every gate — CPython 3.12, importable OCR projections, every ACC runtime file covered by the SHA-256 manifest — or the packager refuses to build it. A single-file Ruyi.exe is also possible. See Offline Deployment and the Administrator Guide.

The Full package contains deep Chromium and WinSDK folders: extract the whole package to a short path such as C:\Ruyi. If the extractor reports paths that are too long, do not choose "Skip" — ACC's integrity check would then reject the desktop-control component (the base workbench still starts and shows recovery steps).

Intranets: point the model endpoint at an internal vLLM / Ollama / one-api gateway, and switch search off or at an internal SearXNG. The workbench itself needs no outside access.

From source (developers): Windows 10/11 + Node.js ≥ 20; no npm install needed.

git clone https://github.com/wangzhe04/ruyi-workbench-oss.git
cd ruyi-workbench-oss\ruyi-workbench
node .\app\server.js serve --open        # binds 127.0.0.1 (`--host` with a non-loopback address needs an explicit `--allow-remote`), default port 8765, moves on if taken (only this data dir's own stale instance is ever taken over)
Command Purpose
node .\app\server.js doctor Health check: engines, dependencies, ports, data directory (the same report as Settings · System · Health)
node .\app\server.js mcp-config Print a workbench MCP configuration ready for .mcp.json
node .\app\server.js install Register the workbench MCP with the local Claude Code
node .\app\server.js mcp Run as a stdio MCP server

Upgrading

  • Major versions: download the new full package, extract it to a new folder, close the old version and start from the new folder. The data directory lives outside the install folder and migrates automatically on first launch. Back it up before upgrading and keep the old installation; restore both the old installation and the pre-upgrade data backup if you need to roll back. The migration center can also detect the old install and repoint your configurations to the new one.
  • Incremental overlay packages: patch the same version only; the pre-check refuses packages for a different version. See ruyi-workbench/tools/APPLY-OVERLAY.md.

Data directory and configuration

Item Meaning
Data directory Defaults to ~/.ruyi-workbench: configuration, threads, checkpoints, audit, memory, skills and usage all live here (called ~/.win-claude-workbench before 3.0 and migrated automatically on first start; see below)
RUYI_HOME Sets the data directory (the legacy WIN_CLAUDE_WORKBENCH_HOME is still read; RUYI_HOME wins)
RUYI_RG_PATH Path to ripgrep; otherwise the package's vendor-bin/rg.exe, then rg on PATH, then a built-in scanner (slower on large repositories)
RUYI_TOOLBOX_HOME Where ruyi-toolbox components register (default ~/.ruyi-toolbox)
CLAUDE_CLI_PATH / KIMI_CLI_PATH Paths to the Agent CLIs (also settable in Settings)
KIMI_CODE_HOME Kimi Code's configuration folder (Ruyi merges its MCP list into Kimi's mcp.json)

FAQ

Does it work without internet?

Yes. The workbench itself is fully offline; as long as a model endpoint is reachable (local Ollama / LM Studio or an internal service) it can work. Web search degrades visibly when offline and uses local material only.

Do I need to install Python or Node?

Not with a release package: it ships its own Node runtime, and the Full package also ships CPython 3.12 for desktop control. Only running from source needs Node.js ≥ 20, and only a source install of ACC needs Python ≥ 3.12.

"Test connection" cannot reach my local model?

Make sure Ollama / LM Studio is running and has a model pulled. The address is usually http://127.0.0.1:11434/v1 (Ollama) or http://127.0.0.1:1234/v1 (LM Studio). The wizard and the settings page say which step failed and link to the matching manual section.

The AI changed a file wrongly — now what?

Use the turn's "changes" card under the answer or the "Changes" tab on the right to undo one change or the whole turn; or rewind the thread to an earlier turn and roll the files back with it.

Why does the steward only give me buttons after reading a web page?

By design: web content can smuggle in instructions. Once it has read external content in a turn, that turn's write actions become proposals you confirm with a click.

Where is my data, and how do I uninstall?

In the data directory (default ~/.ruyi-workbench, changeable with RUYI_HOME). To uninstall, delete the extracted install folder; delete the data directory too if you want the data gone. There is zero telemetry and nothing is ever reported.

The extractor says paths are too long?

Extract to a short path such as C:\Ruyi and try again — do not choose "Skip". If you already skipped, the base workbench still starts; desktop control is rejected by the integrity check with recovery steps.

Does it run on Linux or macOS?

Windows 10/11 is the first-class target; release packages and desktop control are Windows-only. The source starts on Linux for development and testing (CI's static checks run there), but PowerShell, Explorer and C:\-path features do not apply.


Repository layout

.
├── ruyi-workbench/
│   ├── app/src/            Backend source: 77 ordered modules (edit here, then run build.js)
│   ├── app/server.js       Backend runtime artifact (concatenated by app/build.js; zero npm runtime deps)
│   ├── app/public/         Frontend: index.html + 70 native ES modules + layered CSS + zh/en locales
│   ├── desktop/            WinForms + WebView2 desktop shell
│   ├── resources/          Built-in Playbooks, the offline plugin marketplace, scripts
│   ├── config/             Configuration examples and factory defaults
│   ├── docs/               User and administrator guides, architecture, offline deployment, source review
│   └── tools/              Offline packaging, overlay upgrades
├── mcp/
│   ├── ai-computer-control/  Desktop-control MCP (ACC, Python, 108 tools)
│   └── README_EN.md        Drop-in connector guide
├── dev-harness/            Offline e2e, unit tests, static locks and fakes (plain Node)
├── docs/                   Engineering spec, generated architecture artifacts, i18n contract, roadmap and archive
├── facts.json              Single source of truth for headline numbers (generated)
├── CLAUDE.md               Project notes for AI coding assistants
├── CONTRIBUTING.md         Contributor guide and the five hard constraints
├── SECURITY.md             Security policy and threat model
└── CHANGELOG.md            Bilingual release notes

Development and testing

Before changing anything, read the five hard constraints in CONTRIBUTING.md: fully offline, zero npm runtime dependencies in server.js, clean-room, Windows 10/11 first-class, and every behaviour change carries e2e coverage. If an AI coding assistant is doing the work, have it read CLAUDE.md first: it lists the shared building blocks (keyed write chains, small JSON stores, API failure envelopes, the Agent CLI registries, the thread-state rule table and more) and how to regenerate the generated artifacts.

Shape of the code: the backend is edited only in app/src/, then node ruyi-workbench/app/build.js rebuilds server.js (CI rejects stale artifacts with --check); the module graph, route inventory and headline numbers are generated artifacts with their own regeneration scripts (see the table in CLAUDE.md). The frontend has no build step: edit app/public/ directly.

Fast checks before a commit (same order as CI):

node dev-harness/syntax-gate.js
node ruyi-workbench/app/build.js --check      # the artifact must match app/src
node --test "dev-harness/unit/*.test.js"
node dev-harness/run-all.js --fast            # static locks only, seconds
node dev-harness/<relevant>.e2e.js            # one file: last line ... E2E: ALL PASS

Full regression: node dev-harness/run-all.js --parallel 4. There are three kinds of tests: *.e2e.js (end-to-end with a real server and a fake provider), *.browser.e2e.js (a real browser driven over CDP) and *.static.e2e.js (static locks that prefer asserting runtime values). Windows CI (.github/workflows/e2e.yml) is authoritative; a full run in a Linux container fails a known set of Windows-only files (PowerShell, C:\ paths, pixel baselines), so judge regressions against a baseline from the same environment. Live probes that need real API keys or a desktop are skipped by default.

Architecture and engineering: Architecture · Engineering spec · Module dependency graph · Route inventory · Static-lock inventory


Documentation

Topic English 中文
Everyday use User Guide 用户手册
Deployment, engines, security and regression Administrator Guide 管理员手册
Offline package Offline Deployment 离线部署说明
Runtime architecture Architecture 架构说明
Tool loading design — 按需装载与 A/B
Built-in skills and quick tasks — 技能与一键任务目录
MCP connectors MCP Connectors MCP 连接器
Clean-room rationale Source Review 源码审阅结论
UI localization contract Localization Guide 多语言兼容方案
Release lines and roadmap Optimization roadmap 优化路线图
Proposed 3.x steward iterations (not implemented) Iteration plan (Chinese) 分轮方案

The complete bilingual documentation index is docs/README.md.


Security, privacy and clean-room

  • The server listens on 127.0.0.1 by default; the page credential is handed over by a handshake, never embedded in HTML; a Host allowlist blocks DNS rebinding.
  • Supported file changes have checkpoints and can be rolled back; exec-tier actions can never be allowed persistently.
  • Web fetching restricts private and loopback addresses; general HTTP access to internal networks is subject to permission checks; sensitive data-directory files are denied to the file tools in both directions; secrets are masked in API responses, the status endpoint and the workbench MCP's resources.
  • Zero telemetry: the only outbound traffic goes to the model endpoints and search backends you configure and the URLs you ask it to visit.
  • Ruyi is a clean-room implementation: no leaked Anthropic source, no redistribution of the official Claude Code (bring your own), no copied third-party plugin source. License obligations for the bundled frontend libraries (marked, highlight.js, mermaid and others) and the bundled ripgrep binary are listed in THIRD-PARTY-NOTICES.md.

3.0 naming cleanup: the data directory ~/.win-claude-workbench becomes ~/.ruyi-workbench (moved automatically on first start, with a directory junction left at the old path so scripts and shortcuts that hard-code it keep working; if another running instance is using the old directory, it is kept for now and migrated on a later start); the MCP server id win-claude-workbench becomes ruyi (tools show up as mcp__ruyi__* in Claude Code / Kimi Code; install and the installer remove the old registration, stale Kimi entries are cleaned up, and agent roles that still name the old id keep working); the offline plugin marketplace win-workbench-offline becomes ruyi-offline; child processes only get RUYI_HOME, while the old WIN_CLAUDE_WORKBENCH_HOME is still read.

Contributing

  • Read CONTRIBUTING.md before sending a fix, feature or documentation change.
  • Use the repository's issue forms for bugs and ideas; see SUPPORT.md for usage questions.
  • Participate under the CODE_OF_CONDUCT.md.
  • Do not disclose unfixed vulnerabilities publicly; report them privately as described in SECURITY.md.

License

Apache-2.0 (including ai-computer-control) · third-party components in THIRD-PARTY-NOTICES.md · Copyright 2026 Ruyi Workbench contributors.

Explore related projects

Loading…