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 ]
Practical techniques for using AI coding assistants on legacy and brownfield codebases — giving enough context, preventing over-modernization, and validating changes that can't break.
How to feed failing tests directly to your AI coding assistant and use TDD as a feedback loop that keeps AI-generated code correct from the first run.
How to use AI to extract OpenAPI specs from existing routes, generate type-safe clients, and keep spec and implementation in sync — without manual YAML.
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.
[ 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.