Overview
The @convex-dev/agent component is a core building block for building AI agents on Convex. It manages threads and messages, around which agents can cooperate in static or dynamic workflows. Agents organize LLM prompting with associated models, prompts, and tools, and can generate and stream both text and objects. They can be used in any Convex action, allowing agentic code to be written alongside other business logic. Threads persist messages and can be shared by multiple users and agents, including human agents. Conversation context is automatically included in each LLM call, including built-in hybrid vector/text search for messages. Advanced features include workflows for multi-step operations that span agents and users durably and reliably, RAG techniques for prompt augmentation, and files in chat history with automatic saving to file storage. Debugging is supported via an agent playground to inspect metadata and iterate on prompts and context settings. Usage tracking enables usage billing for users and teams, and rate limiting helps control interaction rates and avoid exceeding LLM provider limits.
Pricing
Free
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use @convex-dev/agent to build AI agent applications with threads, tools, RAG, and workflows.
- Developers use @convex-dev/agent to separate long-running agentic workflows from the UI while maintaining reactivity and interactivity.
- Teams use @convex-dev/agent to persist message history with an LLM by default, with live updating on every client.
- Developers use @convex-dev/agent to write agentic code alongside other business logic in any Convex action.
- Teams use @convex-dev/agent to share threads among multiple users and agents, including human agents.
- Developers use @convex-dev/agent to build multi-step operations that span agents and users durably and reliably.
- Teams use @convex-dev/agent to augment prompts with RAG techniques either up front or as tool calls.
- Developers use @convex-dev/agent to debug and track agent behavior via the agent playground and usage tracking.
Features
AI assistant
Natural language interface
Workflow automation
Reviews
No reviews yet. Be the first to share your experience!