Build Your First AI Agent in TypeScript
A from-scratch walkthrough of the agent loop — tools, reasoning, and termination — using the Claude API and plain TypeScript. No frameworks.
Field manual · AI engineering
Practical, code-first tutorials on agents, RAG, prompt engineering and shipping LLM apps to production. No hype — just what works.
[ 01 · Featured ]
A from-scratch walkthrough of the agent loop — tools, reasoning, and termination — using the Claude API and plain TypeScript. No frameworks.
[ 02 · Latest ]
How to prompt AI for shell scripts that handle errors, edge cases, and environment differences — and how to validate the output before you trust it.
Most developers default to one model for everything. Here's a practical framework for matching each coding task to the right model — cutting costs without sacrificing quality.
How to identify independent workstreams, fan them out to multiple AI agent sessions simultaneously, and merge results without conflicts.
How to prompt AI coding assistants to produce diverse, realistic test fixtures and seed data — not just placeholder values that pass but don't catch real bugs.
AI coding assistants default to the happy path. Here's how to systematically prompt for input validation, error boundaries, and the failures that break production.
A practical workflow for feeding production logs to an LLM to surface root causes, correlate errors, and cut mean-time-to-resolution — without leaking sensitive data.
[ 03 · Topics ]
Core concepts every AI engineer should internalise first.
02Designing, building and orchestrating autonomous LLM agents.
03Retrieval-augmented generation, embeddings and vector search.
04Reliable prompting patterns for real production systems.
05The frameworks, SDKs and dev tools that ship AI faster.
06Evals, observability, cost and reliability at scale.