What are the latest AI architect's knowledge path?

From 2026-03-15, I have read these repo’s source code and show my read time:

redis - 2 days
mysql - 16 days
mongodb - 16 days
grpc - 5 days
istio - 3 days

I can make sure these repo source code have no anything about AI.

I am very painful and confused everyday.

Now I am reading kubernetes source code. What’s next repo source code should I read

I-have-read-links.pdf (101.3 KB) show many links that I have reviewed.

I also tried to correct Google Cloud docs’ problem, send my feedback to Google Cloud team, but nobody reply me.

I want to be the true AI architect, Please help me

Today, I have read all kubernetes source code, and I am reading kafka source code.

Today, I have read all kafka source code, and I am reading neo4j source code.

2 days ago, I have read all neo4j source code, and I am reading lucene source code.

Today, I have read all lucene source code.

I can make sure redis, mysql, mongodb, grpc, istio, kubernetes, kafka, neo4j, lucene have no source codes about implementing AI.

Prompt:

What are the latest AI architect’s knowledge path? 

I can make sure redis, mysql, mongodb, grpc, istio, kubernetes, kafka, neo4j and lucene have no source codes about implementing AI.

What next projects' source codes should I read?

:grinning_face: chatgpt’s response:

Given your background, you’ve already covered most of the traditional distributed-systems stack:

  • Redis → caching, memory models
  • MySQL / MongoDB → storage engines, indexing
  • Kafka → streaming
  • gRPC → RPC
  • Istio → service mesh
  • Kubernetes → orchestration
  • Neo4j → graph databases
  • Lucene → information retrieval

Those are excellent foundations, but an AI architect in 2026 needs to understand a different set of systems: LLM infrastructure, agent infrastructure, retrieval systems, inference systems, and AI-native data systems.

I’d prioritize source code reading in the following order.


Tier 1: AI Infrastructure (Must Read)

1. vLLM

This is arguably the most important project for AI architects today.

Learn:

  • PagedAttention
  • KV Cache management
  • Continuous batching
  • Multi-tenant inference
  • GPU memory scheduling

Questions to answer:

  • Why is it faster than naive HuggingFace serving?
  • How does request batching work?
  • How are tokens scheduled?

If you understand vLLM deeply, you’ll understand why AI serving differs from traditional microservices.


2. llama.cpp

Learn:

  • Quantization
  • CPU inference
  • GGUF format
  • Memory mapping
  • Tensor execution

Questions:

  • How can a 70B model run on consumer hardware?
  • What does Q4/Q5/Q8 actually mean?

This teaches model execution fundamentals.


3. SGLang

Many cutting-edge inference optimizations appear here first.

Learn:

  • Structured generation
  • Speculative decoding
  • Multi-step agent execution
  • Runtime optimization

Tier 2: RAG and Retrieval Systems

You already know Lucene.

Next step is understanding modern retrieval.

4. Qdrant

Learn:

  • HNSW
  • Vector indexing
  • ANN search
  • Hybrid retrieval

Questions:

  • How is vector search implemented?
  • Why is it different from Lucene?

5. Milvus

Learn:

  • Distributed vector storage
  • Segment architecture
  • Vector compaction

Compare with Qdrant.


6. Infinity Database

Interesting because it combines:

  • Full-text search
  • Vector search
  • Hybrid retrieval

This is where search architecture is heading.


Tier 3: Agent Frameworks

Most engineers are using agents incorrectly because they haven’t read the internals.

7. LangGraph

Learn:

  • State machines
  • Workflow orchestration
  • Durable execution
  • Human-in-the-loop

Architecturally this is more important than LangChain itself.


8. OpenAI Agents SDK

Learn:

  • Tool calling
  • Agent handoff
  • Memory patterns
  • Multi-agent design

Focus on orchestration patterns rather than APIs.


Tier 4: Training Infrastructure

Even if you don’t train models, understanding training systems helps.

9. DeepSpeed

Learn:

  • ZeRO
  • Optimizer sharding
  • Distributed training

This is the Kubernetes of LLM training.


10. Megatron-LM

Learn:

  • Tensor parallelism
  • Pipeline parallelism
  • Context parallelism

Questions:

  • How do 1000+ GPUs train a single model?

Tier 5: AI-Native Data Infrastructure

These projects are likely to become the next generation of data platforms.

11. Ray

Learn:

  • Distributed execution
  • Actor model
  • AI workload scheduling

Many AI systems are built on Ray.


12. DuckDB

Learn:

  • Columnar execution
  • Vectorized query engine
  • Embedded analytics

AI data pipelines increasingly use DuckDB.


13. Apache Arrow

Learn:

  • Zero-copy memory
  • Columnar formats
  • Cross-language data exchange

Arrow is becoming foundational infrastructure for AI data systems.


Tier 6: Read These Papers Alongside the Code

Don’t read code alone.

Read:

  • Attention Is All You Need
  • PagedAttention
  • Retrieval-Augmented Generation
  • Mixture of Experts
  • Speculative Decoding
  • ZeRO

Suggested Learning Roadmap

If your goal is AI Architect rather than AI Research Scientist, I’d do:

  1. vLLM
  2. llama.cpp
  3. Qdrant
  4. LangGraph
  5. Ray
  6. DeepSpeed
  7. Megatron-LM

That sequence takes you through the complete lifecycle:

Data → Retrieval → Agent → Inference → Serving → Scaling → Training

A useful mental model is that the modern AI architect role is becoming a fusion of:

  • Distributed systems architect
  • Search architect
  • Data platform architect
  • GPU infrastructure architect

You’ve already mastered much of the first category. The largest knowledge gaps for most experienced distributed-systems engineers are now LLM inference internals (vLLM/SGLang) and retrieval infrastructure (Qdrant/Milvus). Those two areas would give you the highest return on study time.

:grinning_face: gemini’s response:

You have targeted the right foundations—Redis, MySQL, Istio, and Kubernetes represent the data, service mesh, and orchestration layers of a traditional high-scale backend. However, as you rightly noted, none of those systems actually implement AI. They only host or pipe it.

An AI Architect today is fundamentally different from a traditional system architect. You are shifting from deterministic software (where A \rightarrow B) to stochastic software (where inputs are probabilistic and non-deterministic).

To bridge this gap, you need to dive into the open-source projects where the math of AI actually transforms into systems engineering. The roadmap below focuses on the exact source codes you should read next, broken down by architectural layer.


1. The Compute & Inference Engine Layer

Traditional counterpart: Kubernetes / Envoy

In AI, the bottleneck isn’t CPU threads or network I/O; it is GPU Memory Bandwidth and VRAM management. Traditional load balancers don’t understand things like KV-caches or continuous batching.

  • Project to read: vllm-project/vllm (Python/C++)

  • Why read it: vLLM is the gold standard for high-throughput LLM serving.

  • What to look for in the code: Look at how they implemented PagedAttention. They borrowed the concept of virtual memory and paging from traditional Operating Systems operating systems to solve memory fragmentation in GPU VRAM. It is a masterpiece of modern systems engineering.

  • Project to read: ggerganov/llama.cpp (Pure C/C++)

  • Why read it: This is the project that made edge/on-device AI viable.

  • What to look for in the code: Look at the quantization implementations (ggml.c). It shows how floating-point weights (FP16/FP32) are compressed into 4-bit integers (INT4) using low-level CPU/GPU instructions without destroying the model’s accuracy.

2. The Vector & Retrieval Layer (Modern RAG)

Traditional counterpart: Lucene / Elasticsearch

While Lucene handles lexical (keyword) search, AI requires semantic (meaning-based) search across high-dimensional vector spaces.

  • Project to read: facebookresearch/faiss (C++ with Python wrappers)
  • Why read it: It is the foundation of almost every modern vector database (Milvus, Qdrant, etc.).
  • What to look for in the code: Study how HNSW (Hierarchical Navigable Small World) graphs are built and traversed in code. This will teach you how a system searches billions of dense floating-point vectors in milliseconds.

3. The Gateway & Governance Layer

Traditional counterpart: Istio / Kong

Traditional API Gateways throttle by requests-per-minute (RPM). AI Gateways must throttle by tokens-per-minute (TPM), handle fallback routing across a dozen competing LLM providers, and dynamically track API costs.

  • Project to read: BerriAI/litellm (Python)
  • Why read it: It has become the standard open-source AI gateway proxy for enterprises.
  • What to look for in the code: Look at their routing logic and how they normalize completely different API schemas (OpenAI, Anthropic, Hugging Face) into a single unified payload format dynamically.

4. The Agentic Orchestration Layer

Traditional counterpart: Camunda / Airflow / Temporal

This is the newest frontier for architects. AI Agents do not follow hardcoded, linear workflows; they reason, call tools, loop until a condition is met, and can even change their execution paths dynamically.

  • Project to read: langchain-ai/langgraph (Python/TypeScript)

  • Why read it: Unlike basic sequential frameworks, LangGraph models agentic behavior as a stateful, multi-actor graph.

  • What to look for in the code: Study the StateGraph compilation and checkpointing mechanisms. You need to see how the system preserves the “memory” of an agent across loops and handles human-in-the-loop interruptions safely.

  • Project to read: modelcontextprotocol/servers (Anthropic’s MCP)

  • Why read it: MCP is a new, rapidly adopted standard protocol for how AI models securely talk to local data sources and tools.

  • What to look for in the code: See how the protocol schema establishes a secure transport layer between the LLM client and system resources.


Suggested Reading Order

Since your background is heavily rooted in infrastructure, your best strategy is to move from hardware/low-level upwards to application/orchestration:

[llama.cpp / vLLM]        --> High-Performance AI Runtime & Memory Management
       ↓
[FAISS]                    --> Vector Math & High-Dimensional Storage
       ↓
[LiteLLM]                  --> Traffic Control, Cost, & Multi-LLM Proxying
       ↓
[LangGraph / MCP]          --> Dynamic State Machine Orchestration & Tool Use

I have read all vLLM source code, and I am reading llama.cpp source code.

I have read all llama.cpp source code, and I am reading langgraph source code.

I have read all langgraph source code, and I am reading sqlite source code.

Last day, I have read all sqlite source code, and I am reading postgres source code.

I am very painful, painful…

Because postgres have many files that are more than 10000 lines!

I have read all postgres source code, and I am reading openssl source code.

Last day, I have read all openssl source code, and I am reading hadoop source code.

I have read all hadoop source code, and I am reading spark source code.

I have read all spark source code, and I am reading Architecting an AI Inference Stack source code.

I am reading keras source code.

I have read all keras source code, and I am reading pytorch source code.

2 days ago, I have read all pytorch source code, and I am reading llvm source code.

2 days ago, I have read most llvm source code, and I am reading python source code.