Sign in to launch Copilot/Codex from the palette.
Home
/
Blog
/blog
Resources
/resources
Projects
/projects
About
/about
Layering model calls
/layers
Eight ways to stack fast and slow models on the same 50-second coding task. Compare a single loop, front opener, joint router, verbalizer, talker-reasoner, background worker, full-duplex tandem, and a three-agent fleet.
c4
/c4
A benchmark for hand: LLM agents played Connect 4 against me in a real browser, at 20.7 s and $0.022 a move, and lost every game they finished. The 80-line solver that graded them plays in under a second for nothing. Play it, and watch two solvers play each other.
Let the model write the system
/write-the-system
Don't make the AI do 500 jobs. Make it write the code once. It was 24 times cheaper and got more right.
Rewind a failed agent run
/agent-rewind
A coding agent runs inside amber, which saves it at every model call. For 20 failed runs, going back to the best step with one hint fixed 15. Starting over with the same hint fixed 4. Type checks run through accrete.
Is it safe to restart this plan?
/restart-check
A model wrote 88 agent plans that wait on a person. 64 did something different when restarted instead of paused. A 56-line source check caught 63 of them, running as a kept accrete script, with each plan tested on amber both ways.
Domain first
/domain-first
I wrote what accrete's tools are allowed to do as one Alchemy Domain model. Then I ran the same file in memory, on Cloudflare Durable Objects, and on Effect Cluster with Postgres, and called it from a Foldkit button. 20 agents, three hosts, one build every time.
Riding Handwired in public
/handwired-in-public
I am learning Cheng Lou's Handwired, where a program is a fixed list of FP32 ops. Five widgets on a toy runtime: the ReLU step trick, both branches always run, the host loop, loops as fixed work, and training a threshold.
The Entropy Wall
/entropy-wall
Models can crack random things we never expected. I tested 25 of them, the 2,300 token functions they wrote, and a Math.random attack in the browser, then asked what Cloudflare's Wall of Entropy is for next.
Terraloop
/terraloop
Two tools that run long tasks on Cloudflare without babysitting them: a heartbeat (loops-yaml) that re-prompts the agent, and terrarium running each job and handing back a receipt. Everything else is one markdown file.
If You're Here, Who's Driving?
/whos-driving
Google and Cloudflare are aiming at 2029 for post-quantum migration. A short note about agents, cryptography, and checking who still has the wheel.
desk and living-artifact: Cloudflare-Backed Hardware with OTA
/built-in-reverse
Two tiny Cloudflare-backed devices. desk installs apps with git push. living-artifact updates its own firmware over Wi-Fi with signed releases and A/B OTA rollback.
Worker Loaders as a Place: Sandboxed Dynamic Workers
/worker-loaders
Notes on using Dynamic Workers as short-lived execution spaces with explicit bindings and egress controls.
Constraint Theory: A Quiz on Where Agents and Humans Differ
/constraint-theory
Twelve statements about agents and humans. The quiz asks where surface behavior looks similar and where the analogy breaks.
Correctness: Software Correctness Tools Compared
/correctness
Reference hub for software correctness tools across runtime verification, model checking, verification languages, SMT solvers, theorem provers, and verified artifacts.
Self: Two Tiny Cloudflare Loop Patterns
/self
Minimal repro for long-running loops on Cloudflare: a Durable Object alarm that re-enters the Worker, plus a Workflow draining the same KV queue.
31 prompts for engineering, design, product, strategy, and agent workflows.
Run bounded autonomous work toward a falsifiable stop gate: locked Goal/Gate/Scope/Proof contract, parent-driven execution, loops_task idle driver, and terrarium only for a named lever.
How to work with me: Customer 0 mindset, plain-English output, my stack (Cloudflare, Alchemy 2.0, Effect v4, @effect/ui + Tailwind v4), engineering rules, and how to look up the portfolio live.
The unit is the experiment, not the repo. Start with the domain model, then falsifiable claims, a proven/unproven ledger, receipts, and two gates before a repo is earned.
Public apps where people sign in with their own Cloudflare account and pay for everything they use: inference, sandboxes and background work. The host pays a fixed floor. OAuth setup, invariants, pitfalls, and a checklist.
Agents plan forwards. Make them build backwards from a North Star eval, through loop checkpoints, with gates as the floor and proofs where logic allows.
Find where Effect v4 makes code more durable, typed, and observable: Context.Service, Data.TaggedError, Stream, Cache, Timeout, Retry, and Schema at boundaries.
Design backwards from system boundaries, tagged failure modes, binary stop gates, and runnable proofs before writing code.
Concise Effect v4 reference for AI coding agents: Context.Service, Layer, Data.TaggedError, Schema, Config, @effect/ui, and Alchemy 2.0.
10 attack lenses for any codebase: simplify, destroy, audit architecture, hunt performance, paranoid error handling, test mania, docs, security, refactor, and a final verdict.
Mike Acton's 7 questions for solving performance problems. Before optimizing, ask if you can eliminate, reduce, or approximate the work.
This codebase will outlive you. Fight entropy. Leave it better than you found it.
Find the state machines your app already has but never named: flags, status strings and booleans that move in a hidden order.
Push the model up a level before it starts typing.
Strip the problem to what cannot be removed, then rebuild from nothing.
Borrow a senior eye: what gets rewritten before any new work starts?
Ask for the one test that kills the design first.
Look for the abstraction that removes the problem instead of solving it.
Relentless interviewer mode. AI walks every branch of the design tree, resolving decision dependencies one-by-one until shared understanding is reached.
One line that makes any AI skip the safe answer. What's the single most useful thing you could add right now?
Long-horizon thinking. Map where a project goes in 3 months to 10 years — how it evolves, grows, shrinks, or dies.
Future predictions from current code. What novel ideas have emerged since training ended? What first-mover opportunities exist?
Before you default to safe patterns — show the version that makes someone stop scrolling. Three variants: constraint-based, reference-anchored, anti-pattern.
10 attack lenses for any design: clarity, UX minimalism, usability, IA, performance, accessibility, responsive, consistency, user testing, and system specs.
Design reference for progress and completion that feels premium. Stripe precision meets PS5 boot sequence.
Make the AI prove it understands what you've built before it touches anything. Summary checkpoint.
Switch the AI into maximum compression mode. Sacrifice grammar for density.
Writing that persuades without pressure. Clarity, honest framing, and reader trust.
Give your AI agent Gmail superpowers. Full read/write/search/send via MCP, npm, or browser connect — no Google security audit required.
20 principles for building products. Speed, team culture, scope management.
Prevent feature creep when building software, apps, and AI-powered products. Decision frameworks, scope management, and saying no.
Brutally honest assessment. Does this already exist? Is this actually a problem? Am I overcomplicating something simple?