Building a Real Agent Orchestrator for OpenCode
Most agent orchestration demos look smart for five minutes and flaky for the next fifty. The failure mode is usually boring. No ownership. No memory. No safety boundary. Every agent can do a littl...
I build reliable APIs, agent workflows, and developer tooling that hold up beyond demos — focusing on the unglamorous parts that make systems actually work.
Most agent orchestration demos look smart for five minutes and flaky for the next fifty. The failure mode is usually boring. No ownership. No memory. No safety boundary. Every agent can do a littl...
Caching discussions often stay too abstract. In practice, I keep coming back to a small set of patterns depending on the failure mode I care about. 1. Cache-aside for read-heavy data This is the ...
Idempotency is one of the simplest ideas that prevents some of the ugliest production bugs. If a client retries a request because of a timeout, network flap, or browser refresh, the backend should...
Introduction Isolation levels define how much of another transaction’s work your current transaction is allowed to observe. This article compares PostgreSQL isolation levels with MySQL, focusing on...
Problem statement: The efficient way to find all items near a given location(lat, long). The obvious solution: The easiest way would be to calculate the distance of all items from the given loca...
In TypeScript, managing union types often introduces complexity, particularly with type guards, leading to verbose and less transparent code. Consider this typical scenario: type SelectProps = { ...
In this post, we will see how to setup a new typescript-node project in 2024. We will use pnpm as package manager, ts-node for running typescript code directly, eslint for linting, prettier for for...