Cheatsheets
Reference cards, dense enough to be worth printing. Every one is free, needs no account, and prints to a couple of pages.
AI engineering
Building with language models: retrieval, agents, parameters and evaluation.
- Agents cheatsheetA reference card for LLM agents: the tool-call loop, schema design, stop conditions, error handling as observations, and the guardrails that keep it safe.
- Embeddings and search cheatsheetTurning text into vectors and searching it: model choice, normalisation, cosine versus dot product, chunk sizing and what breaks similarity search.
- Evals and shipping cheatsheetHow to tell whether an LLM app actually works: building a golden set, choosing an eval type, LLM-as-judge done properly, and catching regressions in CI.
- LLM APIs cheatsheetTemperature, top_p, max_tokens, seed, response_format and the rest, with a table of what to set for extraction, JSON, summarising and brainstorming.
- RAG cheatsheetA reference card for retrieval-augmented generation: chunking, embeddings, hybrid retrieval, context budgets, citations and the failures each one causes.
- Structured output cheatsheetGetting reliable JSON out of a language model: schema design, validation, repair and retry, function calling, and the failure modes of each approach.
Python
The language itself, from syntax to async.
- APIs and Async cheatsheetCalling HTTP APIs properly — status codes, retries, backoff, pagination — and the asyncio model: coroutines, gather, timeouts and what blocks the loop.
- Python Basics cheatsheetThe core of Python on one page: variables, types, f-strings, conditionals, loops, and the operators and built-ins you reach for constantly.
- NumPy and pandas cheatsheetArray creation, broadcasting and vectorisation, then pandas: selection, filtering, grouping, joining and the SettingWithCopyWarning explained.
- Data Structures cheatsheetLists, dictionaries, sets and tuples with their methods, costs and the comprehension patterns that replace most of the loops you would write.
- Files, Errors and Modules cheatsheetReading and writing files with pathlib, exception handling that does not hide bugs, and how imports, modules and packages actually resolve.
- Functions and Objects cheatsheetArguments, defaults, scope, closures and decorators, then classes: inheritance, properties, dataclasses and the dunder methods worth knowing.