AI coding agents love wrapping everything into god-objects. Layered architecture fights that instinct at the structural level. Your code gets smaller files, better tests, and agents that follow the pattern instead of inventing their own.
Posts for: #practices
Baklava Architecture: Your Python App Needs Layers
FastAPI and Flask make it dangerously easy to put everything in one place. Database calls in route handlers, business logic scattered across a hundred files, no clear boundary between what receives a request and what decides what to do with it. Here is how to fix that with proper layering.
AI is NOT your new terminal
I caught myself prompting an AI agent to create a Git branch. The prompt had more keystrokes than the command. That moment revealed something uncomfortable about how we're starting to confuse two very different tools.
Vibe coders: baby programmers?
Most takes on vibe coders are negative, and well deserved. Then I watched a 30-second video that reframed the whole thing, and a second one that pulled me right back. A post that bounces between the two, ends pessimistic, and still finds a reason for hope.
Book a meeting with your agent
AI agents produce code fast, but they also make architectural decisions that slip past review. When things break, you're reverse-engineering an alien system. The fix might be surprisingly low-tech: a weekly meeting with your agent.