convex-agents
OfficialBuild persistent AI agents with Convex.
System Documentation
What problem does it solve?
Convex Agents enables developers to create persistent, stateful AI agents that maintain context, orchestrate tools, and provide reliable, streaming responses across sessions.
Core Features & Use Cases
- Persistent state and memory across restarts for long-running conversations.
- Tool integration, streaming outputs, and durable workflows for complex tasks.
- Use Case: Deploy an AI assistant that can manage threads, call Convex functions as tools, and perform RAG-backed knowledge retrieval.
Quick Start
Install the Convex Agent package and initialize a basic agent. Then plug thread management, tools, and workflows into your application. Example: import { Agent } from "@convex-dev/agent"; import { components } from "./_generated/api"; import { OpenAI } from "openai";
const openai = new OpenAI();
export const agent = new Agent(components.agent, { chat: openai.chat, textEmbedding: openai.embeddings, });
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: convex-agents Download link: https://github.com/blocknavi/convex-batch-processor/archive/main.zip#convex-agents Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.