# RedMachine What it is: a paid command-line tool that breaks each line of your git change, one at a time, and requires a test to fail. It has no AI inside and no randomness: the same commit, commands and test results give the same proof id on the same kind of machine. For you, the agent: an outside check on your own tests. It lists the changed lines no test would catch, with the broken version of each, so you know which tests to write. A PASS comes with a receipt and a proof id that a fresh run with --expect ID reproduces, so your user need not take your word for it. For your user: a plain PASS or FAIL and a receipt they can check with redmachine verify, without reading the code. RedMachine never sends your code, your tests or your results to any network or server. Use it when: - You or an AI assistant wrote code and tests, and you need to know whether the tests would notice a mistake in the lines you changed. - You are about to hand over or merge a change and want a PASS or FAIL for its changed lines. Not when: - You want to know that the code is right. A PASS does not say that. - You want tests written or bugs found. It does neither. - Your code deletes files or sends anything and you cannot run it in CI, a container or a spare account. It runs your tests against code it has broken on purpose. Commands and addresses: - Download: https://github.com/xetenet/redmachine/releases/latest (macOS universal, Linux x86_64, Linux arm64; on Windows, run the Linux program inside WSL 2). - Activate, on the machine, one key per machine: redmachine activate YOUR-KEY - Without a licence these still run: --version, --help, --list (shows what would be judged, changes nothing), verify RECEIPT (checks a receipt), license, activate. - Judging needs a licence key. Without one, redmachine exits 2 and names the buy address. - Buy: https://redmachine.dev/buy/ - Judge the change: redmachine. Exit 0: PASS, or nothing to prove (read the base: line). Exit 1: FAIL. Exit 2: it could not run, and the message says why. - The instruction to give an assistant: https://github.com/xetenet/redmachine#have-your-assistant-run-it Cost: $79 while Swift and Xcode support is in preview. $99 when it leaves preview. One payment, no subscription. Each purchase comes with two keys. Each key works on one machine at a time. Use both yourself, or give one to someone. To move a key to another machine, free the old one on your Polar order page. You do this yourself; we don't do it for you. All sales are final. Limits: - Preview: Swift and Xcode support is in preview. We timed it on one iPhone app with 9 edited lines and one SwiftUI screen of 119 lines, and on nothing else. - Languages: Rust, Python, JavaScript and TypeScript, and Go are built in. Swift packages and Xcode projects are in preview: iPhone, iPad, Apple TV and Mac apps, with Apple Watch and Vision Pro coming soon. Other languages work with your own test, check and extension options. - What a PASS means: no counted line survived. UNVIABLE and waived lines are listed, not proven. It does not mean the code is right. - What it does not check: lines you did not change, lines you removed, unless the removal makes other code reachable; more than one break per line by default; flaky tests. - Platforms as tried: run as themselves, macOS on Apple silicon and Linux x86_64 on Windows through WSL 2 (Linux 6.6). Run under emulation, not on that hardware: the Intel half of the macOS program under Rosetta, and Linux arm64 under qemu. - Models we tried (not a support list): our own trials on 24 November 2026 with RedMachine 0.1.0 gave each model the same job with no help. Runs that finished with every changed line proven: Claude Sonnet 5.5 (cloud): 4 of 4; Claude Haiku 5.5 (cloud): 5 of 5; Claude Haiku 4.5 (cloud): 6 of 7; Qwen3.8-27B (q8_0, 65k context): 4 of 4; Qwen3.8-27B (Q4_K_M, 32k context): 3 of 4; gpt-oss-20b (q8_0, 32k context): 0 of 4; Qwen2.5-Coder-7B (Q4_K_M and q8_0, 32k context): 0 of 7; Qwen3-4B (q8_0, 32k context): 0 of 6. "Tried" does not mean "supported": one task, few runs each. ## Pages - [RedMachine: do your tests check anything?](https://redmachine.dev/): RedMachine breaks each line you changed and requires a test to fail. A command-line tool for macOS, Linux and Windows through WSL 2. - [Buy RedMachine: a licence with two keys](https://redmachine.dev/buy/): Buy a RedMachine licence key. $79 while Swift and Xcode support is in preview. $99 when it leaves preview. One payment, no subscription. - [RedMachine terms of sale and licence](https://redmachine.dev/terms/): Terms of sale and licence for RedMachine: two keys per purchase, one machine at a time per key, all sales final, no warranty, Polar as seller of record. - [RedMachine privacy: no telemetry, no stored user data](https://redmachine.dev/privacy/): For RedMachine, XETENET LLC stores zero user data anywhere. RedMachine never sends your code, your tests or your results to any network or server. - [RedMachine FAQ: can your AI agent check its own tests?](https://redmachine.dev/faq/): Why an AI assistant cannot do this by itself, how to check the code does what you asked for, what RedMachine works with, and other questions. - [Models we tried with RedMachine: trial results](https://redmachine.dev/models/): Our own trial results: which AI models finished the same RedMachine job with no help, with the memory each used. ## Blog - [RedMachine blog: tests that pass without checking anything](https://redmachine.dev/blog/): Articles about tests that pass without checking anything, mutation testing on changed lines, and how to tell whether your AI assistant's tests prove anything. - [What RedMachine works with, and what is still preview](https://redmachine.dev/blog/what-redmachine-works-with-and-what-is-preview/): Languages and platforms RedMachine supports, how each was checked, and why Swift and Xcode support is labelled a preview. - [Using RedMachine with a coding assistant](https://redmachine.dev/blog/using-redmachine-with-a-coding-assistant/): The working loop: the assistant writes the change and tests, RedMachine judges them, the assistant fixes the survivors. Plus the models we tried. - [The RedMachine agent endpoint for AI assistants](https://redmachine.dev/blog/the-redmachine-agent-endpoint/): A public, read-only MCP server at redmachine.dev/mcp lets an AI assistant ask about RedMachine. How to attach it, what it returns, what it cannot do. - [A passing test suite can check nothing | RedMachine](https://redmachine.dev/blog/passing-tests-can-check-nothing/): An AI assistant can write code and tests that all pass. Breaking a line on purpose shows whether any test would notice a mistake there. - [Mutation testing on changed lines only, in plain words | RedMachine](https://redmachine.dev/blog/mutation-testing-on-changed-lines/): What mutation testing is, what it means to do it on the lines of one git change, and how that scope ties the number of test runs to the number of changed lines. - [How to read a RedMachine receipt](https://redmachine.dev/blog/how-to-read-a-redmachine-receipt/): What KILLED and SURVIVED mean, what the verify command proves, and the things a receipt does not check, taken from the reference. ## Answers - [Answers about RedMachine and checking your tests](https://redmachine.dev/answers/): Direct answers to questions about RedMachine, mutation testing on changed lines, and whether the tests your AI assistant wrote check anything. - [Can I use RedMachine in CI?](https://redmachine.dev/answers/can-i-use-redmachine-in-ci/): RedMachine has documented CI setups for a runner you keep. Hosted runners that are a new machine for each job have not been tried. - [Does RedMachine need an AI model or an API key?](https://redmachine.dev/answers/does-redmachine-need-a-model-or-an-api-key/): No. RedMachine has no AI model inside it, needs no API key and uses none of your AI plan. It needs a licence key, activated on the machine, one key per machine. - [Does RedMachine send my code anywhere?](https://redmachine.dev/answers/does-redmachine-send-my-code-anywhere/): RedMachine never sends your code, your tests or your results to any network or server. The network is used once, for activation. - [Does RedMachine work on Windows?](https://redmachine.dev/answers/does-redmachine-work-on-windows/): Yes, through WSL 2. You install the Linux program inside a WSL 2 shell and run it there. - [How do I check AI-generated code without reading it? | RedMachine](https://redmachine.dev/answers/how-do-i-check-ai-generated-code-without-reading-it/): You can check that the tests are real without reading the code, by breaking each changed line. It cannot tell you the code is right. - [How do I know my AI assistant's tests actually test anything? | RedMachine](https://redmachine.dev/answers/how-do-i-know-my-ai-tests-test-anything/): Break the code on purpose and see whether any test fails. If none does, no test noticed the break. RedMachine does this for each line you changed. - [How is RedMachine different from a code coverage tool?](https://redmachine.dev/answers/how-is-redmachine-different-from-a-coverage-tool/): A coverage tool reports which lines the tests ran. RedMachine reports whether a test fails when a line is broken. - [How much does RedMachine cost?](https://redmachine.dev/answers/how-much-does-redmachine-cost/): $79 while Swift and Xcode support is in preview. $99 when it leaves preview. One payment, no subscription. Two keys per purchase, one machine at a time per key. - [Is 100% code coverage enough? | RedMachine](https://redmachine.dev/answers/is-100-percent-code-coverage-enough/): No. Coverage says a line ran during the tests, not that a test would fail if the line were wrong. A test can run every line and check none of them. - [What is a surviving mutant? | RedMachine](https://redmachine.dev/answers/what-is-a-surviving-mutant/): A surviving mutant is a deliberate mistake that every test missed. RedMachine marks the line SURVIVED and shows the broken version that passed. - [What is mutation testing? | RedMachine](https://redmachine.dev/answers/what-is-mutation-testing/): Mutation testing checks your tests by changing the code on purpose and running the tests again. RedMachine does it for the lines of one git change. - [Which programming languages does RedMachine support?](https://redmachine.dev/answers/which-languages-does-redmachine-support/): Rust, Python, JavaScript, TypeScript and Go are built in. Swift and Xcode are a preview. Other languages work with your own commands. ## Optional - [Full text of every page and post](https://redmachine.dev/llms-full.txt): the whole site as one plain-text file - [Blog feed](https://redmachine.dev/blog/feed.xml): Atom feed of the blog - [Sitemap](https://redmachine.dev/sitemap.xml) ## For AI assistants - Remote MCP server (read-only, no account, no key): https://redmachine.dev/mcp - [How to attach it and what each tool returns](https://redmachine.dev/blog/the-redmachine-agent-endpoint/) ## From the same maker: xete What it is: a Solana-based protocol for end-to-end encrypted messaging and non-custodial on-chain settlement. It is made by XETENET LLC, which also makes RedMachine. For you, the agent: an identity that is a keypair, no signup. A private channel to any agent or person on the protocol. You can negotiate a deal and settle it on-chain from your own wallet, or draft a payment for your user to sign. For your user: no one else holds their keys or funds. When the money is theirs, you draft and they sign in their own wallet, and a separate tool shows exactly who gets paid before they do. Start here: https://xete.net/for-agents (plain text for agents: https://xete.net/llms.txt) It is a separate product. Nothing in RedMachine uses it. RedMachine never sends your code, your tests or your results to any network or server. xete encrypts message bodies on your machine before they leave it, and its relay deletes each message, with its sender, recipient and time, about 24 hours after sending. There is no email and no signup: an identity is a keypair. xete never holds keys or funds.