Knowledge base
AI Engineering Knowledge Base
Explore the publication's AI Engineering topics through curated concepts, practical failure modes, and related articles.
This topical view is generated from the site's existing clusters and articles. The article order is a reading suggestion, not a claim of strict prerequisites.
Engineering domain
AI Agents
Agent engineering combines model decisions with tools, state, context and control flow. Identify which behavior is delegated to a model and which must remain deterministic.
Core concepts
- Workflow versus agent
- Tool contracts and state
- Context construction
- Reliability and evaluation
Common failure modes
- Unbounded retries or duplicate side effects
- State loss in long runs
- Treating tool success as task success
Articles in this domain
- Voice Agents in Production: Turn Taking, Interruptions, and Latency
Design voice agents around the full audio loop: turn detection, cancellation, playback state, tool safety, observability, and task-based evaluation.
- Building Deep Research Agents: Architecture, RL Rewards, and Context Management
What the QUEST and S1-DeepResearch papers report about rubric-based evaluation, context management, and long-horizon research agents, with limits on the evidence.
- How to Build an Academic Research Agent with LangGraph
A LangGraph architecture sketch for academic-research assistance, with a tested human-approval gate and guidance on citation, methods, and submission checks.
- Most “AI Agent” Use Cases Are Just Glorified If-Else Chains
A builder-focused argument for distinguishing deterministic automation from agentic systems, with policy boundaries, state handling, and production failure modes.
Engineering domain
Production RAG & Document Intelligence
Retrieval systems depend on document ingestion, representations, ranking and context assembly. Inspect each stage before attributing an incorrect answer to generation.
Core concepts
- Document parsing and structure
- Chunking and representations
- Lexical, vector and hybrid retrieval
- Context selection and failure diagnosis
Common failure modes
- Lost reading order or table structure
- Retrieval misses hidden by fluent generation
- Chunk boundaries that break evidence
Articles in this domain
- Word Embeddings to Retrieval Vectors: What an Embedding Means
A practical guide to static, contextual, sentence, and retrieval embeddings, with model-selection and evaluation advice for multilingual and Persian search.
- Vector Databases for RAG: How to Choose and Benchmark
Choose a vector database for RAG by workload, filtering, recall, operations, and reproducible benchmarks rather than vendor performance claims.
- Build a Small Search Engine from Scratch with Python
Build a reproducible toy search engine with an inverted index, BM25 ranking, and a tiny relevance test set, then see what production search still requires.
Engineering domain
LLM Architecture
Explore how tokenization, model blocks and design choices shape the representations and behavior of large language models.
Core concepts
- Tokens and embeddings
- Attention and Transformer blocks
- Feed-forward components
- Open model constraints
Common failure modes
- Assuming token counts equal character counts
- Confusing model architecture with application behavior
- Overgeneralizing from one model family
Articles in this domain
- How Large Language Models Work: A Practical Introduction
Follow text through tokenization, transformer layers, next-token prediction, decoding, and post-training to understand what an LLM can and cannot do.
- Tokenization: From Subwords to Model Input
How tokenizers turn text into model IDs, why BPE and SentencePiece differ, and what Persian text, chat templates, and token budgets mean in practice.
- SwiGLU in Transformer Feed-Forward Layers: Trade-offs, Not Free Speed
What the SwiGLU gate computes, why it can improve a Transformer feed-forward block, and how its extra projections affect parameter count and compute.
- What Makes an AI Model Open Source? A Practical Guide
A practical guide to open-source AI: compare weights, training code, data information, and license terms using OSI’s definition.
Engineering domain
Training & Optimization
Study how objectives, update rules and post-training procedures change model behavior. Interpret comparisons in the context of their stated data, setup and evaluation.
Core concepts
- Optimizer behavior
- Fine-tuning and post-training
- Distillation and model merging
- Evaluation of training changes
Common failure modes
- Comparing runs with different data or schedules
- Confusing training loss with task quality
- Omitting inference-time trade-offs
Articles in this domain
- A Practical Guide to Merging LLMs: Compatibility, Methods, and Evaluation
Understand when model merging is plausible, how task-vector methods differ, what compatibility checks matter, and how to evaluate a merged checkpoint safely.
Engineering domain
Evaluation & Persian AI
Evaluation connects task definition, data provenance, metrics, execution conditions and interpretation. Persian AI evaluation also needs transparent treatment of script, dialect, code-switching and annotation.
Core concepts
- Dataset construction and provenance
- Metrics and aggregation
- Human review and eligibility
- Synthetic versus real-world evidence
Common failure modes
- Treating synthetic cases as real-world validation
- Comparing incompatible task coverage
- Claiming human validation without evidence
Articles in this domain
- How to Evaluate Reasoning Effort in Inkling and Other LLMs
Reasoning effort is a test-time control, not a quality score. Learn how to evaluate accuracy, token use, latency, and cost without confusing vendor benchmarks with your workload.
- How to Evaluate an AI Coding Harness: Start with the Workflow
A practical way to compare coding agents by their execution environment, tool loop, permissions, recovery, and results on representative engineering tasks.
Engineering domain
Production Infrastructure
Connect model choice to serving, memory, latency, throughput and cost. Configuration examples are workload-specific; validate them on the target runtime and hardware.
Core concepts
- Weights and quantization
- KV cache and context
- Serving configuration
- Latency, throughput and capacity
Common failure modes
- Assuming memory estimates guarantee a successful load
- Comparing throughput across unlike workloads
- Ignoring runtime and allocator overhead
Articles in this domain
- Serving Kimi K2 with vLLM: Hardware, Parallelism, and Safe Defaults
Plan a Kimi K2 Instruct deployment with vLLM by pinning the checkpoint, sizing the GPU cluster for a target context, and securing the serving API.
- Serving GPT-OSS 120B with vLLM: Capacity, Configuration, and Security
Plan a GPT-OSS 120B deployment by separating weight fit from runtime capacity, testing the exact vLLM stack, and protecting every serving endpoint.
- Voice Agents in Production: Turn Taking, Interruptions, and Latency
Design voice agents around the full audio loop: turn detection, cancellation, playback state, tool safety, observability, and task-based evaluation.
Engineering domain
AI Software Engineering
Apply software design, testing and security discipline to systems with probabilistic components. Identify where uncertainty enters and how surrounding software constrains it.
Core concepts
- Specifications and tool interfaces
- Testing and harness design
- Security boundaries
- Human approval and reliability
Common failure modes
- Accepting plausible output without validation
- Allowing untrusted data to control tools
- Testing prompts without system outcomes
Articles in this domain
- How to Evaluate an AI Coding Harness: Start with the Workflow
A practical way to compare coding agents by their execution environment, tool loop, permissions, recovery, and results on representative engineering tasks.
- Build a Small Search Engine from Scratch with Python
Build a reproducible toy search engine with an inverted index, BM25 ranking, and a tiny relevance test set, then see what production search still requires.
- Most “AI Agent” Use Cases Are Just Glorified If-Else Chains
A builder-focused argument for distinguishing deterministic automation from agentic systems, with policy boundaries, state handling, and production failure modes.
Engineering domain
Learning & Careers
Combine foundations, curated learning resources and career context. Use the roadmap for broad sequencing, then choose articles based on the engineering problem you want to understand.
Core concepts
- Learning prerequisites
- Role expectations
- Open-source participation
- Technical interview practice
Common failure modes
- Treating a roadmap as a guaranteed career outcome
- Collecting resources without practice
- Treating a market snapshot as permanent fact
Articles in this domain
- How Large Language Models Work: A Practical Introduction
Follow text through tokenization, transformer layers, next-token prediction, decoding, and post-training to understand what an LLM can and cannot do.
- Learning Resources
A staged learning library for AI engineering, from ML foundations and LLM training to RAG, agents, evaluation, and operations.
- LLM Interview Questions
A topic-based LLM engineering interview question bank with practical signals for evaluating answers about RAG, inference, agents, and system design.
- AI Engineering Jobs in 2026: What the Data Supports
A source-bounded look at 2026 AI-engineering job-description studies, with separate datasets, methods, limits, and practical implications.
- What Makes an AI Model Open Source? A Practical Guide
A practical guide to open-source AI: compare weights, training code, data information, and license terms using OSI’s definition.