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.

Explore learning paths

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

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

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

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

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

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

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

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