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

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
| Layer | What I use | Why |
|---|---|---|
| Reasoning models | Claude, OpenAI GPT, Google Gemini via API | Best judgement per dollar; one interface so the provider can change without a rewrite |
| Small and local models | Llama, Mistral, Qwen, Gemma via Ollama or vLLM | Classification, extraction and routing at a fraction of the cost; on-premise when data cannot leave |
| Fine-tuning, when justified | Hugging Face Transformers and PEFT (LoRA), Unsloth | Only after retrieval and prompting have been tried; cheaper to train, easy to swap out |
| Agent orchestration | LangGraph, OpenAI Agents SDK, Claude Agent SDK, CrewAI for role-based teams | Explicit state, retries and human checkpoints; agents you can read and debug |
| Tool access | Model Context Protocol servers and clients | One standard way to give agents tools, reusable across clients and models |
| Structured output | Pydantic and Instructor in Python, Zod in TypeScript | The model returns typed data the rest of the system can trust |
| Retrieval | Qdrant, pgvector, Pinecone, Weaviate or Milvus; hybrid search with BM25 | Accurate grounding on company documents; pgvector when the data already lives in Postgres |
| Embeddings and reranking | OpenAI, Voyage and Cohere embeddings; Cohere Rerank or a cross-encoder | Reranking is the cheapest accuracy gain most RAG systems never add |
| Document parsing | Docling, Unstructured, Azure AI Document Intelligence, Google Document AI | Contracts, statements and scans turned into clean text and tables before the model sees them |
| Evaluation | Promptfoo, LangSmith or Langfuse datasets, Ragas for RAG | Every prompt or model change runs against a fixed test set before it ships |
| Observability | Langfuse or LangSmith traces, OpenTelemetry, Sentry | Each answer traceable to its inputs, tools and cost; errors reach a person |
| Guardrails and safety | Input and output checks, OWASP LLM Top 10 controls, allow-listed tools, confirmation before actions | The agent cannot spend, send or delete without a rule saying it may |
| Voice and speech | Realtime speech-to-speech APIs, Deepgram and Whisper for transcription, ElevenLabs for voices, Twilio and LiveKit for calls | Sub-second turns for calling agents, with the phone network and WebRTC handled |
| Durable workflows | Temporal or Inngest; n8n for business-visible automation | Long-running, retryable jobs that survive restarts; non-engineers can see the n8n flows |
| Backend | FastAPI for AI services; Node.js, Nest.js or Django for products; Laravel where the client runs PHP | Python where the AI libraries live, TypeScript where the product lives |
| Frontend | Next.js and React, TypeScript, Tailwind CSS, shadcn/ui | Fast, indexable, and designed to the brief rather than a template |
| Motion and 3D | GSAP, Framer Motion, Lottie, Three.js and React Three Fiber | Interfaces that move with intent and still pass Core Web Vitals |
| Mobile | React Native with Expo; Flutter when the team already uses it | One codebase for iOS and Android with native modules where they matter |
| Data | PostgreSQL, Supabase, Redis, MongoDB where documents fit, Prisma or Drizzle | Boring on purpose; the AI is the risky part |
| Auth and payments | Clerk or Auth.js, Supabase Auth; Stripe for billing | Solved problems bought, not rebuilt |
| Testing | Playwright for the browser, pytest and Vitest for code, evaluation sets for the AI | A change that breaks the product or the answers fails before deploy |
| CI and delivery | GitHub Actions, Docker, preview deployments on Vercel or Netlify | Every commit builds, tests and previews; production is a merge, not a ritual |
| Cloud | AWS, Azure or Google Cloud to match the client; Cloudflare for edge and DNS; Terraform where infrastructure is more than a few services | Use the cloud the client already pays for; do not add a second one |
| Design and handover | Figma for design systems, Notion or Confluence for runbooks, Mermaid diagrams in the repo | The 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.

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
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.

