get-convex/agent-skills912 installs
convex-agent
Add an AI agent / RAG backend (@convex-dev/agent) to the Convex app.
How do I install this agent skill?
npx skills add https://github.com/get-convex/agent-skills --skill convex-agentIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides instructions for integrating an AI agent and RAG backend into a Convex application using the official @convex-dev/agent package. It follows security best practices by advising that API keys be stored in environment variables rather than client-side.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
<!-- 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.
Workflow
- Install @convex-dev/agent + add to convex.config.ts.
- Define the agent (model, tools, instructions); store the LLM key via the
envmicro 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
envmicro power), never client-side. - Run model calls in actions ('use node' if the SDK needs it).
- Persist threads/messages in Convex for durability + reactivity.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/get-convex/agent-skills/convex-agent">View convex-agent on skillZs</a>