Writing archive · Page 3 of 9

More tutorials.
Same standard.

More entries from a 110-piece collection of tested, source-checked engineering notes.

Evidence
Working code, observable results, and primary sources.
Judgment
Tradeoffs, failure modes, and when not to use the technique.
Freshness
Every tutorial shows when it was reviewed—and a tested date only when its example was run.

More from the archive.

Showing 2536 of 107 archive entries.

  1. Model Context Protocol · Web development · AI agents

    Build an Interactive MCP App with a Sandboxed Tool UI

    Design an MCP tool that serves an interactive UI resource, receives structured results, and stays safe across hosts with different extension support.

    6 min read
    Read the tutorial
  2. Model Context Protocol · TypeScript · AI agents

    Build an MCP Client in TypeScript: Discovery, Tool Calls, and Trust Boundaries

    Connect to a local MCP server, verify capability discovery, call a typed tool, and handle remote transports without confusing discovery with authorization.

    5 min readTested Jul 18, 2026
    Read the tutorial
  3. AI agents · Security testing · OWASP

    Build an OWASP Agent Security Test Harness

    Turn the OWASP Top 10 for Agentic Applications into safe, repeatable abuse cases with simulated tools, hard invariants, evidence, and CI gates.

    8 min read
    Read the tutorial
  4. AI agents · Observability · Security

    Build Forensic Audit Logs for AI Agents

    Capture actor chains, policy decisions, approvals, tool effects, and evidence so investigators can reconstruct an agent incident without logging hidden reasoning or secrets.

    8 min read
    Read the tutorial
  5. Model Context Protocol · AI agents · Distributed systems

    Build Long-Running MCP Tools with the Experimental Tasks Utility

    Design a durable MCP tool call with polling, deferred results, input-required handling, cancellation, and tenant-safe retention.

    6 min read
    Read the tutorial
  6. Next.js · AI agents · Streaming

    Build Streaming Agent Interfaces in Next.js

    Stream agent UI and typed run events with Suspense, Route Handlers, cancellation, backpressure, and accessible status updates.

    5 min read
    Read the tutorial
  7. Agent2Agent · AI agents · Distributed systems

    Build Two Agents That Collaborate over A2A 1.0

    Connect a coordinator to an independently operated report agent using an Agent Card, SendMessage, task state, typed artifacts, and strict authorization.

    5 min read
    Read the tutorial
  8. AI applications · Caching · Security

    Caching AI Applications: Prompts, Prefixes, Retrieval, and Tools

    A correctness-first guide to caching model prefixes, retrieval results, tool calls, and final AI outputs safely.

    6 min read
    Read the tutorial
  9. AI agents · Authorization · Security

    Capability-Based Security for AI Agent Tools

    Replace broad ambient credentials with narrow, expiring, attenuable grants bound to one agent task, tenant, operation, and resource set.

    5 min read
    Read the tutorial
  10. Open models · Evaluation · Model selection

    Choose an Open Model with an Evaluation Suite

    Select open weights with a reproducible, product-specific suite covering capability, tool use, safety, latency, memory, and operational fit.

    8 min read
    Read the tutorial
  11. Computer-use agents · Browser automation · AI agents

    Computer Use vs DOM Automation vs APIs: Choose the Most Reliable Agent Interface

    Choose between APIs, structured browser automation, accessibility trees, and visual computer use using reliability, coverage, security, and cost.

    4 min read
    Read the tutorial
  12. AI agents · Context engineering · Architecture

    Context Engineering for AI Agents: Build a Context Assembler

    Design a context pipeline that selects trusted instructions, relevant evidence, tool definitions, and recent state within an explicit token budget.

    6 min read
    Read the tutorial