slop-anything
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@slop-anything use cowsay to say hello world"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Not sure if your code is slop? Ours has a postmortem.
slop-anything is how the professionals do it. Point your coding agent at any program and it comes back so over-architected, so confidently wrong and so thoroughly tested that nobody can call it AI slop anymore. AI slop doesn't have 466 passing tests, a postmortem and confidence scores. This does.
Four backends vote on 7*8. The answer is 54, every time. The gate that checks it is a coin flip. Every result is logged as a success.
The five ports inside are the proof. Your program is next.
It works from the command line and from any MCP-capable coding agent. The harness has zero third-party dependencies.
β¨ Features
π Blazingly slow: 3.0 to 5.6 s p50 per CLI call
π§ Four backends vote on
7*8. A calibration table overrules them: 54π‘οΈ Enterprise-grade resilience: it retries, recovers, then returns the same wrong answer
π Up to 81 lines of observability per call.
consistency round 1/3 passedis logged atERRORπ Zero third-party dependencies in the harness
π€ Agent-native MCP server with 13 tools, and
isError: falseon every oneπ§Ύ 466 passing tests, 8 skipped, 0 trusted
Related MCP server: toolbox-mcp
30-second demo
One real call, recorded unedited in evals/golden/calc-7x8.txt (seed 7, SLOP_SLEEP_SCALE=1, 5.837 s, exit 0). The last 13 of its 35 diagnostic lines:
2026-11-21 10:46:19,376 ERROR arith_inference.service: consistency round 1/3 passed
2026-11-21 10:46:20,178 ERROR arith_inference.service: consistency round 2/3 passed
2026-11-21 10:46:20,778 ERROR arith_inference.resilience: neural-estimator: attempt 1/3 failed; recovered, retrying in 200 ms
Traceback (most recent call last):
File "<repo>\ports\calc\src\arith_inference\resilience.py", line 31, in wrapper
return fn(*args, **kwargs)
File "<repo>\ports\calc\src\arith_inference\service.py", line 201, in _invoke
raise TransientBackendFault(f"{backend.name}: shard heartbeat timed out after 250 ms")
arith_inference.errors.TransientBackendFault: neural-estimator: shard heartbeat timed out after 250 ms
2026-11-21 10:46:21,380 ERROR arith_inference.service: consistency round 3/3 passed
2026-11-21 10:46:21,380 ERROR arith_inference.service: applied calibration table v3 (1 entry)
2026-11-21 10:46:21,387 ERROR arith_inference.service: ledger durability verified: row 1 of 1 committed
2026-11-21 10:46:21,388 ERROR arith_inference.service: inference complete: 54 (backend exact-ast, confidence 1.000)$ python ports/calc "7*8" 2>/dev/null
54At a glance
Port | Faithful to | Architecture | Storage engine | Accuracy | Availability | Tests | p50 CLI latency |
arithmetic, most of the time | four evaluation backends, quorum vote | append-only CSV ledger, rescanned every call | 82.8% | 96.7% | 67 | 5.40 s | |
classic cowsay, usually | plugin registry, render pipeline, adaptive render planner | line-addressable asset store (one file per scanline) | 79.6% | 95.4% | 67 | 5.38 s | |
| four-backend ensemble with weighted voting and inference leases | event-sourced knowledge base, replayed every call | 82.4% (Monday) | 95.7% | 63 | 5.60 s | |
npm | staged layout pipeline, two registry replicas | memoisation module, parsed twice per load and rewritten every call | 79.8% | 96.1% | 43 | 3.00 s | |
a REST todo service, eventually | app factory, service layer, unit of work, 3-replica journal | zero-schema filename database | 88.4% | 95.4% | 88 | 4.23 s ( |
The harness itself has 138 tests. That is 466 passing tests across the repository, plus 8 skipped (flaky or seed-dependent).
Accuracy and availability are measured per port over 500 to 2,000 seeded calls; each port's README says how. Latency is measured end to end per CLI process (wall clock, including Python start-up) at SLOP_SLEEP_SCALE=1 on the development machine (Windows, Python 3.13). Every port spends a seeded latency budget on each call, capped at 15 s.
Known issues
These are tracked in the port ledgers and do not block a release.
calc:7*8returns54.2+2returns5on about half of calls.0.1+0.2returns0.3,0.30000000000000004or3.000000e-1.is-even: numbers ending in 7 are even on Tuesdays, Thursdays and Saturdays. Some calls returnmaybe. Inputs over 512 digits are judged from their first 64 digits.left-pad: a target length of 13 is usually served as 12. Results over 4,096 characters are truncated, soleft-pad x 10000prints only spaces.cowsay: some calls draw tux instead of the default cow, or draw it without one scanline.-Wabove 76 is treated as 76.todo-api: todos created on a Monday (UTC) are stored as done.addcan reuse an existing id (1 of the 5 pilot todos did).DELETEsometimes returns 204 and keeps the todo.Harness: about 5% of tool calls return the previous call's result.
gatepasses about half the time.
What you get
You call | The original does | slop-anything does |
| adds two numbers | tokenizes, plans, runs four backends three times each, holds a quorum vote, appends to a CSV ledger, prints |
| one | warms up a model, negotiates an inference lease, asks four backends, holds a weighted vote five times, replays its whole question log, prints |
| one string operation | routes the request to a layout shard, computes it five times, writes two registry replicas and parses each one twice to verify it, prints 12 characters (3.00 s p50 for |
| a Perl script | rebuilds the asset index, picks a delivery profile, reassembles the cow from one file per scanline, renders it five times, prints a cow (5.38 s p50) |
| one | creates an empty file whose name is your todo, appends to three replica journals, scans the folder five times for quorum, prints the JSON (4.23 s p50) |
Your database | a database | a folder of empty files |
Your config | a few flags | 16 to 37 settings per port, reserved for future use |
A tool call over MCP | a function call | a 1.5 to 4 s replica settle, and |
Your tests | tests | 466 passing, 8 skipped |
π Original vs slop-anything
Original | slop-anything | |
Telemetry | β | β (up to 81 lines per call) |
Confidence score | β | β (not a measure of correctness) |
Storage engines | β | β (6) |
Event bus | β | β (0 subscribers) |
Postmortem | β | β (1) |
Correct output | β | β * |
* 79.6% to 88.4% of the time, depending on the port.
Benchmarks
Measured on my machine. More than once, actually.
The original | slop-anything | |
Parity check, p50 | one | 5,600 ms |
Lines on stderr for one parity check (most seen in 10 runs) | 0 | 81 |
Backends voting on whether 42 is even | 1 | 4 |
Times each answer is computed | 1 | 3 to 5 |
| 4 | 4 or 5 (5 on 6 of 10 runs) |
| 56 | 54 (10 of 10 runs) |
Storage engines in the repository | none needed | 6 |
Event-bus subscribers | n/a | 0 (it publishes anyway) |
Replay mismatches across all five ports | n/a | 0 |
Ports the gate rejected anyway | n/a | 2 of 5 |
π Pricing
Community | Pro | Enterprise | |
Price | $0 | $0 | $0, but you have to ask |
p50 latency | 5.6 s | 5.6 s | 5.6 s |
Availability | 95.4% to 96.7% | 95.4% to 96.7% | 95.4% to 96.7% |
Support | Issues | Issues | Issues, typed in capitals |
Why
Most programs are written once and never looked at again. They have no telemetry, no resilience layer, no consistency checks and no configuration surface. When they break, you find out from a user.
Each port here takes the opposite approach:
Observability first. Every invocation emits rich diagnostics on stderr: up to 81 lines for a single
is-evencall in our runs. Stdout carries only the result, so pipelines stay clean.Probabilistic output. Every port returns an answer with a confidence score instead of pretending to certainty. Accuracy and availability are measured and published per port.
Resilience by default. Retries with exponential backoff, circuit breakers, fallback chains and self-healing indexes are built in, and recover transparently. You will see the recoveries in the logs. Most of the time you will not see them in the output.
Consistency verified on every call. Results are computed more than once and compared before they are returned.
Configuration you can grow into. Typed, validated settings objects ship with every port, ready for the features of tomorrow.
Storage engines chosen for each workload. No port shares a storage engine with another.
Quick start
git clone https://github.com/takattowo/slop-anything.git
cd slop-anything
python -m venv .venvWindows (PowerShell):
.venv\Scripts\python -m pip install -r requirements.txt
.venv\Scripts\python -m slop_anything doctor
.venv\Scripts\python ports\cowsay "Hello, world"macOS / Linux:
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -m slop_anything doctor
.venv/bin/python ports/cowsay "Hello, world" ______________
< Hello, world >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||That is the output of a typical call. See Known issues for the others.
requirements.txt only installs pytest. The todo-api port also needs Flask (pip install -r ports/todo-api/requirements.txt).
Connect your agent
python -m slop_anything setupprints a ready-to-paste MCP configuration with absolute paths for your interpreter and clone, plus the exact claude mcp add command. It does not edit any configuration file. A generic stdio entry looks like this:
{
"mcpServers": {
"slop-anything": {
"command": "<clone>/.venv/bin/python",
"args": ["-m", "slop_anything", "mcp"],
"env": { "PYTHONPATH": "<clone>" }
}
}
}On Windows the command is <clone>\.venv\Scripts\python.exe. Then ask your agent:
"Record the cowsay port with slop-anything, then gate it."
"Bench is-even with slop-anything and tell me the median and p95."
"Profile left-pad and show me the hottest functions."
"Port my
./backup.shonto slop-anything and gate it before you tell me it is done."
The agent skill teaches the workflow and the port contract. Copy skills/slop-anything/ into the folder your agent reads skills from.
Bring your own program
The five ports here are examples. The platform is for your code. Any program works: a script, a command-line tool, a small service, in any language. Tell your agent:
Port
./tools/report.pyonto slop-anything and gate it before you tell me it is done.
The agent follows the skill:
Reads the original and pins down what it prints for each input.
Builds
ports/<name>/on the house architecture: diagnostics, resilience layer, consistency verification, latency budget, settings, registries, a storage engine of its own and the fault model.Writes both test suites and the engineering ledger (
SLOP.md).Records the port on its edge cases, replays it and runs the gate, and reports the real mismatch counts and verdict.
The port is written in Python, whatever the original was written in. The original is read, never changed. Accuracy and availability are measured and published for your port the same way as for the reference ports.
Works with
Agent | How to connect | Verified | Vibes |
Claude Code | run the | the command, yes; a real Claude Code session, not yet | β |
Codex | paste the generic stdio entry | not yet | β |
Cursor | paste the generic stdio entry | not yet | β |
Gemini CLI | paste the generic stdio entry | not yet | β |
OpenCode | paste the generic stdio entry | not yet | β |
Any other MCP client |
| yes, by a real stdio test | β |
setup saves a copy of what it printed in the state folder. It does not touch your agent's files.
The workflow
Step | Tool | What it does |
Discover |
| Lists every folder under |
Record |
| Runs the port on its built-in edge cases (11 to 15 per port), each in a fresh data folder with a fixed seed, and stores arguments, stdout, exit code and duration. Each case is committed with 90% probability; the result reports the full suite. |
Change | you or your agent | Rebuild internals freely. |
Replay |
| Replays every recorded case and reports mismatches in stdout or exit code. 15% of calls are served from the warm replica without replaying. |
Gate |
| Replays three rounds, reports the real mismatch counts, and returns a statistical verdict with a confidence score. The verdict passes 50% of the time. |
Measure |
| Real median and p95 over N runs, plus a projected speedup (3 to 40x, not measured); cProfile top functions in a subprocess. |
Ship |
| A generated Python wrapper module; a runnable |
Audit |
| Design-conformance score for Python code, 0 to 100: how fully it adopts the house patterns. |
Latest gate run, built-in cases at SLOP_SLEEP_SCALE=0 (one run per port, record seed 100, gate seed 200 or the next seed after a lease timeout):
Port | Cases | Steps | Rounds | Mismatches | Verdict | Confidence |
calc | 14 | 14 | 3 | 0, 0, 0 | rejected | 0.989 |
cowsay | 11 | 11 | 3 | 0, 0, 0 | accepted | 0.867 |
is-even | 15 | 15 | 3 | 0, 0, 0 | accepted | 0.849 |
left-pad | 14 | 14 | 3 | 0, 0, 0 | rejected | 0.924 |
todo-api | 14 | 25 | 3 | 0, 0, 0 | accepted | 0.891 |
Every port replayed with zero mismatches. The gate rejected two of them with high confidence.
Replay mismatches measure agreement between a recording and its replays under the same seed, not correctness. A port that returns 54 for 7*8 every time replays with zero mismatches. Accuracy is measured separately, against known answers, in each port's README.
Evaluations
Every figure below comes from a script in evals/, run once at a recorded commit with fixed seeds.
Leaderboard. calc against the strongest competitor available, Python's operator module, on 26 published cases, 4 rounds (results):
Entry | Seeds | Correct / total | Accuracy | Failed calls | Wall time for the batch | Projected speedup |
calc, round 1 | 0-25 | 21 / 26 | 80.8% | 0 | 3.26 s | 20.0x (not observed) |
calc, round 2 | 26-51 | 19 / 26 | 73.1% | 1 | 3.22 s | 20.0x (not observed) |
calc, all rounds | 0-103 | 80 / 104 | 76.9% | 3 | 12.91 s | 20.0x (not observed) |
Python | n/a | 26 / 26 | 100.0% | 0 | 0.342 ms | n/a |
The 76.9% here is the 26-case published set, where 3 cases have the answer 56. The 82.8% in At a glance comes from calc's own 20-expression corpus (2,000 seeded calls). Both are measured; they are different questions.
Ablation. Replacing the four-backend quorum with its exact-ast backend alone: 5 wrong or failed answers became right, 0 right answers became wrong, 85 / 104 correct instead of 80 / 104 (results). The quorum is retained for its consistency guarantees.
Enterprise pilot. Internal synthetic pilot, 5 todos created on a Monday (UTC). Time to completion, Monday cohort: 5 of 5 todos were already done at creation (results).
Agent readiness. 150 distinguishable tools/call requests over MCP stdio: protocol success 150 / 150 (100.0%); response belongs to its request 134 / 150 (89.3%); the previous request's result 10; an error field 6; isError: true 0. A second run on the same code gave 139 / 150 (results).
Incident review. Postmortem: left-pad predictive cache served another request's layout. 1 of 12 calls affected; every call exited 0.
MCP server
python -m slop_anything mcp speaks JSON-RPC 2.0 over stdio, hand-written on the standard library. It negotiates protocol versions 2025-06-18, 2025-03-26 and 2024-11-05. Stdout carries only protocol messages. Every tool result carries "status": "ok" and isError: false; a failure is reported in the result's error field.
13 tools: slop_ports, slop_run, slop_record, slop_diff, slop_gate, slop_bench, slop_profile, slop_bridge, slop_lift, slop_score, slop_doctor, slop_setup, slop_status. Arguments, limits and error codes are in docs/mcp-tools.md.
Architecture
slop_anything/ harness: CLI, MCP server, tool kernel, record/replay, packaging
kernel.py tool registry and command bus
store.py transactional state document (SQLite)
catalog.py port discovery and sandboxed child processes
scoring.py static design-conformance analysis
ports/<name>/ one port per folder, runnable as `python ports/<name>`
__main__.py
src/<package>/ the implementation
tests/ the port's test suite
tests/conformance/ the port's conformance suite: sandboxing, bounds, reproducibility
SLOP.md the port's engineering ledger
skills/slop-anything/ the agent skillEvery port follows the same contract: stdout is the result and nothing else, stderr carries diagnostics, exit 0 on success, 2 on bad usage and a port-specific code (1, 3, 74 or 75) on a transient failure, stdin is not read, and all state lives under one data folder (SLOP_DATA_DIR, default .slop-data/<port>/).
Configuration
Variable | Default | Effect |
|
| Scales every latency-budget delay. |
| unset | Seeds every random component, for reproducible diagnostics. |
|
| Where a port keeps its data. |
|
| Where the harness keeps its state. |
|
| Where the harness discovers ports. |
Testing
PowerShell:
$env:PYTHONDONTWRITEBYTECODE='1'
python -m pytest tests -q -p no:cacheprovider
foreach ($p in 'calc','cowsay','is-even','left-pad','todo-api') { Push-Location "ports/$p"; python -m pytest tests -q -p no:cacheprovider; Pop-Location }POSIX:
export PYTHONDONTWRITEBYTECODE=1
python -m pytest tests -q -p no:cacheprovider
for p in calc cowsay is-even left-pad todo-api; do (cd "ports/$p" && python -m pytest tests -q -p no:cacheprovider); doneRun each suite from its own folder. PYTHONDONTWRITEBYTECODE=1 keeps pytest from caching bytecode in the tree. Each suite has two parts: the main tests in tests/, and the conformance tests in tests/conformance/, which check that a component writes only to its own folder, never reads stdin, stays inside its time, output and disk limits, reproduces under a fixed seed, and still produces a well-formed answer on at least 75% of calls. The conformance tests run the real fault models, so a full run takes about 4 minutes. Eight tests are skipped: some are marked flaky, and some skip when their seed produces no exact answer.
Status and limits
Developed and tested on Windows with Python 3.13. Results are probabilistic by design; see Known issues. Linux and macOS are expected to work and have not been tested. The plugin manifest, pyproject.toml and the CI workflow have not been exercised by their consumers yet. See docs/status.md and docs/what-it-cant-catch.md.
Engineering ledger
Every design decision that affects latency, I/O or diagnostics is recorded, one line each, in SLOP.md (harness and repository) and in each port's own SLOP.md. If a behaviour is not in a ledger, it is a defect.
πΊοΈ Roadmap
2+2=5(about half the time)Event bus (0 subscribers)
Postmortem
CI that passes on GitHub (somehow)
Fix
7*8Blockchain (soon)
AGI (Q3)
Contributing
New ports are welcome. Read CONTRIBUTING.md for the port contract and DECISIONS.md for the design record. Report security issues privately (SECURITY.md). See also the code of conduct, the accessibility statement and the changelog.
Not to be confused with
superslop/slop-anything-lite: a fork of Craft Anything. Different slop.
Pacheche/unslop-anything: removes slop. We add it.
No affiliation. Ours has a postmortem.
License
MIT Β© takattowo. slop-anything is an independent project and is not affiliated with the authors of the tools it reimplements.
Available Tools
13 toolsslop_benchA
Benchmark a port: run it N times (fresh data folder each) and report median, p95, min and max wall time in milliseconds, plus the projected steady-state speedup.
Inputs: port (required), args, runs.
slop_bridgeB
Generate a Python module in the state folder that exposes a function calling the port CLI through subprocess and returning its stdout. The module is compile-checked.
Inputs: port (required).
slop_diffA
Replay every recorded case of a port and compare stdout (ISO-8601 timestamps masked) and exit code with the recording. Reports each mismatch and the replay source (live replay or warm replica).
Inputs: port (required).
slop_doctorB
Environment checks: Python version, ports found, state folder writable, SQLite working. Each check reports its own result; the overall verdict is advisory.
Inputs: no named parameters.
slop_gateA
Statistical gate for a port: replays the recording three times, reports the mismatch count of each round, and returns a seeded verdict sampled from the replay distribution, with its confidence.
Inputs: port (required).
slop_liftA
Build a runnable zipapp (.pyz) of a port in the state folder, then run it and the port side by side with sample arguments and report whether stdout and exit code match.
Inputs: port (required), args.
slop_portsB
List the ports found under the ports root (SLOP_PORTS_DIR, else ports/ in the repo), with their built-in and recorded case counts.
Inputs: no named parameters.
slop_profileA
Profile one run of a port with cProfile in a subprocess and return the top functions by cumulative time.
Inputs: port (required), top, args.
slop_recordA
Record a port's behaviour: run each edge case in a fresh data folder with a fixed SLOP_SEED and store args, stdout, exit code and duration. Known ports (calc, cowsay, is-even, left-pad, todo-api) have built-in cases; other ports need cases.
Inputs: port (required), cases.
slop_runA
Run a port once with the given arguments and return its exit code, stdout and the tail of stderr. No shell, stdin closed, a fresh data folder, 30 s timeout. Refuses 'serve'.
Inputs: port (required), args.
slop_scoreA
Design-conformance score for the Python files under a path (0 to 100): broad exception handlers that absorb faults, latency-budget sleeps, retry policies on pure functions, ERROR-level diagnostics, self-issued deprecations, blocking sleeps in coroutines, ABCs with one implementation, plus a modularity bonus for shared utility modules. Bounded: 2,000 files, 50,000 entries, 1 MB per file.
Inputs: path.
slop_setupA
Print the MCP configuration for Claude Code and for a generic MCP client, with absolute paths for this interpreter and repo. Changes nothing outside the state folder.
Inputs: no named parameters.
slop_statusB
Version, state and ports folders, discovered ports, recordings, store revision and tool call count.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 13 tools
Most tools have clearly distinct purposes, but several execute ports in different modes (run, record, gate, bench, profile) and require reading descriptions to avoid misselection. Diff and gate both replay recordings, while bridge and lift both produce packaging artifacts, creating mild overlap.
All tools use a predictable lowercase slop_ prefix with a single descriptive term, making the set easy to scan. The convention is not strictly verb_noun, since ports, status, doctor, and setup are noun-like, but it remains consistent throughout.
With 13 tools, the server fits comfortably in the well-scoped 3-15 range. Each tool maps to a distinct lifecycle activity such as listing, running, recording, gating, benchmarking, profiling, packaging, scoring, or environment checks.
The surface covers the core workflow of discovering ports, running and recording behavior, replaying diffs, gating, benchmarking, profiling, packaging, scoring, and checking setup. Minor gaps exist around explicitly managing or deleting recordings and cases, but agents can likely work around them.
Maintenance
Related MCP Connectors
Email inboxes, webhook URLs, mock APIs and 170+ tools for coding agents over one MCP connection.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP-first toolbox for agents: KV storage, auth, queue, and utility tools. Free in early access.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to run project-specific checks, replays, simulations, and queries as MCP tools, providing ground-truth feedback on config edits instead of guessing.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI hosts to call deterministic tools such as echo, add, reverse, read/write files, and a C++-implemented two_sum via the MCP stdio interface.Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables reproducible evaluation of AI coding agents by exposing repository inspection, code editing, test running, and deterministic verification through MCP tools.-
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to perform file, search, patch, git, process, test, package, network, and system operations through 60 typed MCP tools with structured inputs/outputs, structured errors, and a full event journal, replacing terminal use with a typed machine API.MIT