Skip to main content

English · 简体中文 · 日本語 · Español

Ruin Everything

Give your agent the browser. Get your time back.

Your agent clicks. Ruin keeps the work moving.

Ruin Everything is a local Chrome runtime for browser agents. It lets your agent use the sessions, cookies and extensions already in your shared Chrome profile, work in background tabs, and continue through supported login and verification steps. Browse websites, fill forms, read pages and come back with evidence of what happened.

A: an agent operates shared Chrome through Ruin in background tabs. B: local login reuse and supported verification continue the task. C: site confirmation provides evidence, with stored receipts for Ashby.

GitHub stars Python 3.11 or later MCP over stdio MIT license

Get started · Core features · Real workflows · What's verified · Technical reference

Less babysitting. More finished work.

The agent reaches a login page. A code lands in your inbox. A challenge appears after Submit. Then the conversation ends and nobody knows whether the application went through.

Ruin handles the browser work that keeps interrupting the task. Figure A shows the shared browser; B covers login and verification; C brings the result back to something you can check.

Core feature What you get
Your Chrome, ready to work Navigate, click, type, select and extract text across websites. Keep using the same profile, cookies and extensions between agent sessions.
An agent that stays out of your way Task tabs open in the background. Ruin keeps them interactive without switching your foreground app, and preserves unrelated tabs.
Log in once. Reuse it when you can. The local vault captures manual password logins and can fill a matching login later. Cookie and Web Storage snapshots help restore state after Chrome restarts. Sites still control expiry.
Keep moving through verification Supported flows handle fresh email codes, SMS codes and visual puzzles in the original task tab. Unresolved challenges return a pending state.
Less repeated account setup A local identity profile fills supported signup and contact forms. Optional Workday/iCIMS recovery handles recognized account errors and password-reset requests.
Proof you can come back to The Ashby watcher saves the site's submission confirmation by job URL. Look it up later—even after Chrome closes.

General browsing works through ruin_browser; the named sites below are examples of extra automation. The agent plans the task; Ruin runs its browser actions.

Attach a local file

Pass the exact tab URL as site and an absolute file_path to ruin_browser(operation="upload") or its alias set_files. As panel A shows, you can omit selector when exactly one file input exists across the page and its frames. For a form with multiple fields, select the intended input. Panel B shows the explicit drop-area route. Browser tests verify both paths, including a hidden input in a nested frame.

A local file reaches one selected input or drop area. The site displays the attachment before submission.

Three steps to your first browser task

Independent agent connections share one local Chrome profile and keep the original task tab open.

1. Start the shared browser

You need Python 3.11+, Google Chrome and uv. This quickstart uses the current GitHub code so it includes the features described here.

uvx --from 'ruin-everything @ git+https://github.com/yuki4266/ruin-everything.git@main' ruin browser

Ruin starts or reconnects to Chrome on 127.0.0.1:9222. Its persistent profile is ~/.ruin-everything/canvas-browser. Sign in to the sites you need in that profile; this does not import another Chrome profile's logins. Chrome and task tabs stay open when the command exits.

2. Connect your agent

Add this to your MCP client's server configuration, then restart the connection. The client must be able to run uvx.

{
  "mcpServers": {
    "ruin-everything": {
      "command": "uvx",
      "args": [
        "--isolated", "--refresh", "--from",
        "ruin-everything @ git+https://github.com/yuki4266/ruin-everything.git@main",
        "ruin-mcp"
      ],
      "env": { "RUIN_AUTO_UPDATE": "0" }
    }
  }
}

Prefer the published package? Replace the Git source with ruin-everything. Git updates arrive on the next server launch; PyPI features depend on the published version. Installation and update details.

3. Give it a task

Use Ruin to open https://example.org and tell me the page title and visible links.

The entry point is ruin_browser(operation="navigate", url="https://example.org"). Follow-up calls use the returned current URL. No API key is required for Ruin's MCP server; your agent uses its own model connection. The optional standalone model-driven CLI needs the agent extras and OPENAI_API_KEY.

For account and signup helpers, install a persistent checkout and run ruin identity. Select the background editor tab to add your details and choose whether to enable automatic signup. ruin ats-setup separately opts into ATS password recovery. Setup and configuration.

Where it earns its keep

An action in the original tab leads to visual challenge inspection and supported retries; the site's receipt establishes submission.
You're trying to… Ruin's extra help Verification so far
Get through a recruiting site's puzzle Handle the supported ZhongAn/Moka jigsaw or Feishu Jobs rotation slider. Live SMS countdowns observed on both; ZhongAn also returned its success page and application-history entry.
Finish a Greenhouse email check Match a fresh Outlook message to the employer and request, then enter its code in the job tab. Browser fixtures; live employer/Outlook compatibility remains unverified.
Recover a Workday or iCIMS account Use local identity details, supported signup/activation and optional bounded password recovery. Browser fixtures; live Workday dialog inspection. Production layouts vary.
Find out whether an Ashby application went through Watch for the official confirmation and save a receipt for the exact job. Local receipt and browser integration tests. A missing record means the outcome is unknown.
Get to a paper through Duke Follow supported institutional access on IEEE, ACM and Springer; continue filled Duke login and Duo device-trust screens. Live IEEE lookup, Duke redirect and PDF access; ACM/Springer covered by fixtures.

These are specific supported flows. Puzzle handling can require a local Ollama vision model; SMS reading requires macOS Messages access; mail flows need Outlook Web signed in. Phone approvals and unsupported checks can still need you. Workflow requirements and commands.

For authorized form submissions, use ruin_action with the exact current URL and visible button label. It checks for verification after the click. A cleared challenge is a step forward; the site's receipt is the evidence of submission.

Follow an ordered GeeTest icon prompt

Ruin detects the visible icon panel, uses ddddocr to locate candidate boxes, and asks the local Ollama vision model to match numbered crops to the prompt from left to right. It maps bitmap centers to CSS viewport coordinates, clicks in order, and presses OK automatically. Failed attempts refresh only the widget, with at most three attempts total. The Bilibili icon challenge was cleared live in one attempt; login and application submission are separate checks. Strong rotated-template matches cross-check the order; otherwise each target symbol is matched separately. Browser tests cover DPR, iframe scaling, stale images and bounded retries.

A: detect icon boxes and match the visible order locally. B: convert centers to CSS coordinates, click and confirm, then inspect the site result with bounded widget retries.

Enter a code across several boxes

Panel A shows how Ruin matches an incoming SMS or supported Outlook message. Panel B shows how it pastes the code into a split form and fills any remaining cells. The Ctrip phone check was verified live. Both input paths were tested with react-otp-input 3.1.1. Single code fields can also be identified by their visible placeholder or accessible name; ambiguous fields are left untouched. Bilibili SMS messages are matched to the exact login host and request time.

A matched code is pasted or entered cell by cell and checked in the original tab.

Six tools. One shared browser.

The exact job URL routes an observed challenge to its provider while preserving the original form.
Tool Use it for
ruin_browser List tabs, navigate, inspect, read, click, fill, press keys and select options.
ruin_action Submit an authorized form and handle supported follow-up verification; omit the button to resume.
ruin_auto_register Continue supported signup, account or SMS-login steps using the local identity profile.
inspect_application_challenge Identify a Greenhouse/Ashby challenge or locate the supported application tab.
get_ashby_receipt Look up saved submission evidence without opening Chrome.
watch_ashby_receipt Watch the original Ashby tab for confirmation and save it.

Agent routing instructions · CLI and detailed behavior · Trusted-login configuration

Your machine. Your browser state.

Manual login feeds an owner-only local credential file; matching logins use the executor; cookies and Web Storage can restore a later Chrome session.

Browser execution and credential handling run locally. The automatic login vault stores plaintext passwords in ~/.ruin/auth_vault.json with owner-only permissions (0600); they stay out of agent tool results. Cookies and Web Storage are also backed up locally. Set RUIN_LOCAL_AUTH_VAULT=0 to disable automatic listener startup for that client. Vault behavior and storage limits.

Your connected agent may send page text to its model provider. Site sessions still expire, and some verification still needs human input. Ruin preserves browser state and resumes supported steps; it cannot promise permanent login or success on every site.

What has actually been checked

Local browser tests verify runtime behavior; separate live checks cover specific website workflows.

Current check: 121 regression cases passed, including eight rerun with an isolated action lock after concurrent live Chrome work caused lock contention. Source/wheel builds and strict Twine metadata checks passed. GeeTest icon verification, a successful Bilibili SMS request, and the return to the signed-in recruiting page were verified live; no job submission is claimed.

Chromium setup retries at most three times; persistent failure stops the build, while successful tests and distribution checks allow publishing.

The failed CI run stopped on Ubuntu mirror DNS errors while fetching extra font packages. Hosted Ubuntu already supplied the Chromium shared libraries. CI now installs Chromium directly and validates the runner through the browser regression suite (figure A–C). Browser downloads get at most three attempts, with 15s and 30s waits and a 30-minute step timeout. Successful tests and packaging checks enable PyPI publishing. CI results.

Local tests cover shared sessions, background tabs, login capture and restoration, tenant boundaries, verification routing and receipt storage. The table above distinguishes live observations from simulated browser tests. See the reference for the conditions and limits of each check.

To run the regression suite from a development checkout:

python -m pip install -e '.[agent]'
python -m playwright install chromium
RUIN_AUTO_UPDATE=0 RUIN_RULE_UPDATES=0 python -m unittest discover -s tests -v

The illustrations are original, editable SVGs built with Rough.js and Kalam. Figure sources · Contributing · Development plan · MIT license

Put it to work. Tell us where it gets stuck.

Report a reproducible bug, share a working browser workflow or contribute a patch on GitHub.

Report a bug · Share a workflow · Suggest a feature

If Ruin saved you another round of browser babysitting, give it a star.

Metadata

Release files for ruin-everything 0.2.0.39

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ruin-everything 0.2.0.39
File Size Uploaded Provenance Actions
ruin_everything-0.2.0.39.tar.gz 123.2 kB With provenance Details for ruin_everything-0.2.0.39.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ruin-everything 0.2.0.39
File Interpreter ABI Platform Actions
ruin_everything-0.2.0.39-py3-none-any.whl Python 3 none any Details for ruin_everything-0.2.0.39-py3-none-any.whl

Total release size: 224.3 kB

Release files / ruin_everything-0.2.0.39.tar.gz

Download URL ruin_everything-0.2.0.39.tar.gz
Size 123.2 kB
Tags Source
SHA-256 checksum
How to use checksums
39735780d1c16d4f9d3f5683fb0aea1aba19a727c20e9bf23eaa218fe170b149
BLAKE2b-256 checksum
How to use checksums
c048b59ddec7515071adef83ad5b5f028db02dc1868b9f6bfdfee9e3f9d4153e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / ruin_everything-0.2.0.39-py3-none-any.whl

Download URL ruin_everything-0.2.0.39-py3-none-any.whl
Size 101.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3780946e00095563dbdf51f05126352fc1877fb908a8c3e5ac28d2e44881ac12
BLAKE2b-256 checksum
How to use checksums
73731cd2996e74af51849c0b2979e38d3418758319ae232e2c0318d64053ddfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for ruin-everything 0.2.0.39

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ruin_everything-0.2.0.39.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0.39 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page