AI engineering
34 posts on AI engineering: Coding agents, MCP, on-device models and reviewing AI-written code. Practical guides by Derar Sattouf.

Best Backend for the Agentic AI Era (2026): Python, Go, Rust or PHP?
Which backend to build on now that agents write code and call your APIs: seven stacks compared on 2026 data, AI SDKs, MCP, speed and hiring, with a clear winner.

Cutting LLM Costs: Prompt Caching, Model Routing, and Token Budgets
How to cut LLM API costs: measure cost per task, cache prompts, route by difficulty, batch, trim context, and set budgets.

Production RAG: Chunking, Hybrid Search, Reranking, and Evaluation
Production RAG from parsing to evaluation: chunking, hybrid search, reranking, query rewriting, citations and retrieval metrics.

Securing MCP Servers: Auth, Tool Poisoning, Safe Deployment
Build and consume MCP servers safely: OAuth per the spec, tool poisoning, confused deputy, SSRF, validation, sandboxing, a lab, mistakes and a checklist.

Automated Development Workflows With Background AI Agents in 2026
Background agents need boundaries more than clever prompts: self-contained tasks, least privilege, a PR gate and a diff guard. GitHub Actions examples included.

Spec-Driven Development in 2026: Moving AI Coding Beyond Vibe Coding
Spec-driven development in practice: constitution, spec, plan and tasks, verification gates, a hybrid workflow with vibe coding, tools and where SDD goes wrong.

Context Engineering for Coding Agents: Structure Your Repo
How to write AGENTS.md and CLAUDE.md files, scope instructions, keep context windows clean, and avoid the mistakes that make coding agents worse.

Evals for LLM Apps in 2026
Build LLM evals that catch regressions: golden datasets from real traffic, deterministic checks, calibrated judges, CI gates, tracing and cost tracking.

Agentic AI in Production, Beyond Simple Chatbots
An agent is a loop around a model, and the safety has to live in your code. Tool design, permission tiers, approvals, durable runs, evals, tracing and failure modes.

AI Governance and Compliance in 2026 for Engineering Teams
What AI laws mean for engineering teams in 2026: where the EU AI Act and Colorado stand, risk tiers, and the evidence, logs and CI gates worth building either way.

The AI Power Economy and What Developers Can Control
AI scaling is now limited by electricity and heat. What grid limits, liquid cooling and power deals mean, and the efficiency work developers can do today.

Multi-Agent Systems vs. Single Models: How to Choose the Right AI Architecture
A balanced guide to multi-agent systems versus a single model or agent: patterns, costs, failure modes, frameworks, code, evaluation and a decision checklist.