Guides by level
Advanced guides
APIs, MCP, retrieval, and evals for developers and AI engineers. Every term is explained the first time it shows up.
25 guides
AdvancedClaudeBuilding
Call the Claude API in Python and cut costs with prompt caching
Get an API key, make your first Claude Messages API call in Python, then add prompt caching so repeated long prompts cost less and run faster.
About 30 minutes using Claude Console, Claude API docs
AdvancedClaudeBuilding
Build your first MCP server in Python and use it in Claude Desktop
Write a small Model Context Protocol server with the official Python SDK, expose a tool, and connect it to Claude Desktop so Claude can call it.
About 35 minutes using MCP docs, Claude Desktop
AdvancedGrokBuilding
Build a simple RAG pipeline with the xAI Grok API
Answer questions from your own documents: split them into chunks, retrieve the best matches, and have Grok answer with citations via the xAI API.
About 40 minutes using xAI API docs, xAI Console
AdvancedGeneralBuilding
Write simple evals to test your LLM app before you ship changes
Build a small eval set, score outputs with code checks and an LLM grader, and rerun it after every prompt or model change to catch regressions.
About 40 minutes using Claude API docs, OpenAI API docs
AdvancedClaudeBuilding
Get started with Claude Code: fix a bug from your terminal
Install Claude Code, sign in, have it explain your project, plan and fix a real bug, and save project rules in CLAUDE.md so the next session starts smarter.
About 25 minutes using Claude Code quickstart, Claude Code setup, Permission modes, CLAUDE.md and memory
AdvancedClaudeBuilding
Build your first AI agent with tool use (Claude subscription, no API key)
Build a Claude agent that calls your own Python tools, using the Claude Agent SDK and your Pro or Max login, then see the same agent on the pay-per-call API.
About 35 minutes using Claude Agent SDK overview, Agent SDK: custom tools, Claude Code authentication, Claude Code legal and compliance, OpenAI Codex CLI, Claude API tool use overview, Stop reasons
AdvancedGrokBuilding
Call the xAI Grok API with live X Search
Have Grok search X in real time from your own Python code, narrow results by handle and date, read the cited posts, and keep the per-post search cost in check.
About 25 minutes using xAI X Search docs, xAI citations docs, xAI models and pricing, xAI Console
AdvancedChatGPTBuilding
Call the OpenAI Responses API in Python
Make your first OpenAI API call from Python with the Responses API, then keep a conversation going, stream the reply, call your own function, and get JSON back.
About 30 minutes using OpenAI developer quickstart, OpenAI models, Conversation state, Function calling, Structured Outputs, OpenAI API pricing
AdvancedGeneralBuilding
Upgrade your RAG from keywords to embeddings
Swap keyword search for embeddings so your RAG app finds answers by meaning, not exact words. Measure the gain with a small test, then try hybrid search.
About 35 minutes using Sentence Transformers quickstart, all-MiniLM-L6-v2 model card, OpenAI embeddings guide, OpenAI API pricing, xAI models
AdvancedChatGPTBuilding
Move your OpenAI Agent Builder workflow to the Agents SDK before Nov 30
OpenAI shuts down Agent Builder on Nov 30, 2026. Export your workflow as Agents SDK code, run it yourself, check every node made it across, and test it before the deadline.
About 45 minutes using OpenAI: Migrate from Agent Builder, OpenAI Agents SDK quickstart, OpenAI deprecations page, ChatKit advanced integration
AdvancedChatGPTBuilding
OpenAI Evals is shutting down: move your evals to Promptfoo before Nov 30
OpenAI Evals goes read-only on Oct 31 and shuts down Nov 30, 2026. Back up your evals, rebuild them in Promptfoo, check the results match, and run them in CI.
About 40 minutes using OpenAI: Moving from OpenAI Evals to Promptfoo, OpenAI deprecations page (Evals platform), Promptfoo: install, Promptfoo: assertions and metrics, Promptfoo: run in CI/CD
AdvancedClaudeBuilding
Upgrade to Claude SDK 2.0: fix the new Claude API 400 errors (temperature removed)
Claude API version 2026-10-21 returns a 400 if you send temperature, top_p or top_k. Find them in your code, fix them, and upgrade the SDK safely.
About 25 minutes using Anthropic: Migrating to API version 2026-10-21, Anthropic: API versions, Anthropic Python SDK: migration notes, Anthropic: API errors
AdvancedAgentsBuilding
The Software Factory pattern: how a ticket becomes a reviewed PR
A spec-driven, test-driven production line for AI coding agents: spec, then tests, then code, then validate, then review, then merge. An overview of the whole pattern.
About 15 minutes using AGENTS.md format, Model Context Protocol
AdvancedAgentsBuilding
Write an AGENTS.md Factory Manager that defines your whole SDLC
Turn AGENTS.md into the Factory Manager: one file that defines the spec-first, test-first production line, its gates, the artifacts each stage leaves, and what agents may never do.
About 30 minutes using AGENTS.md format
AdvancedAgentsBuilding
Create global sub-agents for every station of the Software Factory
Write reusable sub-agents for planning, exploring, research, coding, validation, tracker updates, code review, and PR fixes, each with one job and a compact handoff.
About 35 minutes using Claude Code sub-agents, AGENTS.md format
AdvancedAgentsBuilding
Connect Jira through the Atlassian MCP so tickets flow through the factory
Hook the Software Factory to Jira with Atlassian's Rovo MCP server: read a ticket, then post living Plan, Test Results, Execution Summary, and Handoff comments.
About 25 minutes using Atlassian Rovo MCP Server, Getting started guide
AdvancedAgentsBuilding
Read and write PR comments with the GitLab and Bitbucket MCP servers
Let the factory's review agents post a structured code and security review, fix findings one at a time, and record a disposition on GitLab or Bitbucket, never merging.
About 30 minutes using GitLab MCP server, Atlassian Rovo MCP (Bitbucket Cloud)
AdvancedAgentsBuilding
The developer's new job: review the factory's artifacts before you merge
In the Software Factory, the developer is the final gate. A checklist for reviewing the spec trail, test evidence, review comments, and disposition report before merging.
About 15 minutes using AGENTS.md format
AdvancedDGX SparkBuilding
Can a vision model watch tail -f? I tested it on DGX Spark (it can't, but this works)
A DGX Spark recipe by Greg Alton: a local vision model reading a scrolling log at up to 1M lines an hour, the honest results, and the hybrid counter pattern that works.
About 30 minutes using vLLM, NVIDIA DGX Spark playbooks, tmux
AdvancedDGX SparkBuilding
Hybrid log watching on a DGX Spark: regex counters plus Nemotron 3 Nano Omni on a real 1M-lines/hour SIP proxy log
A DGX Spark recipe by Greg Alton: the counters-plus-model pattern tested on a live SIP proxy log at about 1.17M lines an hour, with honest numbers, weak spots, and fixes.
About 25 minutes using vLLM, vLLM structured outputs, NVIDIA DGX Spark playbooks
AdvancedDGX SparkBuilding
Guided JSON in vLLM: Fixing Invalid LLM JSON on DGX Spark (Nemotron Nano Omni Rerun)
A DGX Spark rerun by Greg Alton: guided JSON in vLLM took invalid model replies from about 12% to 0% on a 1.6M-line log, plus the one regex the model suggested.
About 20 minutes using vLLM structured outputs, vLLM, Nemotron 3 Nano Omni (NVFP4) on Hugging Face, NVIDIA DGX Spark playbooks
AdvancedDGX SparkBuilding
How to Fix Choppy PersonaPlex Audio on a DGX Spark (Buffer Fix Explained)
A DGX Spark recipe by Greg Alton: why PersonaPlex stutters on a Spark, and how a 0.5 s buffer plus DeviceNexus FP8 speedups made it smooth.
About 25 minutes using NVIDIA PersonaPlex (GitHub), PersonaPlex 7B model on Hugging Face, The choppy-audio thread (issue #3), DeviceNexus optimized fork (amarrmb/personaplex), DeviceNexus optimization write-up
AdvancedDGX SparkBuilding
Does NVIDIA's AVO Work With Local Models? I Tested It on a DGX Spark
A DGX Spark test by Greg Alton: I ran NVIDIA's AVO (Agentic Variation Operators) with local models. Nemotron 3 Nano Omni lifted the 2048 score from 875.6 to 9,051.
About 20 minutes using AVO reproduction (gatordevin/avo), AVO paper (arXiv:2603.24517), Ollama, vLLM, NVIDIA API catalog (build.nvidia.com), NVIDIA DGX Spark playbooks
AdvancedDGX SparkBuilding
How to Run NVIDIA Cosmos Predict 2.5 Locally on a DGX Spark (Honest Test)
A DGX Spark recipe by Greg Alton: I ran NVIDIA's official Cosmos Predict 2.5 robot-pouring example locally, with guardrails on. It's coherent physical-AI video, not storytelling.
About 35 minutes using cosmos-predict2.5 (official NVIDIA repo), Cosmos-Predict2.5-2B on Hugging Face, Cosmos-Guardrail1 on Hugging Face, NVIDIA DGX Spark playbooks, uv
AdvancedDGX SparkBuilding
What NVIDIA Cosmos Means for Robotics (Tested on a DGX Spark)
NVIDIA's official Cosmos robot-pouring example, run on a DGX Spark with guardrails on, and what Predict, Transfer, and Reason mean for robotics.
About 12 minutes using cosmos-predict2.5 (official NVIDIA repo), Cosmos-Predict2.5-2B on Hugging Face, Cosmos Predict 2.5 research page, NVIDIA Cosmos documentation, Cosmos-Transfer2.5 documentation, Cosmos-Reason1 documentation, Cosmos Policy post-training recipe (Cookbook)