Agentic Experience: The Agent's Error Log is the Blueprint for Your CLI
An AI agent made over 500 errors using a CLI across 165 sessions. Its error log serves as a reverse blueprint for the interface you should have designed.
Recent content on frr.dev
An AI agent made over 500 errors using a CLI across 165 sessions. Its error log serves as a reverse blueprint for the interface you should have designed.
Cloudflare's in-dashboard AI assistant silently provisioned a permanent, read-everything API token across all my accounts, zones and users.
Brave Shields blocks Sentry even with shields down. Learn how to fix it with your own Flask tunnel and avoid three undocumented gotchas.
I analyzed 1,324 real calls from Claude Code to my Linear CLI. 15.9% failed. The errors reveal how to design tools that agents can use without breaking.
The same architectural pattern solves sentiment analysis and image cleanup: deterministic first, CoreML only for what remains. PyTorch → ONNX → Apple Neural Engine in three commands.
In August 2021, researchers broke NeuralHash in less than two weeks. The attack wasn’t a fluke—it’s a structural property of the perceptual hash family. The EU is legislating on this.
The EU Chat Control and Apple’s failed on-device scanning rely on the same 40-line Python algorithm. Understanding how it works is essential for informed discussion.
Agent Experience (AX) principles are changing how CLIs are designed when the primary user is an LLM. Output that’s token-efficient, fuzzy matching, actionable errors, and zero mandatory flags.
I built a macOS app to stress-test every capability of Apple Intelligence on-device. The 3B model is mediocre at free-form text, but with constrained decoding and tool calling, the results are surprisingly good.
Apple's NLTagger scores 'delete the temp file' as -0.8 (very negative). It's systematic bias in technical text that nobody has documented. Data, causes, and an open source solution.
libfoundationmodels exposes Apple's on-device LLM as a 4-function C dylib. The async Swift → sync C bridge using Mutex and DispatchSemaphore, and why this is more useful than a local HTTP server.
Coding agents use $15/M token cloud models for commit messages. foundation-hooks replaces them with Apple's on-device LLM: 300ms, 0 tokens, 0 cost. Open source repo with make install.
Google's TurboQuant paper got 575 points on HN and crashed memory stocks. One month later: which implementations actually work, the RaBitQ controversy Google won't address, and how to run it on your Mac today.
Apple Intelligence includes a 3B-parameter model on your Mac. Learn how to use it for classification, naming, triage, and commit messages without paying for APIs. Copy-pasteable Swift recipes.
My plan to distribute work among Claude, Codex, and GLM/Z.AI without automating too early, cutting costs without losing judgment.
If you're coming from Claude Code, this will save you some serious frustration: in Codex, a skill is not a slash command. They're used for different purposes.
Apple's NLTagger scores perfectly neutral technical text as negative. An empirical analysis of bias, why it happens, and what to use instead.
165 sessions with Claude Code and 27 with Codex CLI reveal a clear pattern: each agent excels in different tasks. Learn how to organize your day with two AI copilots.
Python has had a fragmented and slow tooling ecosystem for years. The revolution came from where nobody expected: Rust. uv, Ruff and ty have changed the game. The Cult of Ferris was right.
My Linear skill had 150 lines of workarounds: hardcoded UUIDs, curl fallbacks, notes like 'the CLI doesn’t support X.' I didn’t rewrite them — I made them unnecessary by building a tolerant tool.
MDD: a methodology for designing tools that absorb the hallucinations of your AI copilot. Two layers—error archaeology and adversarial verification—inspired by Don Quixote and Sancho Panza.
XML repeats tags, JSON repeats keys. When your consumer is an LLM, every token counts. The story of how I ended up with a compact positional format and discovered it already existed: TOON.
Your AI generates plausible code against non-existent APIs. Schema introspection, real fixtures, and fetch/process separation: the anti-hallucination methodology that works.
Linear launched their AI agent. Sounds great, but what we really needed was a functional CLI that didn’t suck. And if we have to rewrite it, let’s do it in Rust.
TurboQuant compresses LLM KV cache 6x without losing precision. The trick: don't invent a better compressor, move data to polar coordinates where compression becomes trivial.
LLMs generate code that compiles but abuses strings, optionals, and nil where specific types should exist. How to detect it with a linter and an auditing skill.
A developer got Claude and Codex to argue about their plan until it was solid. The idea is brilliant: use a second model as an adversarial reviewer. 14 bugs caught, zero human intervention.
Mole promises to clean and optimize your Mac. After testing it all, only two commands are worth your time: mo purge and mo analyze. The rest is just fluff.
Your AI agent doesn't remember where your projects are. zoxide and CLAUDE.md are the solution: a smart cd and a memory tattoo so they stop getting lost.
How a scalar Kalman filter reduces network calls by 80% in a menu bar app, adapts to battery status, and sleeps on its own when you're inactive.
How I combine Ghostty, git worktrees, and Claude Code in my daily macOS development workflow. No flickers, massive scrollback, and true parallelism with worktrees.
Codex CLI doesn’t support --worktree or --tmux. But with manual Git worktrees and a few tricks, you can achieve real parallelism. A practical guide with the bugs you’ll encounter.
Claude Code has native support for git worktrees: --worktree, isolated sub-agents, custom agents with isolation, --tmux for parallel sessions. Five tips from Boris Cherny.
PostgreSQL without sharding, a while loop without architecture, cron without cloud platforms. Six articles saying the same thing: boring discipline works better than flashy technology.
Tired of Codex CLI asking permission for every file? Use --full-auto or -a never -s workspace-write for autonomous agent mode. Step-by-step guide with Claude Code comparison.
Prompt engineering is writing a good prompt. Context engineering is designing EVERYTHING the model sees: what goes in, in what order, what gets discarded, what gets compressed. And it's what really matters.
Email is an inbox anyone can fill with junk. I've declared bankruptcy multiple times. This time, instead of promising to manage my inbox better, I’ve decided to stop using it as a reminder system.
I designed a council of five simulated LLM experts to evaluate MVPs before writing code. Paul Graham, Lessig, Godin, Balaji, DHH — and why each one is part of the team.
A practical tutorial to replicate OpenAI's Codex Automations using Claude Code, systemd timers, and Gitea. Agents that work while you sleep, without relying on any desktop app.
OpenAI serves 800M ChatGPT users with a single PostgreSQL primary and ~50 replicas. No sharding, no microservices. Deliberate simplicity beats over-engineering.
Codex CLI and Claude Code look like magic, but inside they're just a loop with 5 phases, an LLM, and tools. We break down the agentic loop step by step with diagrams.
Jane Street hid MD5 inside a neural network with integer weights. The process to uncover it is a masterclass in debugging that every senior should study.
Prompt caching reduces input cost by 90%, but cache writes cost 25% extra. Your bill goes up before it goes down. Here's how it works and how to manage your expenses.
/simplify by Claude Code reviews your code with three generic agents. It's okay, but it creates noise. I replaced it with a Jedi Council: Kent Beck, Martin Fowler, and Mike Acton with real decision rules. Fewer findings, zero false positives, and one bug the other tool missed.
Claude Code 2.1.71 introduces /loop, an inline scheduler for recurring tasks. What it does, how to use it, and why it doesn’t quite replace a proper cron job.
xctrace exports 33,000-line XML files that blow up any LLM's context window. ztrace condenses them into 10 actionable lines. How and why.
When an AI agent operates your ETL pipeline, forbidding things doesn't work. Only making the wrong path structurally impossible works.
Anthropic announced Remote Control for Claude Code. We investigated the bridge API, WebSockets, on-disk traces, and why it still doesn't work for all Max accounts in February 2026.
I’m porting 8,300 lines of Python to Rust using LLMs as copilots. The real goal: testing adversarial development in a hardcore porting process. With raw data and a hallucination counter.
An LLM wrote code that read and parsed a JSON file from disk on every iteration of a 900-file loop. It's a first-year computer science mistake. No linter can catch it.