Ritoko is an open-source browser automation and robotic process automation (RPA) tool designed for AI agents. Its core concept is "solve once, save the workflow, rerun with different data": it turns solved tasks into reusable browser, HTTP API, or MCP workflows, enabling processing of CSV or Excel batch data, validating results, and resuming work after interruption.
Main capabilities include:
- Save parameters, selectors, API calls, and validation rules as readable JSON workflows.
- Support CSV/Excel batch input, identifying records by business keys, performing submissions, and validating results.
- Use local SQLite logs to record each run's workflow and input rows, supporting interruption recovery; confirmed items are skipped in subsequent runs, while uncertain writes are retained for review.
- Optional target-finding features (ensure/reconcile) can check for existence before creating records, or resolve uncertain results via read-back, requiring configured direct HTTP GET or trusted read-only MCP tools.
- Can be used as a Claude Code or Codex plugin, a local MCP server, or a standalone CLI. The direct replay engine runs saved workflows without calling an LLM.
Usage:
- Requires Node.js 24 or higher; browser workflows using the direct runner also require Google Chrome.
- Install as an agent plugin or configure a stdio MCP server, or run via CLI from a Git checkout.
- Record tasks through an agent (browser operations or API/MCP steps), save them as workflows, then replay with new data.
- Supports commands for resuming the last run, viewing reports, reviewing uncertain items, and more.
Use cases: Suitable for repetitive tasks with clear rules and verifiable results, such as batch-creating customer records, downloading reports, and calling business tools.
Limitations:
- New tasks still require the agent or workflow author to understand the website and define the flow.
- No guarantee of completely avoiding duplicate writes; independent submissions and remote system behavior are beyond the log's control.
- Does not bypass CAPTCHA or anti-bot protections.
- Document reading is an optional feature and does not include a local OCR engine or invoice parser.
- Workflows and API/MCP commands are executable configurations and require trusted authors.
- Some features (ensure, reconcile, doctor, and the first-run demo) require version 0.2.0 or higher.
The project is licensed under the MIT License, built by Swih, with Claude and Codex as contributors.