Wake up to {{ adjWord }} {{ nounWord }}.

Sleepy is an evolutionary code-optimization service. It searches your hot paths overnight, runs every candidate through your correctness gate, measures the survivors honestly, and keeps only the winners — while your code stays on your machine.

A real overnight run, replayed - every patch below shipped or was rejected exactly as shown.

{{ hlTick }}

{{ proofLine }}
{{ m.time }}{{ m.ratio }}
{{ evoStatus }}
{{ evoBest }}
{{ codeMorph }}

How the search works

Correctness is checked before fitness.

01 · Mutate

Your models propose changes.

{{ howLive1 }}

02 · Correctness gate

Tests run first. Failures drop out here.

{{ howLive2 }}

03 · Measure

Only passing candidates are benchmarked.

{{ howLive3 }}

04 · Keep

Faster and still correct wins.

{{ howLive4 }}

Live from the search running in the hero above. The gate is hardened - a candidate cannot forge its own test output.

The search itself is AlphaEvolve-class: MAP-Elites quality-diversity archives on island populations with ring migration, NSGA-II multi-objective selection, novelty pressure, and adaptive tuning - not an LLM in a while-loop.

Eval integrity

The gate assumes every candidate is lying.

A search that writes its own code will eventually try to game its own test. Most of Sleepy's engineering went into making the admitted evaluator boundary detect that behavior and fail closed.

tl;drCandidates run in disposable, no-network containers against tests they can't touch; timing is preregistered and paired; every verdict carries an auditable hash chain. Eight controls, all fail-closed.

01 · A fresh cell per candidate

In the guarded evaluator profiles, each candidate command runs in its own container from an image pinned by digest - never pulled at run time - and the whole container, workspace and all, is destroyed afterward.

golang@sha256:ea341baa… · --pull=never

02 · Nothing to reach

No external network, zero Linux capabilities, private PID/mount/IPC namespaces, and an irreversible seccomp filter installed before any candidate instruction executes.

caps: 0 · net: none · no_new_privs · seccomp first

03 · Tests it cannot touch

Your tests and benchmarks run from an immutable snapshot; the live tree is never mounted writable. Benchmark names are locked at seed discovery behind a private receipt - a candidate can inspect the allowlist, but can never acquire fitness authority.

authority snapshot · read-only · sha-256 receipts

04 · The poisoned control

Every passing run is re-run through a deliberately broken harness overlay that must fail with a random marker. A candidate that forges stdout, exits 0 early, or rewrites testing flags cannot satisfy both runs.

negative control · unpredictable marker · must fail

05 · Fail closed, always

Before any run, a capability probe verifies the sandbox from inside - user maps, read-only mounts, zero capabilities, active seccomp, memory and process ceilings. One missing property and Sleepy refuses to run at all.

probe verified in the candidate process itself

06 · Preregistered measurement

The decision policy is fixed before anything is timed: measurement schedule, warmup and measured blocks, minimum win ratio. Baseline and candidate are measured paired - same session, same hardware - and scored on the median of repeated samples. No cherry-picking, by construction.

policy first · paired runs · median of n

07 · An unbroken evidence chain

Every verdict is bound to digests of the source snapshot, baseline and candidate bytes, evaluator contract, sandbox policy, toolchain, hardware, and environment. Execution receipts form a custody sequence - one gap invalidates the run.

8 digests per verdict · custody, not trust

08 · The winner proves it twice

Final verification never reuses the search session: fresh containment, a fresh baseline measurement, the exact champion bytes re-verified - only then is the verified output finalized. Tampering between verify and apply fails closed.

fresh baseline · exact bytes · then commit

per candidate: 1 cpu · 60 cpu-seconds · 2 GiB, no swap · 128 processes · 4 MiB output · 15 min wall · then the container is gone

These ceilings bound each candidate's cell, not your project or your machine. Configurable limits are on the roadmap; the fail-closed defaults are not.

The primary execution authorities are stated, not hidden: your host kernel, container runtime, pinned image and toolchain, evaluator authority snapshot, and the Sleepy binary. A written audit guide lets a reviewer verify the admitted boundary.

Trust boundary

The canonical worker keeps code and model keys on your machine.

The hosted control plane is code-blind: it coordinates source-free jobs. Your client-owned executor invokes your chosen model provider, runs the exact evaluator contract locally, and retains raw evidence. Start that path with sleepy worker. MCP sampling is EOL and sits outside this canonical boundary.

The platform

One search, three surfaces.

Shipping

Companion CLI

The current shipping surface. Qualify a project, point a worker at a hot function, and stream the search from your terminal.

{{ cliLines }}
Live

Hosted control plane

Your dashboard for runs, schedules, and the public proof ledger. It coordinates the search - it never sees your code.

Log in →
run-7f2asearching
generation14 / 20
best verified1.31×
host seessource-free state
Public beta · v0.1.30

Desktop Workbench

Inspect, apply, decline, and guarded-revert winners before they touch your tree. The macOS builds are signed with Developer ID and notarized by Apple.

Requires macOS 12 or later. Automatic updates are not enabled in this beta; download a newer build here when one is published.

release0.1.30 beta
architecturesApple Silicon · Intel
Developer IDverified
Apple notarizationaccepted

Go to sleep.

The search runs overnight. The proof is waiting in the morning.

Create hosted workspace Download the Mac app