laoposkj / mastra-agentic-rag
PublicTypeScript AI agent with retrieval-augmented generation (RAG) using Mastra, Vercel AI SDK, OpenAI, and LibSQL/pgvector-ready — local-first RAG pipeline
A starter template for creating AI agents using Mastra that intelligently retrieve and synthesize information from user-uploaded documents.
How It Works
You stumble upon this ready-made kit for building a smart AI helper that pulls answers straight from your documents.
Download everything to your computer and link up a thinking AI service to bring your helper to life.
Upload sample files or your own notes so your AI learns exactly what you need it to know.
Launch a simple web page where you can talk to your AI as if chatting with a knowledgeable friend.
Type questions about your documents and see the AI smartly search and reply with accurate info.
Your AI now confidently answers from your own knowledge base, making research fast and reliable.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.