Don't memorize tools — memorize slots. Every system, from a home-lab Hermes box to a Cisco AI Factory, is the same ladder of layers. Learn the ladder once, then map anything you see onto it.
Color = layer. The same 8 colors repeat in every diagram below.When you watch a demo or read a new architecture post, you're never seeing something new — you're seeing a tool plugged into one of these 8 slots. Top = closest to the human. Bottom = closest to silicon. Memorize the question each layer answers.
A request falls down the ladder (human → silicon), the answer climbs back up. Every example later on this page is just this same ladder with different tools in the slots.
* scikit-learn and hosted models like GPT-4o / Claude are shown for placement — scikit-learn is a framework for classical ML; hosted models hide layers 5–8 behind someone else's API.
The same 8 layers serve two very different jobs. The clearest way to reason about any system is to separate build-time (making the weights) from run-time (serving the weights). This is where Pandas, NumPy & scikit-learn actually live.
Each tool from the “7 tools every AI engineer should learn” list, tagged with its layer and — crucially — how it differs from its neighbors in the same slot. That contrast is the part worth internalizing.
“Why X over Y?” is the question that comes up on every design review. Here are the swap-in options for each slot and the one-line reason you'd pick each.
| Tool | Sweet spot | Format / hardware | Pick it when… |
|---|---|---|---|
| Ollama | Easiest local single-node | GGUF · CPU/GPU · wraps llama.cpp | Home lab, dev, “just run a model.” |
| Osaurus | Apple Silicon native | MLX · Mac unified memory | Running on a MacBook, want Metal/MLX speed. |
| llama.cpp | Bare-metal portability | GGUF · runs anywhere, even CPU | You need it on weird/edge hardware. |
| vLLM | High-throughput serving | HF weights · NVIDIA GPU · PagedAttention | Many concurrent users, production batching. |
| TensorRT-LLM / Triton | Max enterprise perf | Compiled · NVIDIA · NVAIE | Datacenter, lowest latency, you own the GPUs. |
| Tool | Shape | Best for |
|---|---|---|
| LangChain | Python library of chains/agents | General app glue, fast prototyping. |
| LangGraph | Graph/state-machine agents | Complex multi-step, cyclic agent control. |
| LlamaIndex | RAG & indexing specialist | Doc-heavy retrieval pipelines. |
| Hermes | Self-hosted agent harness + router | Owning the whole loop on your own box, quota-aware model routing. |
| Raw SDK | Just call the API yourself | Simple, predictable, no framework lock-in. |
| Tool | Model | Pick it when… |
|---|---|---|
| Pinecone | Managed SaaS | You want zero ops, scale handled for you. |
| Qdrant / Weaviate / Milvus | Open-source, self-host | Data must stay in-house, want control. |
| Chroma | Lightweight, local | Prototyping, small RAG, runs in-process. |
| pgvector | Postgres extension | You already run Postgres & scale is modest. |
| Tool | Domain | Differentiator |
|---|---|---|
| PyTorch | Deep learning (text, vision) | Dynamic graphs, autograd, GPU — the research default. |
| torchvision | Computer vision add-on | Datasets, transforms, pretrained CV models (feeds YOLO etc.). |
| TensorFlow / Keras | Deep learning | Strong production/mobile (TF Lite, TF Serving) heritage. |
| scikit-learn | Classical ML, tabular | No GPU/NN — boosting, forests, fast & explainable. |
| MLX | Apple Silicon DL | Built for Mac unified memory (powers Osaurus). |
| Tool | What it is | Role |
|---|---|---|
| CUDA | NVIDIA's GPU programming layer | The bridge frameworks use to reach the GPU. Not a model — it's the road. |
| Datacenter GPU (H100 / L40S) | Server accelerator | Big training + high-throughput serving. |
| Jetson Orin Nano | Edge AI module (has CUDA) | On-device vision/robotics, low power, no cloud. |
| Apple Silicon / Metal | Mac unified-memory chip | Local LLMs via MLX/Osaurus, no discrete GPU. |
| Cisco UCS + GPUs | Enterprise rack server | The physical floor of an AI Factory. |
Now the payoff. Each system below is the same ladder — read the colored tag on each row and you instantly know which layer you're looking at. Notice how some stacks skip layers (a hosted API hides 5–8; a vision pipeline has no orchestrator).
📌 The mapping move: “sensory brain / reasoning brain” are just Layer-7 weights selected by the Layer-2 router. Multimodal, multi-model demos are not a new layer — they're multiple Layer-7 slots hanging off one orchestrator. Nemotron Nano Omni / Qwen sizes are example/demo names — verify exact versions before quoting them.
The single most-misunderstood piece: “How does a vector DB feed an LLM?” Trace it left-to-right — that's the whole mechanism.
The one-line version: “The vector DB (Pinecone, L4) retrieves semantically-relevant context, the orchestrator (LangChain/Hermes, L2) injects it into the prompt, and the LLM (via the API, L3) generates an answer grounded in that context instead of hallucinating.”
Everything above collapses into a single reflex — and it is what separates thinking in architecture from reciting buzzwords.