<!-- GENERATED from convex-agents content/capabilities/agent.json — do not edit by hand. -- Add an AI agent / RAG backend Install @convex-dev/agent for durable threads, message history, tool-calls, and vector search/RAG — the backend for an in-app AI agent. Call models through the Convex AI Gateway by default: Convex holds the provider credentials, so there is no LLM key to obtain, store, or rotate. Workflow 1. Install @convex-dev/agent + @convex-dev/ai-sdk-provider; add the agent component to convex.config.ts. 2. Define the agent (tools, instructions) with — no API key needed (needs convex 1…