Writing archive · Page 4 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 3748 of 107 archive entries.

  1. AI agent tools · Contract testing · JSON Schema

    Contract Testing for AI Agent Tools

    Test agent tool schemas, transport behavior, authorization, retries, and compatibility with valid, invalid, and adversarial requests.

    5 min read
    Read the tutorial
  2. Multi-agent systems · FinOps · AI observability

    Cost Attribution for Multi-Agent Systems

    A practical ledger for attributing model, tool, compute, retry, and shared costs to successful multi-agent outcomes.

    6 min read
    Read the tutorial
  3. AI agents · OAuth · Authorization

    Delegated Authorization for AI Agents Acting on Behalf of Users

    Preserve user intent and actor identity across agent-to-service and agent-to-agent calls with narrow audiences, scopes, consent, and delegation chains.

    6 min read
    Read the tutorial
  4. WASI · AI agents · Sandboxing

    Design an Async Sandboxed Agent Tool Runner with WASI 0.3

    Use ratified WASI 0.3 async components with pinned runtime support, explicit capabilities, deadlines, backpressure, and safe cancellation.

    6 min read
    Read the tutorial
  5. AI agents · Human in the loop · Security

    Design Approval UX for High-Risk Agent Actions

    Turn human approval into a real security control by previewing exact effects, binding approval to immutable action data, and preventing replay or substitution.

    7 min read
    Read the tutorial
  6. Design engineering · Playwright · Testing

    Design-to-Code with Visual Regression That Developers Can Trust

    Turn design states into deterministic Playwright checks that combine semantic assertions, visual baselines, accessibility, and human-reviewed diffs.

    7 min read
    Read the tutorial
  7. AI agents · Deterministic replay · Agent debugging

    Deterministic Replay for Nondeterministic AI Agents

    Record model, tool, time, randomness, configuration, and state dependencies so agent failures can be replayed without repeating real-world effects.

    5 min read
    Read the tutorial
  8. LLM inference · Disaggregated serving · Long context

    Disaggregate Prefill and Decode for Long-Context Agents

    Separate prefill and decoding only when independent scaling and latency isolation beat KV-transfer cost, duplicated weights, and operational complexity.

    7 min read
    Read the tutorial
  9. Coding agents · Evaluation · AGENTS.md

    Do Repository Instruction Files Help Coding Agents? A Benchmark Protocol

    Measure absent, concise human-written, generated, and noisy repository instructions with paired tasks, fixed agent settings, and no invented results.

    7 min read
    Read the tutorial
  10. Durable execution · AI agents · Workflow orchestration

    Durable AI Agents: Retries, Idempotency, Human Approval, and Resume

    Design long-running agent workflows that survive crashes, retry only safe work, bind approvals to exact actions, and reconcile ambiguous side effects.

    6 min read
    Read the tutorial
  11. AI infrastructure · Benchmarking · Backend architecture

    Edge vs. Node vs. GPU Backends for AI Applications

    Choose AI backend placement with a reproducible latency, quality, capacity, cost, security, and failure benchmark.

    7 min read
    Read the tutorial
  12. Coding agents · Security · Policy as code

    Enforce Coding-Agent Policy with Lifecycle Hooks

    Design deterministic before-and-after hooks that deny unsafe agent actions, require approval, verify patches, and create an auditable policy trail.

    8 min read
    Read the tutorial