Back to Blog
Photo from Unsplash

Article content

"Full Stack" used to mean you could work anywhere between a CSS grid and a SQL join. Today, the stack includes a model orchestration layer: routing between specialised AI models for different task types. Senior Frontend Engineers who understand this are shipping work that used to require whole teams.

The Evolution of the Stack

For the last decade, "Full Stack" meant you could work anywhere between a CSS grid and a SQL join. That definition has been disrupted. The modern application is no longer a deterministic set of CRUD operations. It is an orchestrated system of intelligence.

As a Senior or Staff Engineer, your value is shifting from writing the implementation details to designing the model orchestration layer.

From LLM-as-a-Feature to LLM-as-a-Runtime

In the early days of AI integration (circa 2023), we treated LLMs like a glorified external API. You sent a prompt, got a string back, and displayed it.

Today, we use Agentic Workflows. Here is how the orchestration typically flows:

User InputAI RouterLogic EngineCode (Claude)Research (Gemini)Privacy (Local)
Fig 1: The multi-model orchestration pattern for agentic systems.

The "Stack" now includes:

  1. The Routing Layer: Deciding which model handles which request. (e.g., using a small, fast model such as Claude Haiku, Gemini Flash, or a local 8B model for classification, and routing the heavy lifting to a frontier model such as Claude Opus or Gemini Pro).
  2. The Context Window Management: Moving from basic RAG (Retrieval-Augmented Generation) to Long-Context Reasoning. We no longer just "search" for chunks; we feed the agent 500k tokens of project history and ask it to find the architectural drift.
  3. The Tool/Function Layer: Defining the strict schemas (JSON) that allow an agent to act on your system: triggering deployments, updating database records, or opening PRs.

Why You Need Multiple Models

The "One Model to Rule Them All" era is over. A high-performance agentic stack uses a mixture of specialized experts:

Task CategoryIdeal Model ProfileExample
Logic & CodingHigh reasoning, low hallucinationClaude Opus / Sonnet (current generation)
Research & DocsMassive context (1M+ tokens)Gemini Pro (current generation)
Fast RoutingSub-100ms latency, small footprintClaude Haiku / Gemini Flash / small local model
Privacy/LocalOn-premise, zero data retentionOpen-weight models (Qwen, Gemma, gpt-oss) via Ollama

The New Architectural Challenge: Determinism

The hardest part of this new stack is making it predictable. If your UI depends on an agentic response, how do you test it?

  • Evals (Evaluations): You need a suite of "Gold Standard" inputs and outputs to run against every model/prompt change.
  • Structured Outputs: Moving away from "Natural Language" to Zod-validated JSON. If the model doesn't return the exact schema your UI expects, the agent fails gracefully.
  • Observability: Using tools like LangSmith or Phoenix to trace the "thought process" of an agent so you can debug why it decided to delete a component instead of refactoring it.

Practical Advice for Senior Devs

Stop spending 4 hours a day on boilerplate. Start spending that time on System Prompts and Tool Definitions.

Your job is now to define the "Sandbox" that the agents play in. You write the interfaces, the agents write the implementation, and you perform the final architectural review.


Sources & References

  • "The Rise of the AI Engineer" by swyx (Latent Space): widely cited essay defining the role
  • Agentic Workflows by Andrew Ng (DeepLearning.AI): foundational concepts on AI agents
  • Anthropic: Choosing a Model (opens in new tab): how to choose the right model tier for the job
Newer Post

The Private AI Stack: Running 100k Context Models on Your Local Machine

Older Post

NotebookLM: The Google Research Tool Every Developer Is Sleeping On

Suggested Reading

Architectural Note: Research, drafting, and code for this post were augmented by Gemini (Google DeepMind), directed and verified by Maas Mirzaa. How this workflow works →