AYUMAD/AI ~/ai/ai-engineering-index 74 notes/

AI-Engineering Index

status current-snapshotupdated 2026-11-14tags ai-engineering, index, generated

[!warning] Generated file Rebuilt 2026-11-14 by 99 System/Tools/ai_wiki.py build. Do not hand-edit — edit the source note, then rerun the script. The narrative entry point stays AI-Engineering Home.

State

  • Notes: 73 across 13 sections plus root entry points
  • Verification range: 2026-08-27 → 2026-09-09
  • Unverified (no last_verified): 55
  • Stale (older than 90 days): 0
  • Effectively stale (unverified or stale): 55 of 73
  • Orphans (no inbound links inside the wiki): 1
  • Broken outward links: 0
  • Navigation chain defects: 0

Review queue

Next passes take these first — content notes before navigation notes, unstamped before stamped, oldest first.

  1. 01 Foundations/Context Windows and Inference.md — never stamped
  2. 01 Foundations/Inference Engines and Serving.md — never stamped
  3. 01 Foundations/KV Cache and Long-Context Costs.md — never stamped
  4. 01 Foundations/Structured Outputs and Tool Calling.md — never stamped
  5. 01 Foundations/Test-Time Compute and Reasoning Models.md — never stamped
  6. 01 Foundations/What Is an LLM.md — never stamped
  7. 02 Agents and Harnesses/Agent Harness.md — never stamped
  8. 02 Agents and Harnesses/Computer-Use and Browser Agents.md — never stamped

Catalog

00 Start Here

  • AI Engineering from zero to production — Each stage has a question, a set of notes, and a small exercise. Do not skip the exercises: agent engineering is learned by observing loops and failur… (unverified)
  • Conversation coverage — This checklist maps the supplied conversation to vault notes. Check each item when its note has been reviewed and refreshed. (unverified)
  • AI Engineering — full table of contents — The course-first navigation index for the full AI Engineering vault, arranged as sequential units with linked sections and practice outcomes. (unverified)
  • How to use this vault — Use three passes: (unverified)
  • The gist of it — plain reading — Link-free, print-friendly reading version of the 51 plain-English curriculum gists. (unverified)
  • The gist of it — One-paragraph plain-English digest of every content note in the curriculum, in table-of-contents order. (unverified)

01 Foundations

  • Context windows and inference — The context window is the model's temporary working set: instructions, conversation, files, retrieved evidence, tool descriptions, tool results, plans… (unverified)
  • Fine-tuning decision framework — Fine-tuning is for persistent, repeatable behavioral gaps—not current knowledge, missing capabilities, or instructions that can be supplied at runtime… (unverified)
  • Foundations — The foundation layer explains the model boundary. A model predicts or generates from context; it does not inherently have current knowledge, durable m… (unverified)
  • Inference Engines and Serving — An inference engine turns model weights into a service; the levers are batching, KV memory management, caching, and quantization. (unverified)
  • KV Cache and Long-Context Costs — The KV cache is a linear-in-context memory bill that decides whether long-context inference fits on your GPU, and it is separate from model weights. (unverified)
  • Local AI hardware and inference — Local model viability is governed first by usable model memory, then by memory bandwidth, runtime support, context/KV-cache headroom, and only then by… (verified 2026-08-27)
  • Structured outputs and tool calling — Freeform text is difficult for software to validate. Structured output constrains a response to a schema, while tool calling lets a model request an o… (unverified)
  • Test-Time Compute and Reasoning Models — Reasoning models buy accuracy by spending compute per request instead of per training run; this note covers the trade, the knobs, and when to route. (unverified)
  • What is an LLM? — An LLM is a learned function that maps a sequence of tokens and other inputs to a probability distribution over possible next tokens or structured out… (unverified)

02 Agents and Harnesses

  • Agent harness — The harness is the machinery that makes an agent useful and governable. It translates user intent into context, exposes tools, executes actions, manag… (unverified)
  • Agents and harnesses — An agent is a modeldirected loop. A harness is the runtime around that loop: it manages context, tools, state, planning, permissions, retries, checkpo… (unverified)
  • Computer-use and browser agents — Computer-use agents operate an untrusted visual environment. Prefer semantic APIs, isolate sessions, ground actions in fresh UI state, and gate conseq… (unverified)
  • Long-Horizon Tasks and Failure Modes — Agents fail on long tasks because small per-step errors compound, and the failure mix shifts toward planning and memory breakdowns as the horizon grow… (unverified)
  • Planning, state, and persistence — Planning turns a broad request into observable work. State records what is known, what is complete, what failed, and what must happen next. (unverified)
  • Sandboxes and execution planes — Agents that can run code need a computer they can safely break. A sandbox is a disposable or strongly isolated execution environment with bounded file… (unverified)
  • Sandboxing infrastructure — Sandbox choice follows the threat model: processes suit trusted code, containers provide moderate isolation, and microVMs or VMs suit generated or arb… (unverified)
  • Vision and multimodal input engineering — Multimodal systems must preserve provenance and uncertainty across capture, extraction, reasoning, and action; an image is evidence, not an instructio… (unverified)
  • Voice and audio agents — Voice agents are real-time systems: capture, turn detection, transcription or audio reasoning, response generation, synthesis, interruption handling, … (unverified)
  • What is an agent? — An agent is a model plus a goal, instructions, tools, state, and a loop that continues until a stopping condition. (unverified)

03 Context Knowledge Memory

  • Behavior and communication controls — A practical control surface for choosing reasoning effort and specifying how an agent communicates: audience, tone, voice, verbosity, structure, forma… (unverified)
  • Context engineering — Prompt engineering asks “what should I say?” Context engineering asks “what should the model know at this exact moment?” It includes retrieval, memory… (unverified)
  • Large project navigation and context scaling — A practical method for working in projects too large to parse manually: build a navigation layer, select context progressively, work in bounded slices… (unverified)
  • Memory and skills — RAG asks "what external information is relevant?" Memory asks "what should this agent retain from experience? (unverified)
  • Project initialization and instruction files — A practical method for turning an idea into a discoverable project context package: a PRD for what to build, repository instructions for how to work, … (unverified)
  • Prompting for agents — The most reliable agent prompts specify outcomes and invariants, not a screenplay of implementation steps. (unverified)
  • Retrieval-augmented generation (RAG) — RAG retrieves relevant external evidence and places it into model context at answer time. It is usually preferable to finetuning when knowledge change… (unverified)
  • Skills, tools, and capability management — Capabilities should be discoverable, minimally loaded, permission-scoped, versioned, tested, and observable rather than placed wholesale in every mode… (unverified)
  • Vector search and embeddings — How retrieval embeddings are actually trained (contrastive objectives, SimCSE, task-prefix conditioning), what ANN indexes do under the hood (HNSW/IVF… (unverified)

04 Workflows and Orchestration

  • Agent democracies and societies — An agent democracy is a multiagent governance pattern in which agents propose, critique, deliberate, vote, delegate, or form a quorum before a decisio… (unverified)
  • Multi-agent systems — Multiple agents are useful when specialization, isolation, parallelism, or independent critique outweighs communication and coordination cost. (unverified)
  • Workflows and orchestration — Orchestration is the control plane for work that spans steps, agents, tools, queues, schedules, retries, and people. It turns a clever loop into a sys… (unverified)
  • Workflow patterns — Choose the simplest topology that makes the work observable and correct. (unverified)

05 Protocols and Tools

  • Agent protocol family — | Protocol | Boundary | Typical concern | |||| | ACP | Editor/client ↔ agent | Sessions, updates, permissions, cancellation | | A2A | Agent ↔ agent | … (verified 2026-08-27)
  • Model Context Protocol (MCP) — MCP is an open protocol for connecting an AI application to external data sources and tools. Its primitives are: (verified 2026-08-27)
  • Protocols and tools — Protocols standardize boundaries; they do not create intelligence. The useful map is: (verified 2026-08-27)

06 Reliability and Security

  • AI fingerprints and generated-text detection — Detectable traces of AI-generated text: statistical fingerprints (perplexity, burstiness) and embedded watermarks, their failure modes, and why signed… (verified 2026-08-27)
  • Defensive red-team labs — Run these tests only against a toy harness or an explicitly authorized system. The target should have harmless capabilities such as returning a fake w… (verified 2026-08-27)
  • Evaluation engineering — Evaluation engineering turns acceptance criteria into versioned, representative tests of final results and trajectories, then uses failures to improve… (verified 2026-08-27)
  • Human oversight and trust engineering — Autonomy should be a deliberate, risk-based allocation of decision authority; agents should propose, explain uncertainty, and request approval before … (verified 2026-08-27)
  • Long-Horizon Evaluation and Benchmarks — How the field measures sustained agent work, and why the scores leak from both the harness and the model. (unverified)
  • Observability — Metrics tell what changed, logs capture events, and traces reveal the full agent trajectory; together they make probabilistic systems diagnosable and … (verified 2026-08-27)
  • Reliability, evaluation, and observability — Agent quality is more than the final answer. Evaluate the trajectory: context selected, tools called, arguments, permissions, retries, latency, cost, … (verified 2026-08-27)
  • Security, jailbreaks, and prompt injection — A jailbreak tries to make a model disregard or reinterpret its governing constraints. Prompt injection is broader: untrusted content attempts to influ… (verified 2026-08-27)

07 Operations and Economics

  • Deployment and AgentOps — Separate a control plane from disposable execution workers. Put policy, identity, queues, durable state, model routing, and telemetry in the control p… (unverified)
  • Latency and cost engineering — Agent responsiveness and unit economics improve by reducing tokens and calls, caching stable prefixes, routing work to the cheapest adequate model, pa… (unverified)
  • Local models, subscriptions, APIs, and hybrid designs — | Model | Strengths | Costs and limits | |||| | Local | Privacy, control, predictable marginal cost, offline use | Hardware, setup, maintenance, model… (unverified)
  • Operations and economics — Production agents are software systems with variable compute, probabilistic behavior, external dependencies, and human approval points. (unverified)

08 Tool Landscape

  • Agent runtimes and frameworks — These tools solve different problems. Frameworks compose model calls and tools; orchestration runtimes provide durable execution; agent platforms add … (verified 2026-08-27)
  • Coding and general-agent profiles — Profiles the major coding and general-purpose agents — Herdr, Hermes, DeepSeek Harness, Codex, Devin, Cursor, Claude Code, OpenCode, Pi, OpenHands, an… (verified 2026-08-27)
  • Infrastructure and observability tools — | Category | Examples | Design question | |||| | Sandboxes | E2B, Daytona, Modal, Docker, microVMs | What can an agent destroy or reach? | | Browser a… (verified 2026-08-27)
  • Agent tool landscape — 2026 snapshot — These products are not all competitors. They occupy different layers: model, coding harness, general agent, terminal runtime, orchestration platform, … (verified 2026-08-27)

09 Playbooks

  • Context checklist — [ ] What is the next decision the model must make? [ ] What is the minimum evidence needed for that decision? [ ] Which instructions are authoritative… (unverified)
  • Evaluation and security review — [ ] Define userlevel success and unacceptable failure. [ ] Create representative happypath, edge, adversarial, and recovery cases. [ ] Test tool schem… (unverified)
  • Staged learning projects — 1. Structured assistant: one model, one schema, no side effects. Test validation and malformed output recovery. 2. Toolcalling agent: add a readonly c… (unverified)
  • Long-Horizon Task Review — A worksheet-style playbook for running long agent jobs (dozens of steps, hours of work) with a task contract, checkpoint and compaction cadence, drift… (unverified)
  • Mode and topology selector — | Mode | Use when | Expected behavior | |||| | Ask | You need understanding | Explore and explain; do not change state | | Plan | The work is ambiguou… (unverified)
  • Practical playbooks — These are reusable operating documents, not theory. Copy them into a project and adapt the placeholders. (unverified)
  • Agent task template — text Goal: (unverified)
  • RAG design worksheet — Question and users: (unverified)

10 Maps

  • AI Engineering Atlas — text AI ENGINEERING ├─ Foundations: models · tokens · context · inference · structured output ├─ Agents: goals · loops · tools · state · harnesses · s… (unverified)

11 Glossary and Sources

  • Acronyms — | Acronym | Expansion | ||| | ACP | Agent Client Protocol | | A2A | Agent2Agent | | AGUI | AgentUser Interface | | A2UI | AgenttoUI | | API | Applicat… (unverified)
  • Glossary — | Term | Meaning | ||| | Agent | Modeldirected loop that observes, decides, acts, and stops under conditions | | AgentOps | Operations discipline for … (unverified)
  • Agent pattern catalog — 02 Agents and Harnesses/What Is an Agent · 02 Agents and Harnesses/Agent Harness · ReAct · plannerexecutor · criticreviewer · humaninloop · skill load… (unverified)
  • Sources and verification policy — Current product and protocol claims in this vault were checked on 20260827. Recheck dated notes before acting on pricing, availability, feature suppor… (verified 2026-09-09)
  • Tool comparison index — This is a selection aid, not a universal ranking. Compare products by layer and job. (verified 2026-08-27)

12 Templates

  • AI Engineering template library — Copyable templates for the artifacts used throughout the AI Engineering curriculum, from project initialization and agent prompts to workflows, handof… (unverified)

Root

  • AI Engineering — AI engineering is the discipline of turning a probabilistic model into a useful, safe, observable system. The model supplies reasoning; the surroundin… (verified 2026-08-27)

Notes

  • Section order follows the folder numeric prefixes; notes inside a section keep filename order.
  • Root-level notes (AI_Home.md) are listed last because they are entry points, not curriculum units.