General8 min read
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 support, security postu...
- Status
- current-snapshot
- Updated
- Topics
- ai-engineering · sources · citations
Sources and verification policy
Foundational papers#
- Vaswani et al., "Attention Is All You Need," 2017 — the transformer architecture behind modern LLMs.
- Kaplan et al., "Scaling Laws for Neural Language Models," 2020 — loss scales as a power law with model size, data, and compute.
- Hoffmann et al., "Training Compute-Optimal Large Language Models" (Chinchilla), 2022 — compute-optimal balance of model size and training data.
- Wei et al., "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models," 2022 — reasoning emerges with scale via intermediate reasoning steps.
- Yao et al., "ReAct: Synergizing Reasoning and Acting in Language Models," 2022 — the canonical reason-and-act agent loop.
- Lewis et al., "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks," 2020 — RAG origin: parametric + non-parametric memory.
- Khattab & Zaharia, "ColBERT," 2020 — late-interaction token-level passage search.
- Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena," 2023 — LLM judge quality and known biases.
- Leviathan et al., "Fast Inference from Transformers via Speculative Decoding," 2022 — parallel draft-and-verify decoding speedup.
- Dettmers et al., "QLoRA: Efficient Finetuning of Quantized LLMs," 2023 — 4-bit quantization enables 65B fine-tuning on a single 48 GB GPU.
- Radford et al., "Robust Speech Recognition via Large-Scale Weak Supervision" (Whisper), 2022 — weak-supervision speech model at scale.
- Willard & Louf, "Efficient Guided Generation for Large Language Models," 2023 — grammar/regex-constrained decoding (Outlines).
- Greshake et al., "Not what you've signed up for," 2023 — indirect prompt injection in real LLM-integrated apps.
- Zou et al., "Universal and Transferable Adversarial Attacks on Aligned Language Models," 2023 — automated adversarial suffixes (GCG).
- Song et al., "More Agents Is All You Need," 2024 — sampling-and-voting: more agents help, gains asymptotic.
- Malkov & Yashunin, "Efficient and robust approximate nearest neighbor search using HNSW graphs," 2016–2018 — hierarchical navigable small-world graphs; logarithmic-complexity ANN search; the default index family in many vector stores.
- Gao et al., "SimCSE: Simple Contrastive Learning of Sentence Embeddings," 2021 — contrastive sentence-embedding training; dropout-as-noise; anisotropy regularization.
- Aumüller, Bernhardsson & Faithfull, "ANN-Benchmarks," Information Systems 2019 — empirical recall/latency comparison of approximate-nearest-neighbor libraries.
- Nussbaum et al., "Nomic Embed: Training a Reproducible Long Context Text Embedder," 2024 — two-stage contrastive 8K-context embedder; see the official model card for task-prefix usage.
- Kwon et al., "Efficient Memory Management for Large Language Model Serving with PagedAttention," 2023 — PagedAttention; KV-memory waste 60-80% → under 4%, 2-4x throughput over FasterTransformer/Orca.
- Zheng et al., "SGLang: Efficient Execution of Structured Language Model Programs," 2023 — RadixAttention prefix reuse; up to 6.4x throughput on branching workloads.
- DeepSeek-AI, "DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model," 2024 — MLA cuts KV cache 93.3% with 5.76x throughput.
- Snell et al., "Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters," 2024 — compute-optimal inference scaling; 4x over best-of-N, beats 14x-larger models per FLOP.
- DeepSeek-AI, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning," 2025 — reasoning patterns emerge from pure RL, distillable into smaller models.
- HORIZON, "The Long-Horizon Task Mirage? Diagnosing Where and Why Agentic Systems Break," 2026 — cross-domain long-horizon failure diagnosis; failure mix shifts to planning + memory as horizons grow.
- LongCLI-Bench, "A Preliminary Benchmark and Study for Long-horizon Agentic Programming in Command-Line Interfaces," 2026 — P2P step scores >98% but pass rates 70-88%; regressions in 12-30% of complex edits.
- Long-Horizon-Terminal-Bench, 2026 — 46 long terminal tasks, dense reward grading; best model 15.2% at 0.95 reward threshold, mean 4.3%.
- LongRCA Bench, 2026 — 1,140 observed failed trajectories; responsible-role and root-step labels; root step median 48 steps before trajectory end.
- "KV Cache Optimization Strategies for Scalable and Efficient LLM Inference," 2026 — systematic survey of eviction, compression, hybrid memory, and attention approaches.
Protocols and standards#
- Model Context Protocol specification
- Agent Client Protocol overview
- A2A protocol
- OpenTelemetry GenAI semantic conventions
Agent products#
- Herdr · Herdr repository
- Hermes Agent documentation · repository
- DeepSeek Harness preview · repository
- OpenAI Codex · Codex app announcement
- Cursor modes · Cursor docs
- Claude Code docs · Agent SDK
- OpenCode docs · repository
- Pi docs
- OpenHands overview · SDK
- Kimi Code CLI · ACP/IDE integration
Frameworks and infrastructure#
- LangGraph · PydanticAI · Mastra · Temporal
- OpenAI Agents SDK · LangChain
- E2B · Daytona · Modal
- Playwright · Browser Use · Stagehand · Firecrawl
- LiteLLM · OpenRouter
- Chroma docs — open-source retrieval store: local/single-node/distributed modes, collections (id + embedding + metadata + document), dense+sparse search, metadata filters.
- Ollama embeddings API · nomic-embed-text — local embedding serving; embedding-only model, 8K context, beats ada-002 / text-embedding-3-small on short and long context tasks.
- LangSmith · Langfuse · Braintrust · Arize Phoenix
Experts and practitioner writing#
- Karpathy · Intro to Large Language Models (1-hour talk) — the two-file model, training, tokenization, and memory-bandwidth-bound decoding intuition.
- Huyen, AI Engineering (O'Reilly, 2025) · companion repo
chiphuyen/aie-book— the standard practitioner text on building applications with foundation models. - Weng, "LLM Powered Autonomous Agents" (2023) — planning, memory, tool use; her entire Lil'Log archive covers prompting and evaluation essays.
- Willison's prompt-injection series — coined the term (Sep 2022); the practitioner archive of real-world injection and defense.
- Anthropic engineering blog — "Building effective agents" (Dec 2024), "Introducing Contextual Retrieval" (Sep 2024), "How we built our multi-agent research system" (Jun 2025), "Effective context engineering for AI agents" (Sep 2025).
- OpenAI, "A practical guide to building agents" (2025) — tooling, orchestration, guardrails, and evaluation patterns from deployed agents.
- IntuitionLabs, "KV Cache Memory: The Real Cost of Long-Context Inference" (2026) — KV cache formula, Llama-3-70B ≈40GB at 128K, GPU pricing, RULER finding.
- Digital Applied, "KV Cache Optimization for LLMs 2026: Engineering Guide" — paged attention as substrate, prefix caching, FP8 KV, 4-40x compounding.
- Arize AI, "Long-horizon agent benchmarks are fragmenting: a field guide" (2026) — realism/verifiability axis, harness leaks and sandbagging, trajectory vs outcome grading (44% missed violations).
- Surge AI, "Training on Long-Horizon Agent Tasks" (2026) — long-horizon RL environments; 25-40+ turns / 80K-100K tokens; per-criterion dense graders.
- Berkeley RDI, "How We Broke Top AI Agent Benchmarks" (2025) — exploit scorecard across eight agent benchmarks; seven harness-leak vulnerability patterns.
- Anyscale, "How continuous batching enables 23x throughput in LLM inference" (2023) — static vs continuous batching, ~1MB KV per token on a 13B model.
- NVIDIA, "Mastering LLM Techniques: Inference Optimization" — prefill vs decode bottlenecks, KV formula, speculative decoding mechanics.
- OpenAI, "Reasoning models" API guide — reasoning tokens,
reasoning.effort, the 25k-token reservation, incomplete-response billing trap. - Anthropic, "Extended thinking" platform docs —
budget_tokensrules, tuning guidance, adaptive thinking, cache invalidation.
Security and risk frameworks#
- OWASP Top 10 for LLM Applications 2025 — community risk framework for LLM apps (started 2023); covers prompt injection, sensitive information disclosure, excessive agency.
- OWASP Top 10 for Agentic Applications (Dec 2025) — first edition for autonomous systems; categories include agent goal hijack, tool misuse/excessive agency, and memory poisoning.
Serving, routing, and evaluation tooling#
- LiteLLM docs — unified OpenAI-compatible interface to 100+ LLM providers; gateway routing strategies (rate-limit, latency, cost-based); 8ms P95 at 1k RPS.
- LiteLLM GitHub — open-source gateway with virtual keys, per-project spend, and observability.
- OpenRouter routing — multi-provider routing with price-weighted load balancing and outage deprioritization.
- vLLM — Anyscale continuous batching — PagedAttention and iteration-level scheduling; 793 tok/s vs Ollama 41 tok/s.
- GingerLabs — vLLM vs Ollama vs TGI — production benchmarking of self-hosted serving stacks.
- promptfoo docs — open-source eval CLI/library; YAML test cases, red-teaming, CI integration. MIT.
- DeepEval website — pytest-native eval with 50+ metrics (hallucination, faithfulness, toxicity). Apache-2.0.
- Braintrust website — hosted eval and observability platform; SOC 2 Type II, quality gates.
- lm-eval-harness GitHub — EleutherAI academic benchmark framework; 60+ benchmarks.
- Arize Phoenix — open-source observability and eval; OpenTelemetry-native.
- Langfuse docs — open-source LLM observability; MIT; acquired by ClickHouse 2026.
- MITRE ATLAS — living knowledge base of adversary tactics and techniques against AI systems.
- PyRIT — Microsoft GitHub — multi-turn red-teaming framework; text/image/audio/video modalities.
- HarmBench GitHub — standardized benchmark for automated red teaming; 510 harmful behaviors, 18 attack methods.
- NVIDIA NeMo Guardrails GitHub — programmable dialog rails in Colang DSL; 5 pipeline stages; Apache 2.0.
- Guardrails AI website — Python validators with 50+ Hub validators (PII, toxicity, schema).
- Meta Llama on HuggingFace — Llama Guard open-weight safety classifiers (Llama Guard 3 and 4).
- Ofox 429 guide — five 429 error types and production backoff patterns.
- Gravity Fast — agent incident response — P0-P3 severity tiers, kill switch procedures, prevention stack.
- APML Substack — AI agent drift — four drift types, detection methods, minimal monitoring stack.
- Dev.to / Kuldeep Paul — agent drift framework — NIST AI RMF mapping, RAG eval metrics.
- Anomity — EU AI Act for agents — risk tiers, article mapping to agents/MCP, practical compliance steps.
Research and security reading#
Use original papers, model/system cards, and provider security documentation for jailbreak, prompt-injection, RAG, agent-evaluation, and multi-agent claims. The vault records forecasts as forecasts and does not present them as established findings.
← AI Engineering Atlas · Home · Glossary →