AI stories

Every story exists in English and in Portuguese. Most have a figure you can play with.

5 stories

  1. 7 min

    Prompt injection is our generation’s XSS

    There is no textContent for a model: what XSS and XSRF teach about prompt injection, and why the defense moves from input to privilege.

    InteractiveAIBackendFrontend

  2. 7 min

    We’re bad intuitive statisticians. So are LLMs.

    Monty Hall, a hostel in Foz do Iguaçu, and what temperature and top-p really do to an LLM’s next token.

    InteractiveAIFundamentals

  3. 6 min

    Tokens are compression: what Shannon explains about your AI bill

    Shannon entropy, tokenizers and your AI bill: type any text and watch information, tokens and cost move together.

    InteractiveAIFundamentals

  4. 6 min

    From Q-learning to LLM agents

    From a Q-learning maze to LLM agents in production: in an agent, the reward is the design.

    InteractiveAI

  5. 5 min

    Progressive enhancement for AI-generated UI

    Progressive enhancement for AI-generated UI: ship the core without the model and feature-detect the AI layer.

    InteractiveAIFrontend