What problem does it solve? Building an in-app AI agent requires durable conversation threads, message history, tool-calling, and vector search, which are complex to wire together from scratch in a Convex backend. ## Core Features & Use Cases - Agent Backend Setup: Installs and configures @convex-dev/agent in convex.config.ts with a defined model, tools, and instructions. - Durable Threads & Streaming: Creates threads, streams messages, and persists conversation history in Convex for reactivity. - RAG Support: Embeds documents into a vector index and retrieves them inside agent tools for retrieval-augmented generation. - Use Case: Add a support chatbot to your Convex app that remembers past conversations and answers questions grounded in your documentation. ## Quick Start Add an AI agent with RAG to my Convex app using @convex-dev/agent, with threads, streaming messages, and a vector index over my docs.