The AI development tech stack in 2026: what I actually use and why

By Muhammad Sohaib Khan, Certified Senior AI & Software Architect9 min read

The short answer

A production AI stack in 2026 is a frontier model API such as Claude or OpenAI for reasoning, a small model for cheap steps, LangGraph for multi-step agents, Qdrant or pgvector for retrieval, the Model Context Protocol for tool access, Next.js and FastAPI for the product, and PostgreSQL underneath. The model matters less than the plumbing around it.

The stack, layer by layer

LayerWhat I useWhy
Reasoning modelsClaude, OpenAI GPT, Google Gemini via APIBest judgement per dollar; one interface so the provider can change without a rewrite
Small and local modelsLlama, Mistral, Qwen, Gemma via Ollama or vLLMClassification, extraction and routing at a fraction of the cost; on-premise when data cannot leave
Fine-tuning, when justifiedHugging Face Transformers and PEFT (LoRA), UnslothOnly after retrieval and prompting have been tried; cheaper to train, easy to swap out
Agent orchestrationLangGraph, OpenAI Agents SDK, Claude Agent SDK, CrewAI for role-based teamsExplicit state, retries and human checkpoints; agents you can read and debug
Tool accessModel Context Protocol servers and clientsOne standard way to give agents tools, reusable across clients and models
Structured outputPydantic and Instructor in Python, Zod in TypeScriptThe model returns typed data the rest of the system can trust
RetrievalQdrant, pgvector, Pinecone, Weaviate or Milvus; hybrid search with BM25Accurate grounding on company documents; pgvector when the data already lives in Postgres
Embeddings and rerankingOpenAI, Voyage and Cohere embeddings; Cohere Rerank or a cross-encoderReranking is the cheapest accuracy gain most RAG systems never add
Document parsingDocling, Unstructured, Azure AI Document Intelligence, Google Document AIContracts, statements and scans turned into clean text and tables before the model sees them
EvaluationPromptfoo, LangSmith or Langfuse datasets, Ragas for RAGEvery prompt or model change runs against a fixed test set before it ships
ObservabilityLangfuse or LangSmith traces, OpenTelemetry, SentryEach answer traceable to its inputs, tools and cost; errors reach a person
Guardrails and safetyInput and output checks, OWASP LLM Top 10 controls, allow-listed tools, confirmation before actionsThe agent cannot spend, send or delete without a rule saying it may
Voice and speechRealtime speech-to-speech APIs, Deepgram and Whisper for transcription, ElevenLabs for voices, Twilio and LiveKit for callsSub-second turns for calling agents, with the phone network and WebRTC handled
Durable workflowsTemporal or Inngest; n8n for business-visible automationLong-running, retryable jobs that survive restarts; non-engineers can see the n8n flows
BackendFastAPI for AI services; Node.js, Nest.js or Django for products; Laravel where the client runs PHPPython where the AI libraries live, TypeScript where the product lives
FrontendNext.js and React, TypeScript, Tailwind CSS, shadcn/uiFast, indexable, and designed to the brief rather than a template
Motion and 3DGSAP, Framer Motion, Lottie, Three.js and React Three FiberInterfaces that move with intent and still pass Core Web Vitals
MobileReact Native with Expo; Flutter when the team already uses itOne codebase for iOS and Android with native modules where they matter
DataPostgreSQL, Supabase, Redis, MongoDB where documents fit, Prisma or DrizzleBoring on purpose; the AI is the risky part
Auth and paymentsClerk or Auth.js, Supabase Auth; Stripe for billingSolved problems bought, not rebuilt
TestingPlaywright for the browser, pytest and Vitest for code, evaluation sets for the AIA change that breaks the product or the answers fails before deploy
CI and deliveryGitHub Actions, Docker, preview deployments on Vercel or NetlifyEvery commit builds, tests and previews; production is a merge, not a ritual
CloudAWS, Azure or Google Cloud to match the client; Cloudflare for edge and DNS; Terraform where infrastructure is more than a few servicesUse the cloud the client already pays for; do not add a second one
Design and handoverFigma for design systems, Notion or Confluence for runbooks, Mermaid diagrams in the repoThe client's team can operate and extend the system without me

How I pick between the options

  • Start from what the client already runs. A team on Azure with a Postgres database gets Azure, pgvector and FastAPI, not a new cloud and a new vector database.
  • Choose the smallest model that passes the evaluation set, then let the frontier model handle only the steps that fail.
  • Prefer a standard over a framework. MCP for tools, OpenTelemetry for traces and plain HTTP for services outlive any one vendor's SDK.
  • Buy the solved problems: auth, payments, email, telephony. Build the thing that is specific to the business.
  • If I cannot explain a tool to the client in one sentence, it does not go in their stack.
A developer setup with code on one monitor and a desert road wallpaper on another

What changed from 2024

  • Tool access standardised. The Model Context Protocol replaced a dozen bespoke integration patterns. This site runs its own MCP server for exactly that reason.
  • Small models became good enough for most routing and extraction, which cut running costs sharply. See my article on small versus frontier models.
  • Agents became graphs with state, retries and human checkpoints, not a loop that calls a model until it stops. Reliability followed.
  • Voice went real time. A calling agent that answers in under a second is now a standard build, not a research project.

What I stopped using

  • Fine-tuning as the first answer. Retrieval plus good prompting solves most business cases, and it stays current when the documents change.
  • Heavy agent frameworks that hide the control flow. When it breaks at 2am, I want to read the code, not the framework.
  • WordPress for anything a client will grow. A Next.js site is faster, safer and ranks better, as I wrote in the Next.js versus WordPress piece.

The principle behind every choice

The model is the least durable part of the stack. It will be replaced within a year, probably by a cheaper one. So the architecture isolates it: one interface, swappable providers, evaluation tests that run against every change. Everything else, the data, the integrations, the retrieval, the user experience, is where the real value and the real risk live. That is what a client pays an architect for, and it is why the same stack has carried projects from a Riyadh aviation platform to SaaS products in North America.

Related reading

Sources

  1. Anthropic Claude API documentation
  2. LangGraph documentation
  3. Model Context Protocol specification
  4. Next.js documentation
  5. Qdrant documentation
  6. Langfuse documentation (LLM observability and evaluation)
  7. OWASP Top 10 for LLM Applications

Related service

AI Development Services

Sohaib architects and ships AI systems end to end: agents that plan and call tools, RAG over your own documents, voice agents and workflow automation. Built for production against real users, with one accountable owner from the first diagram to deployment.