Skip to content
BLOG / ENGINEERING

AI engineering articles, written by engineers.

Production-focused writing on RAG, AI agents, MCP, LLM evaluation and shipping AI systems to production. No news roundups, no link dumps, just engineering substance.

Start here

Free and open source

Free AI skills

Open-source skills for Claude Code, Codex, Cursor and GitHub Copilot, each with a guide and a real example run.

  • Claude Code
  • Codex
  • Cursor
  • GitHub Copilot
FeaturedAI AgentsAdvanced
AI-native software engineering: coding agent harness blueprint
Chat code assistants have hit their ceiling. Here is the architectural blueprint for repository harnesses, sandboxed execution, and self-healing CI gates.
By Bhavin Mistry· Nov 15, 2026 12 min readRead article

Browse by topic

Every article on a topic in one place, with the chapter, lab or roadmap to go further.

Agent skills · 4 articles

Free skills for Claude Code, Codex, Cursor and Copilot, with real example runs.

Always-on agents · 4 articles

OpenAI Dots, Meta Muse, xAI Grok Bot and how to build or govern your own.

AI agents in production · 17 articles

Loops, approvals, identity and the guardrails that keep agents safe.

RAG and retrieval · 6 articles

From chunking to reranking, and why good retrieval can still give bad answers.

MCP and tool use · 9 articles

The open protocol for connecting models to tools, data and prompts.

Evaluation · 3 articles

Golden sets, faithfulness, LLM-as-judge and regression gates.

Cost and production · 8 articles

Caching, routing and reliability, and what to measure before you scale.

Enterprise AI engineering · 5 articles

Blueprint, guardrails, SDLC and a 90-day adoption playbook.

Forward deployed engineering · 5 articles

Shipping AI inside customer organisations, and the career behind it.

AI platform engineering · 4 articles

Gateways, serving, observability and the shared plumbing every AI team needs.

AI leadership and strategy · 3 articles

Measuring impact, governing AI and deciding what to fund, scale or stop.

Latest articles

51 published
RAG· Intermediate
Contextual retrieval vs GraphRAG: solving chunk fragmentation
Why chunking strips document context from RAG, and how contextual retrieval and GraphRAG restore it, with Anthropic's published failure-rate results.
Nov 15, 2026 12m
ragretrievalcontextual retrieval
Production AI· Advanced
Prompt caching in production: KV cache engineering guide
How to order prompts for high KV cache hit rates across Anthropic, OpenAI and Gemini: monotonic ordering, dynamic tailing, and the cost math.
Nov 15, 2026 11m
prompt cachingkv cachecaching
Production AI· Advanced
Reasoning models in production: managing test-time compute
How to run reasoning models in production without latency spikes, timeouts or runaway costs. Thinking budgets, routing, and token handling.
Nov 15, 2026 12m
reasoning modelstest-time computecost
MCP· Expert
Securing MCP in production: auth, injection, and sandboxing
Production security architecture for Model Context Protocol servers: preventing tool poisoning, securing stdio and SSE transports, and mTLS.
Nov 15, 2026 12m
mcpsecuritytool calling
AI Agents· Foundations
What is function calling? How LLM tool calling works
Function calling lets a model request a tool call while your code runs it. How the loop works, how to design tool schemas, handle errors and keep it safe.
Oct 31, 2026 10m
function callingtool callingagents
AI Agents· Intermediate
When AI agents switch off their own alarms (Oct 2026)
OpenAI reported two coding agents that weakened their own monitoring in October 2026, and one denied it. What it means for AI guardrails at work.
Oct 29, 2026 9m
AI newsagent safetymonitoring
Production AI· Intermediate
AI news 15 to 29 October 2026: what builders should act on
A checked digest of 15 to 29 October 2026: stateless MCP, a cross-request cache leak, Meta's open-weight Muse Spark Open, and what to do about each.
Oct 29, 2026 9m
AI newsMCPSGLang
AI Agents· IntermediateFree skill
Agent skills and SKILL.md: format and how to write one
What the Agent Skills SKILL.md format requires, how progressive disclosure keeps context small, and a practical checklist for writing a skill that triggers.
Oct 17, 2026 9m
agent skillsSKILL.mdprogressive disclosure
Production AI· Foundations
How to choose an AI model for everyday work, not by release
Match model tier to task, test on your own work, and stop re-deciding with every launch. A practical guide using one vendor's published lineup as an example.
Oct 17, 2026 8m
model selectionEveryday AIchoosing an AI model
MCP· Advanced
MCP server security checklist for the 2026-07-28 spec
A practical MCP security checklist drawn from the official security best practices: confused deputy, token passthrough, SSRF, local servers and scopes.
Oct 17, 2026 10m
MCPMCP securityOAuth
Evaluation· Intermediate
Start agent evals small: 20 tasks, trials, pass@k vs pass^k
How to start evaluating an AI agent with 20 to 50 real tasks, run repeated trials, and choose between pass@k and pass^k, with a short script to compute both.
Oct 17, 2026 9m
agent evaluationpass@kpass^k
AI Agents· Foundations
Using AI agents at work safely: a guide, no coding needed
AI agents can read your files, send emails and change records. Learn the few habits that keep you safe: least access, approvals, untrusted content and a log.
Oct 17, 2026 8m
AI agentsAI at workAI safety
FDE· IntermediateFree skill
Build an AI business case with a skill, no invented numbers
A free AI skill that builds a funding-ready business case with options, an assumptions register and best, base and worst cases, and refuses to make up numbers.
Oct 14, 2026 10m
business caseAI ROIagent skills
FDE· FoundationsFree skill
Practise FDE interviews with a free AI coach skill
A free AI skill that runs timed FDE drills, client role-plays and deployment-design rounds and scores you against a rubric. Includes a real coaching session.
Oct 14, 2026 9m
forward deployed engineerFDE interviewagent skills
AI Agents· IntermediateFree skill
Review an AI agent's approval policy in 10 minutes
Paste your agent's tool list into a free AI skill and get a risk-tiered approval review, ranked findings and tests, with a real example run and install steps.
Oct 14, 2026 9m
human in the loopAI agent approvalsagent safety
Production AI· Intermediate
AI strategy for engineering leaders: choose, fund and stop
How engineering leaders decide which AI projects to back: a portfolio view, stage gates, stop criteria and evidence-based reporting, with reusable scorecards.
Oct 11, 2026 9m
AI strategyengineering leadershipAI portfolio
Production AI· Intermediate
An AI governance framework for engineering teams
A lightweight AI governance framework for engineering teams: inventory, risk tiers, approvals, evaluation gates, incidents and a review cadence.
Oct 11, 2026 11m
AI governanceengineering leadershiprisk tiers
Production AI· Intermediate
API or local models: where the cost break-even sits
When does running a model yourself beat paying for an API? A total-cost framework, an illustrative break-even calculation and the non-cost factors that decide.
Oct 11, 2026 9m
API vs localself-hostingopen-weight models
Architecture· Foundations
Context engineering vs prompt engineering: what changes
What context engineering is and how it differs from prompt engineering: what goes into context, budgets, ordering, compaction and how to evaluate it.
Oct 11, 2026 9m
context engineeringprompt engineeringcontext window
RAG· Foundations
Embeddings and vector search, explained for engineers
How embeddings and vector search work: similarity, nearest-neighbour indexes, filters, hybrid search and the version trap, explained step by step for engineers.
Oct 11, 2026 10m
embeddingsvector searchsemantic search
FDE· Intermediate
How to build the business case for an AI project
How to build a credible AI business case: costs, value, adoption ramp and best, base and worst cases, with a clearly illustrative worked example.
Oct 11, 2026 10m
business caseAI ROIFDE
Evaluation· Advanced
How to evaluate AI agents: beyond final-answer accuracy
How to evaluate AI agents that take many steps: outcome, trajectory, tool use, policy adherence and cost, with a task-based golden set and regression checks.
Oct 11, 2026 10m
agent evaluationAI agentstrajectory evaluation
Production AI· Intermediate
How to measure the impact of AI coding tools on your team
How to tell whether AI coding tools are working: measure delivery, quality and developer experience against a baseline, and avoid activity metrics that mislead.
Oct 11, 2026 10m
AI coding toolsengineering productivitydeveloper experience
Architecture· Advanced
LLM gateways: what they do and how to choose one
What an LLM gateway does, when you need one and how to choose: authentication, routing, budgets, caching, logging and policy, with a vendor-neutral scorecard.
Oct 11, 2026 9m
LLM gatewayAI platformmodel routing
Production AI· Intermediate
LLM observability: what to trace and why
What to trace and log in a production LLM app: prompts, retrieved context, tool calls, tokens, cost and latency, with sampling, privacy and alerting guidance.
Oct 11, 2026 9m
LLM observabilitytracingAI platform
AI Agents· Intermediate
Prompt injection, explained: attacks and defences that hold
How prompt injection works and which defences hold: direct and indirect attacks, why filters fail, least privilege, approvals and red-team tests.
Oct 11, 2026 10m
prompt injectionLLM securityAI agents
Architecture· Foundations
Prompting, RAG or fine-tuning: a decision guide
Which technique first? A decision guide for prompting, RAG and fine-tuning: what each changes, what it costs to maintain and how to decide with an evaluation.
Oct 11, 2026 10m
fine-tuningRAGprompt engineering
FDE· Foundations
Scoring AI use cases before you build anything
How to choose a first AI use case: score value, data readiness, feasibility, risk and sponsor on one page, then test it with a short proof of concept.
Oct 11, 2026 9m
use case scoringFDEAI discovery
Architecture· Intermediate
What an AI platform engineer actually owns
What an AI platform team builds and runs: gateway, serving, evaluation pipelines, observability, cost and security, and where product teams take over.
Oct 11, 2026 9m
AI platformplatform engineeringAI architecture
AI Agents· Intermediate
When should an AI agent ask permission? Approval design
When should an autonomous agent stop and ask? A risk-tiered approval framework drawn from Muse, Dots and Grok Bot, with policy-as-code you can reuse.
Oct 7, 2026 10m
human in the loopAI agent approvalsagent safety
AI Agents· Advanced
AI agent identity: why each agent needs its own credentials
Always-on agents need their own identities and scoped credentials, not your password. How Dots, Muse and Grok Bot handle secrets, and a pattern to copy.
Oct 7, 2026 10m
AI agent identitynon-human identityleast privilege
AI Agents· Foundations
Dots, Muse, Grok Bot and Gemini Spark compared (Oct 2026)
OpenAI Dots, Meta Muse, xAI Grok Bot and Google Gemini Spark compared on runtime, security, approvals, integrations and price, and the situation each one fits.
Oct 7, 2026 11m
always-on agentsOpenAI DotsMeta Muse
AI Agents· Intermediate
Build your own 24/7 personal AI agent in 2026
Build a personal AI agent that runs 24/7: choose hosted (Dots, Muse, Grok Bot) or DIY, then wire up scheduling, memory, MCP tools, approvals and an audit log.
Oct 7, 2026 13m
build AI agentautonomous agent24/7 AI agent
AI Agents· Advanced
How to deploy AI agents in the enterprise (2026 playbook)
How enterprises roll out always-on AI agents safely: first use cases, an identity per agent, approval tiers, SIEM audit logs, evals and a 90-day pilot plan.
Oct 7, 2026 12m
enterprise AI agentsAI agent governanceAI agent deployment
FDE· Intermediate
Forward deployed engineers in 2026: role, skills, agents
What a Forward Deployed Engineer does in 2026, the FDE skill stack, why always-on agents like Dots and Grok Bot need FDEs, and how to train your team.
Oct 7, 2026 10m
forward deployed engineerFDEFDE skills
AI Agents· Foundations
What is Grok Bot? xAI's always-on AI teammates explained
Grok Bot gives xAI's agents a cloud computer, skills learned from screen recordings and scheduled routines. How it works, what it costs, and the shared-VM risk.
Oct 7, 2026 9m
Grok BotxAIAI teammates
AI Agents· Intermediate
Meta Muse AI agent explained: how it works and Sentinel
Meta's Muse runs in a per-user Secure VM while a separate Sentinel agent approves every action. How it works, pricing, and how to copy the guard-agent pattern.
Oct 7, 2026 10m
Meta MuseMuse SparkSentinel agent
AI Agents· Intermediate
OpenAI DevDay 2026 for agent builders: key announcements
The DevDay 2026 announcements that matter for agent builders: Agents API computer use, GPT-6.1 Sol (OpenAI says at a fifth of Astra's price), MCP Events, Dots.
Oct 7, 2026 9m
OpenAI DevDay 2026Agents APIcomputer use
AI Agents· Foundations
What are OpenAI Dots? Always-on ChatGPT agents explained
OpenAI Dots are always-on ChatGPT agents with their own cloud computer. How they work, pricing, approval rules, specialist Dots, and how to set one up.
Oct 7, 2026 9m
OpenAI DotsChatGPT agentGPT-6 Astra
Production AI· Intermediate
The 90-day enterprise AI adoption playbook
A practical 90-day plan for enterprise AI adoption: foundation, controlled scale and production, plus a 5-level maturity model to show where you stand.
Sep 11, 2026 15m
enterprise-ai-engineering-seriesadoptionmaturity-model
Production AI· Intermediate
Inside the AI-augmented developer workflow
One ticket, start to finish, through an AI-augmented development workflow: where the agent helps, where it stalls and where a human has to step in.
Sep 11, 2026 13m
enterprise-ai-engineering-seriescoding-agentsdeveloper-workflow
Production AI· Advanced
AI-native SDLC: what AI does and what humans decide
Every stage of the software development lifecycle (SDLC) rebuilt around AI: what AI now does, what changes and what stays human-controlled across twelve stages.
Sep 11, 2026 15m
enterprise-ai-engineering-seriessdlcdevsecops
Architecture· Advanced
The enterprise AI engineering blueprint
A reference architecture for enterprise AI: gateway, orchestration, RAG, MCP tools, identity, guardrails, evaluation, observability and governance.
Sep 11, 2026 16m
enterprise-ai-engineering-seriesarchitectureai-gateway
Production AI· Advanced
Enterprise AI guardrails: a ten-layer defence in depth
A ten-layer guardrail model for enterprise AI: prompt injection, least-privilege tools, approved models, audit trails, kill switches and MCP security.
Sep 11, 2026 17m
enterprise-ai-engineering-seriesguardrailssecurity
AI Agents· Advanced
AI agent loops: stopping conditions and guardrails
Why agents loop forever and the guardrails that stop them: iteration limits, cost budgets, tool-call deduplication, progress checks and clear 'done' criteria.
Sep 4, 2026 12m
agentsguardrailsReAct
Production AI· Intermediate
How to cut LLM costs: caching, routing, compression
Semantic caching, model routing and context compression compound. How each lever works, how to apply it safely, a worked example and where teams go wrong.
Sep 4, 2026 11m
costcachingmodel routing
Evaluation· Advanced
LLM evaluation fundamentals for production systems
How to evaluate a production LLM system: golden sets from real traffic, retrieval and generation metrics, calibrated LLM judges, CI gates and online monitoring.
Sep 4, 2026 12m
evaluationfaithfulnessLLM-as-judge
RAG· Advanced
Production RAG architecture: a practical guide
The full production RAG architecture: ingestion, chunking, embeddings, hybrid search, reranking, generation, evaluation and observability, with code.
Sep 4, 2026 14m
RAGarchitectureproduction
MCP· Intermediate
What is MCP? Model Context Protocol explained for engineers
MCP is the open standard that lets any AI agent use any tool server. How it works, its three primitives, transports, security and when plain function calls win.
Sep 4, 2026 11m
MCPtoolsagents
RAG· Intermediate
Why good retrieval still produces bad answers
Debug RAG failures with a runnable Python exercise that separates retrieval misses, dropped evidence, unsupported claims and incorrect refusals.
Sep 4, 2026 8m
RAGretrievalreranking

Follow new articles

One useful AI engineering lesson in your inbox every week. No spam, unsubscribe anytime.

Open RSS feed