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. Workflow Install @convex-dev/agent + add to convex.config.ts. Define the agent (model, tools, instructions); store the LLM key via the env micro power. Create threads + stream messages; persist history in Convex. For RAG: embed docs into a vector index and retrieve in the tool. Rules Keep the LLM API key in Convex env (use the env micro power), never client-side. Run model calls in actions ('use node' if the SDK needs it). Persist threads/messages in Convex for durability + reactivity. Installs 912 Repository get-convex/agent-skills GitHub Stars 42 First Seen 2 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
convex-agent
安装
npx skills add https://github.com/get-convex/agent-skills --skill convex-agent