Articles
Practical guides to building with AI, with code we ran ourselves. Plus honest reviews and comparisons of the tools.
Your AI Agent Broke Something: The First 60 Minutes
A minute-by-minute playbook for the hour after an AI agent does something it shouldn't: stop it, keep the evidence, measure the damage, decide.
Just published
Arabic AI Voice in 2026: ElevenLabs vs Azure, Google and OpenAI (Dialects, Prices, Licensing)
Oct 16, 2026 9 min
Structured Outputs in 2026: How to Get Reliable JSON from AI Models (OpenAI, Claude, Gemini)
Oct 7, 2026 11 min
How to Write System Prompts for AI Agents (2026): A Practical Guide from Anthropic's and OpenAI's Own Advice
Oct 7, 2026 11 min
Browser and Computer-Use AI Agents in 2026: What Actually Works, and How to Set Them Up Safely
Oct 7, 2026 10 min
Build an AI agent, step by step
7 guides in order, from your first tool to a secure, affordable agent in production.
- 1How to Build Your First AI Agent: A Complete Step-by-Step Guide9 min
- 2Build Your First MCP Server in 2026: The Current Way After the July Spec Update10 min
- 3Why Your AI Agent Forgets, and How to Give It Memory (2026 Guide)11 min
- 4How to Test an AI Agent Before You Ship It: Evals, pass^k and Graders (2026)11 min
- 5One Agent or Many? When a Multi-Agent System Is Worth It (2026)10 min
- 6AI Agent Security in 2026: Stop Prompt Injection with Tool Permissions, Not Prompts11 min
- 7How to Cut AI Agent Costs in 2026: Prompt Caching, Model Routing and Batching11 min
- About 73 minutes of reading in totalStart with step 1
More articles
Reliable Tool Calling for AI Agents in 2026: Structured Outputs, Validation and Safe Retries
Strict tool use guarantees the shape of a tool call, not its meaning. What structured outputs do and don't cover, how to design tools, and a tested execution layer for validation, idempotency, retries and useful errors.
RAG vs Long Context in 2026: When Retrieval Still Wins (With a Tested Demo)
Million-token windows didn't kill RAG. What the research says about long inputs, when retrieval still wins, the cost math with prompt caching, and a tested demo where one small fix turns a wrong answer into the right one.
How to Cut AI Agent Costs in 2026: Prompt Caching, Model Routing and Batching
93% of a typical agent bill is re-reading the same context. A tested cost model shows prompt caching cutting it by 77%, a timestamp bug making it 23% worse, and what routing and batching add on top.
AI Agent Security in 2026: Stop Prompt Injection with Tool Permissions, Not Prompts
Adaptive attacks beat most published prompt-injection defenses more than 90% of the time. Here is the design rule that still holds (the Rule of Two) and a tested Python permission gate that stays safe even when the model is fooled.
One Agent or Many? When a Multi-Agent System Is Worth It (2026)
Multi-agent systems beat a single agent by 90% on Anthropic's research eval, at about 15x the tokens of a chat. A four-question test for when that trade is worth it, plus a tested orchestrator in Python.
How to Test an AI Agent Before You Ship It: Evals, pass^k and Graders (2026)
An agent that passes 80% of tests fails users far more often than that suggests. Learn to measure consistency with pass^k, grade outcomes instead of paths, and build a reproducible eval harness in Python.
Why Your AI Agent Forgets, and How to Give It Memory (2026 Guide)
Context editing, compaction and Claude's memory tool solve three different problems. Learn which to use when, and build a tested per-user memory store in SQLite with the guards the docs require.
Build Your First MCP Server in 2026: The Current Way After the July Spec Update
MCP's July 2026 revision made the protocol stateless and renamed the Python SDK's main class, so many tutorials no longer work. Build, test and connect a real server the current way.
How to Build Your First AI Agent: A Complete Step-by-Step Guide
A working, verified guide to building your first AI agent — both no-code (n8n) and code (Claude API) paths, with real runnable code and honest caveats where documentation is unclear.
Claude vs ChatGPT vs Gemini: The Complete 2026 Comparison
Prices, free-plan limits, context windows, coding agents, app integrations and privacy defaults for the big three AI assistants as of October 2026, with a clear pick for each type of user.
Why Slow WhatsApp Replies Cost You Customers (and What the Response-Speed Research Shows)
What the HBR and lead-response studies actually found, how to measure your own reply time, the WhatsApp rules that matter in 2026 (24-hour window, per-message pricing, AI policy) and a safe AI rollout.
What Is AI Automation? A Practical Guide for Business Owners (2026)
Rule-based automation, AI-assisted workflows and AI agents explained, where each pays off, a simple score to pick your first task, how to estimate the savings, and the guardrails that keep it safe.