How-to guide17 min
Getting good results from AI coding assistants
Give context, work in small steps, verify with tests — a workflow that makes AI-written code something you can trust.
Practical AI guides and plain-language explainers. Filter by role and level.
How-to guide17 min
Give context, work in small steps, verify with tests — a workflow that makes AI-written code something you can trust.
Explainer9 min
How do chatbots answer from your company's documents? Here's how RAG, a pattern widely used in AI products, works.
Explainer8 min
What "$2 per million tokens" on an AI price list means, and how to estimate what your own usage would cost.
How-to guide14 min
Using the Claude API as the example: keep your API key safe, send a first request from Python, and read the answer, the stop reason and the token usage.
How-to guide15 min
Instead of asking for JSON and hoping, define the shape as a schema and get responses your code can use directly. Worked through with a customer-message classifier.
How-to guide15 min
Cache the long instructions and documents you resend with every request, and their input cost drops sharply. Using a support bot built on a manual, here's how to place the cache point and check that it works.
Explainer9 min
Unlike a chatbot that only answers, an agent takes a goal and keeps going, using tools and checking results, until the job is done. How it works, what it suits, and what to settle before you hand it work.
How-to guide18 min
Build a Python chatbot that searches ten internal policy documents with embeddings and answers only from what it finds, then test search and answers separately and fix what breaks.