The Harness Is the New Model: Why AI Agents Live or Die by Their Scaffolding
What an AI harness is, why it suddenly matters more than which model you pick, and seven habits for getting real work out of one.
Software architect and product engineer. I design, architect and build products, and write about backend engineering, distributed systems, databases and AI.
The longer pieces, if you only read a few.
What an AI harness is, why it suddenly matters more than which model you pick, and seven habits for getting real work out of one.
Kafka delivers at least once, and its exactly-once features stop at the edge of Kafka. Where duplicates come from, and how to build idempotent consumers with an inbox table, sane offset commits, and dead letter topics for poison pills.
A lost response plus an automatic retry equals a double charge. How to design idempotency keys properly: client rules, a Postgres schema, atomic key claims, concurrent retries, crash recovery around external calls, and the edge cases.
Random UUIDv4 primary keys scatter inserts across your B-tree index, bloating it, thrashing the cache and inflating WAL. Here's how to measure the damage, and how UUIDv7 (RFC 9562, native in PostgreSQL 18) fixes it without giving up what made UUIDs useful.
Where gRPC's speed actually comes from (HTTP/2, Protocol Buffers, streaming), what a typed contract buys you, and the costs tutorials skip: load balancing, debugging, browser support, and schema evolution. Ends with a clear guide on when to choose gRPC and when REST is better.
Build a fully local RAG pipeline with Ollama, open embedding models, and Chroma: working Python for ingestion, retrieval, and a FastAPI service, plus the tuning, security, and cost trade-offs that decide whether self-hosting is right for you.
Open-source tools I build and maintain.
Exposes Typesense search metrics and stats in Prometheus format, with ready-made Grafana dashboards.
OpenTelemetry tracing and metrics for the Moleculer microservices framework.
One dashboard for every BullMQ queue across many Redis servers, built on bull-board with a React UI.
A fast, native tiling window manager for macOS, inspired by i3, AeroSpace and yabai.
A terminal UI that lists every listening TCP port with the process behind it, and lets you kill it.
A desktop GUI for the NordVPN CLI on Linux: browse servers, connect, and watch the connection status.
Watches files and saves a backup copy every time one changes, with custom naming and locations.
Merged pull requests to other people's projects.
Stats synced on 16 November 2026. Everything else is on github.com/imatefx.