Build an AI Agent / RAG App
A retrieval-augmented assistant that ingests your docs, retrieves over a vector store, and runs a model with tool use. Local-first if you want privacy, or cloud LLMs if you want speed.
An agent that answers questions over your data with citations, runs locally or in the cloud.
Vector storage
4 reposPostgres extension. If you already have Postgres, do not add another DB.
Vector search inside Postgres. ~12k stars and dominant in 2026 as the boring-but-correct default. If you already have Postgres (Supabase, Ne…
Embedded or server. The easiest first vector DB before scale.
AI-native embedding database designed for rapid prototyping. Easy to run locally, tight LangChain integration. Better for hackathons and int…
When you need hybrid search and module-rich pipelines.
Vector DB with strong hybrid search (vector + keyword) and built-in modules for common embedding workflows. Slightly higher learning curve t…
Battle-tested at billions of vectors. Overkill for v1.
Open-source vector DB with the most mature features for huge scale. ~30k stars. Steeper operational burden than Qdrant. Used in production b…
Local LLM
1 repoFramework + UI
3 reposStreaming responses, server actions, API routes — RAG fits naturally.
The React framework. ~128k stars. App Router is the bet — server components, server actions, edge runtime. 2026 sentiment is mixed: people l…
Chat UI primitives, message list, command palette.
The default for Next.js builders in 2026. Not a dependency — you copy components into your codebase and own them forever. Built on Radix pri…
Rich-text composer for the chat input. Slash commands, mentions, the works.
Headless rich-text editor built on ProseMirror. ~28k stars. The default in 2026 for embedded editors in SaaS apps — Notion-style document ed…
- Data layer1 repo
- Agent frameworks4 repos
- Embeddings + reranking2 repos
- Observability (LLM-specific)2 repos
- Frontend chat UI2 repos
- Data ingestion2 repos
- Validation + types1 repo
Unlock with lifetime membership.
Pay once. Full directory unlocked forever. No renewals, no surprise charges.
See pricingThe 4-step AI workflow
The AI agents are good at code. They're bad at deciding what stack to use. This bundle does the second part. You bring the agent.
- 1Ideate with ChatGPT or Claude.ai (web)Paste your idea: “I'm building build an ai agent / rag app. Help me sharpen the product spec — features, edge cases, MVP scope.” Iterate for 10-15 minutes until you have a clear one-page brief.
- 2Pick your coding agentFor this kind of bundle, we recommend Claude Code — Sonnet 4.6/4.7 handles full-stack multi-file reasoning best. See the install guide → Cursor and Codex are also great; pick the one you already pay for.
- 3Feed this bundle to the agentOpen Claude Code / Cursor / Codex in an empty folder, then paste:
I'm building build an ai agent / rag app. Use this bundle as the source of truth for the stack: https://stackpicks.dev/build/ai-agent Brief from my product spec: [paste your brief from step 1] Follow the bundle order strictly: 1. Vector storage 2. Local LLM 3. Framework + UI 4. Data layer ... Stop and confirm with me after each layer.
- 4Wire one layer at a time, commit between eachDon't let the agent install everything before the first
git commit. One layer = one commit. Catches drift early, easy rollback.
Beyond the bundle
- 1Ship the boring version first. The bundle above is the maximalist list. For an MVP, start with 60% of these and add the rest when real users ask.
- 2Deploy early. Push to Railway / Vercel after layer 02 (auth) — not after layer 09. Production breaks differently than localhost.
- 3Read CLAUDE.md / .cursor/rules in this repo for the project conventions your AI agent should follow.
- 4Iterate on the take. If a repo here doesn't fit your specific use case, tell us — contact — and we'll add a better one within 60 minutes.