
This is the first lesson. You learn the basic structure and what you are going to build.
The AI-Engineer role, how it differs from neighboring jobs, and why demand is rising.
Before you write a single line of code, you need two things: a map of which models exist
and when to reach for each, and a working picture of how they actually produce text. The
first keeps you from overpaying or under-delivering. The second turns the model from a
black box into a predictable tool you can steer.
Get a clean, reproducible dev environment that every later lesson builds on.
An API key is the single credential that authenticates every request your code makes to a model provider. It is tied to your account and your bill.
This lesson sends one simple message to Claude in two different ways. The raw fetch version shows you the actual HTTP request travelling to Anthropic's servers — nothing hidden. The SDK version wraps that same request in a typed, ergonomic helper. By doing both, you learn what the SDK is really doing on your behalf, so it stays a convenience and never a black box.
Every request you send to a language model has a price. That price is small for one call and large for one million calls. As an AI engineer, you are not just building features — you are spending money on every token. This lesson teaches you how token billing works, how to estimate the cost of a request before you send it, and how to pull the levers that keep your bill under control.
Build an interactive command-line application that lets you choose a Claude model, adjust generation parameters (temperature, top-p, max tokens), send prompts, and see the response along with token usage and an estimate cost: all in real time.
Deep, practical fluency with the Messages API: roles, streaming, multimodality, context management, caching, batch, model selection, and robust error handling.
Understanding the exact shape of that request: who says what, in what order, with which role label, is the foundation for everything else in this course, that's why you need to understand the message structure.
Learn how to deliver tokens as they are being generated by using Server-side events and the Anthropic SDK stream API.
Building a React chat UI that renders the response token by token, exactly like ChatGPT, on top of the streaming server you already built.
Sending images and PDFs to a model using base64 encoding, content blocks, and prompt patterns for extraction.
Measuring tokens before you send, guarding your budget, and keeping a growing conversation inside the context window.
When you send the same large block of text again and again, you can tell Claude to remember it and pay almost nothing for it the second time onward.
Async, high-volume processing at half price: submit thousands of requests at once, poll for completion, and collect the results.
When to use each model: the speed/quality/cost trade-off, and a routing strategy that keeps most traffic on the cheap tier and escalates only when it has to.
Rate limits, the 429-vs-529 distinction, and one reusable retry wrapper with exponential backoff and jitter that fails fast when retrying can't help.
You upload a PDF or a photo. The app reads it with Claude, pulls out the important fields as clean data, and shows you each step as it happens.
Overview
How to call the API for code tasks, how to communicate intent and constraints precisely, and an anti-pattern list that prevents the most common mistakes.
How to feed diffs to Claude, ask for severity-ranked findings, avoid false positives, and build a review workflow you can trust.
Refactoring means improving the internal structure of code without changing its observable behaviour. AI can dramatically accelerate this process — but only if you follow a disciplined workflow.
Writing tests is the part of development most developers agree is important and most consistently skip. AI can generate a useful first draft of a test suite in seconds.
Documentation is the first thing to fall behind and the last thing anyone writes voluntarily. AI can generate a solid first draft of JSDoc, READMEs, and inline comments in seconds
Every team has code that only one person understands. Onboarding a new engineer into that code takes hours of pair-programming time — time the original author rarely has.
You have spent this module calling the API from scripts. A VS Code extension moves that power into the editor where you write code.
The simplest possible CI review needs exactly one file in your repository and installs nothing. No script, no package.json , no SDK, no npm install . The whole reviewer is three HTTP calls made with curl , run directly in the workflow's shell.
You can ask Claude to read code and flag security problems. It is genuinely useful: it catches many common mistakes quickly and explains them in plain language.
Throughout this course you have called the Anthropic API with an ANTHROPIC_API_KEY stored in .env . Claude Code works differently — it is a fully autonomous agentic tool that does not use an API key.
DocKeeper is a command-line tool you run inside your own project. It reads your git history and uses Claude to update the project's documentation based on the last commit: CHANGELOG.md and README.md.
Spec-Driven Development (SDD) is a methodology where the specification, not the code, is the
primary artifact and the system's source of truth.
Tool use overview
The mental model behind action-taking models — and the vocabulary you'll use for the rest of the module.
A practical JSON Schema cheat-sheet, plus well-vs-poorly defined tool examples that drive (or break) tool selection.
When you give the model a list of tools, a single API call doesn't get you a final answer anymore: it gets you the model's next move.
In Lesson 4.3 you built the execution loop one tool call at a time. But a single assistant turn can request more than one tool, and the model decides, on its own, whether those calls are independent
"Web search via tools" actually means two different things on the Anthropic API, and mixing them up is the most common confusion in this lesson. One is a server tool: Anthropic runs the search for you, inside the same API call. The other is a client tool exactly like calculator or get_current_time from 4.3: you own the search provider and you execute it yourself, inside the loop.
A database tool is the highest-stakes client tool you'll wire up in this module: the model is composing the query, and a careless implementation turns "let the model explore the data" into a SQL injection or an accidental DROP TABLE .
Filesystem tools with sandboxing and path-safety considerations.
Returning errors to the model, retries, and preventing infinite loops.
Logging tool calls, asserting on arguments, and reproducing failures.
What if your agent wants to generate and execute code? Would you allow it?
Intro to the module
Everything you have done with Claude so far has been about generating or reasoning over text. Embeddings flip that around: instead of asking a model to produce language, you ask a smaller, specialized model to compress the meaning of language into a list of numbers: a vector.
This lesson replaces the in-memory loop with a real database: PostgreSQL, extended with pgvector, so the same similarity search you built in the previous lesson runs as an indexed SQL query instead.
Retrieval-Augmented Generation pairs two capabilities that neither one has on its own. An external retrieval system supplies specialized, up-to-date, or proprietary facts, and the pretrained LLM supplies the cognitive work hose raw facts can't do for themselves
Content classification is the general skill of assigning defined labels to text, while moderation is a specific, policy-driven application of that skill used to decide whether the content should be allowed, flagged, or blocked.
This lesson turns free text into fixed fields: a customer's name, an order ID, an issue category, using a different mechanism for guaranteeing structure than the previous lesson: a forced tool call, reusing the JSON Schema tool definitions
Let's extract the sentiment and intensity from feedback messages, and then does something new: turns many individual readings into one aggregate business metric, an NPS-style score
Translation is a property of one string. Localization is a property of a whole product surface: every string in the UI, translated consistently, with brand terms preserved and placeholder tokens intact.
How to generate images from your AI-enabled applications.
Let's add Text-to-Speech and Speech-to-Text to your AI-enabled app!
A complete RAG system that ingests documents, embeds them, stores them in pgvector, and answers questions with citations traceable to your own corpus.
Module's overview
Defining agency: goals, autonomy, tools, loops. Where chatbots end and agents begin.
Let's build agents with ReAct (Reason + Act). ReAct architecture interleaves the model's own reasoning with tool calls and their results, one step at a time, instead of asking the model to plan everything in a single shot.
Real agents need to remember things: what was just said a few turns ago, and what a user told them in a completely different session last week. Those are two different problems with two different solutions, and conflating them is where most home-grown "memory" systems go wrong.
How to give agents the ability to plan.
Learn how to give an agent real, side-effecting capabilities safely: a hard boundary on where it can act, and a human who has to say yes before anything actually happens
Let's learn how to build an agent that can navigate the web like a human.
Aren't you tired of copying and pasting code when creating agents? Let's assemble a framework!
Let's see how to use a commercial framework instead of our home made one.
LangChain.js can be a better choice to build your production-grade agents.
How to add proper observability to an agent.
Let's create a Dev Agent! An agent capable of creating code.
How to make a team of AI agents work together? What are the challenges?
The ways a multi-agent system decides "what happens next".
Two open standards that fix that at two layers: MCP standardizes how an agent reaches tools, resources, and prompts; A2A standardizes how one agent reaches another
Concurrency is a scheduling decision layered on top of whichever pattern you already chose.
Shared state stores, concurrency, and consistency across agents
How you check quality when there is no single correct sentence.
Scaling means more calls hitting your system at once; deploying means a real budget and real failures.
Let's build an AI Dev Team with 4 agents.
What is the capstone project AICode Studio.
This is a guide to help you build the AICode Studio project
Let's do a walkthrough of my own implementation.
LangGraph transforms your AI pipeline into a graph, with edges and nodes. Learn when to use it and how to use it.
Instead of Helicone, let's use LangSmith tracing to debug our application - Ai Code Studio
This course contains the use of artificial intelligence.
Note: This version of the course uses Node.js / Typescript / React.
Transform your development workflow and master the next frontier of software engineering. This practical, hands-on course bridges the gap between traditional software development and AI-enabled engineering. Using a modern stack of Node.js, TypeScript, and React, you will move past basic prompting to build production-ready AI utilities, cognitive architectures, and autonomous workflows.
Throughout the course, you will engineer a complete portfolio of real-world applications from scratch:
Foundations & API Mechanics: Master raw fetch requests, official SDKs, token counting, and prompt caching to maximize performance while minimizing API costs.
AI-Powered Programming Utilities: Build CLI tools and server-side APIs that perform autonomous code generation, automated code reviews, intelligent refactoring, and security scanning directly inside your CI/CD pipelines.
Advanced Tool Use & RAG: Implement function calling using JSON schemas to connect LLMs to web search, filesystems, and databases. Build a complete Retrieval-Augmented Generation system with semantic search using pgvector.
Agents & Multi-Agent Systems: Progress from basic chatbots to autonomous ReAct agents. Orchestrate a collaborative multi-agent development team featuring specialized Architect, Developer, QA, and Writer agents working in parallel to deliver full features autonomously.
Learn also about Spec-driven Development (SDD) and how to integrate it into your development workflow!
New lesson added: Executing agent-generated code, with Anthropic Code Execution tool and E2B.
By the end, you will architect robust, cost-controlled AI systems, and master the AI-based workflow.