AI Cheat Sheets

One-page AI cheat sheets for developers: how each mechanism works, the rules that hold, and when to use it. Click a sheet to watch it build step by step.

  • Home /
  • AI Cheat Sheets

A/B Testing for LLMs cheat sheet

Fix the success metric before building the variant; a lead that may be noise is not a winner.

#LLMOps & ProductionAnimated

→ Topic: A/B Testing for LLMs

Ablation Study cheat sheet

A removal proves credit only against a fixed baseline, one change per variant, and more than one seed.

#Model EvaluationAnimated

→ Topic: Ablation Study

Active Learning cheat sheet

Human labeling time goes only to the examples the model finds most informative, once its own judgment is good enough.

#Training Data Quality & CurationAnimated

→ Topic: Active Learning

Agent Cost Optimization cheat sheet

Measure cost per task first; caching and routing cut the bill without touching what the agent does.

#Agent Reliability & OperationsAnimated

→ Topic: Agent Cost Optimization

Agent Error Handling and Recovery cheat sheet

A failed step goes back to the model as a short error; past the retry cap the agent hands off loudly instead of faking success.

#Agent Reliability & OperationsAnimated

→ Topic: Agent Error Handling and Recovery

Agent Evaluation and Testing cheat sheet

A correct answer can hide a broken path; score both the outcome and the trajectory, across many runs.

#Agent Reliability & OperationsAnimated

→ Topic: Agent Evaluation and Testing

Agent Frameworks Comparison cheat sheet

Every framework runs the same read-ask-act loop; pick the one whose abstraction matches how your team describes the work.

#AI Agent ArchitectureAnimated

→ Topic: Agent Frameworks Comparison

Agent Guardrails cheat sheet

No single rail is enough: content filters catch unsafe text, tool gates catch unsafe actions, and a blocked call fails closed.

#Agent Reliability & OperationsAnimated

→ Topic: Agent Guardrails

Agent Memory Systems cheat sheet

The model never learns; a memory layer writes facts down and feeds the right backstory into each new prompt.

#AI Agent ArchitectureAnimated

→ Topic: Agent Memory Systems

Agent Observability cheat sheet

A trace replays every step an agent took; green spans prove the calls worked, not that the decisions were right.

#Agent Reliability & OperationsAnimated

→ Topic: Agent Observability

Agent Planning and Reasoning cheat sheet

The same model runs in every pattern; the loop design, its tools and its retry cap decide whether the task finishes.

#AI Agent ArchitectureAnimated

→ Topic: Agent Planning and Reasoning

Agent State Management cheat sheet

A model call remembers nothing; the runtime reloads a checkpoint every turn, and memory is a separate layer.

#AI Agent ArchitectureAnimated

→ Topic: Agent State Management

Agentic Coding cheat sheet

The agent runs the loop; the developer owns the spec, the permissions and the final merge.

#Agentic & Autonomous CodingAnimated

→ Topic: Agentic Coding

Agentic RAG cheat sheet

An agent loop only pays off on top of retrieval that already works, and only when it has a hard stopping rule.

#Retrieval-Augmented GenerationAnimated

→ Topic: Agentic RAG

AI Avatar Generation cheat sheet

Most avatar tools play back a fixed script; an avatar that talks back live is a separate build with its own latency work.

#AI Audio, Video & 3DAnimated

→ Topic: AI Avatar Generation

AI Background Removal cheat sheet

Finding the subject and tracing its edge are separate steps, and the cutout is only as good as the weaker one.

#AI Image Generation & EditingAnimated

→ Topic: AI Background Removal

AI Code Completion cheat sheet

Suggestions arrive as fast as you type, but fluent ghost text can still be subtly wrong, so review what you accept.

#AI Coding AssistantsAnimated

→ Topic: AI Code Completion

AI Code Migration cheat sheet

A green build proves the syntax moved; only a behavior check against the original proves the migration held.

#Agentic & Autonomous CodingAnimated

→ Topic: AI Code Migration

AI Code Review cheat sheet

The bot takes the routine first pass; architecture, intent and accountability stay with humans.

#AI Coding AssistantsAnimated

→ Topic: AI Code Review

AI Documentation Generation cheat sheet

Generated docs stay trustworthy only when every symbol is verified and the docs regenerate when code changes.

#AI Coding AssistantsAnimated

→ Topic: AI Documentation Generation

AI for Technical Debt cheat sheet

The debt worth fixing first sits in the files your team edits every day; the score maps risk, it does not grade people.

#AI Coding AssistantsAnimated

→ Topic: AI for Technical Debt

AI Image Editing cheat sheet

The model repaints only what the hint points at and keeps the rest, but some editors rewrite past the mask, so check before local edits.

#AI Image Generation & EditingAnimated

→ Topic: AI Image Editing

AI in CI/CD Pipelines cheat sheet

The model reorders and triages the checks you already have; it earns a gate only after it has proved itself in read-only mode.

#AI Coding AssistantsAnimated

→ Topic: AI in CI/CD Pipelines

AI Music Generation cheat sheet

The model predicts new audio from learned patterns rather than splicing recordings, so long tracks drift and short stems work best.

#AI Audio, Video & 3DAnimated

→ Topic: AI Music Generation

AI Test Generation cheat sheet

A generated test proves the code does what it already does; mutation testing and a human decide whether that is right.

#AI Coding AssistantsAnimated

→ Topic: AI Test Generation

AI Video Editing cheat sheet

The model edits footage you already shot by carrying one change through the whole clip, so it cannot add what the camera missed.

#AI Audio, Video & 3DAnimated

→ Topic: AI Video Editing

AI Watermarking and Content Provenance cheat sheet

A watermark hides inside the file and a signed manifest travels beside it; each is lost a different way, so ship both.

#Generative Media Pipelines & APIsAnimated

→ Topic: AI Watermarking and Content Provenance

AI-Assisted Debugging cheat sheet

The model predicts a plausible fix from the trace without running your program, so a test or a run decides whether it ships.

#AI Coding AssistantsAnimated

→ Topic: AI-Assisted Debugging

AI-Assisted Refactoring cheat sheet

An agent can restructure a whole repository, but only tests and human review show that the behavior held.

#AI Coding AssistantsAnimated

→ Topic: AI-Assisted Refactoring

Attention Mechanism cheat sheet

Every token is weighed against every other one, which is why a longer context costs far more compute.

#Transformer & Attention InternalsAnimated

→ Topic: Attention Mechanism