convex-agents

Develops stateful AI agents with Convex Agent for workflows and RAG patterns.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/mjmmattoni98/soundweave --skill convex-agents-mjmmattoni98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-agents
Source: https://github.com/mjmmattoni98/soundweave/tree/main/.agents/skills/convex-agents
Command: npx skills add https://github.com/mjmmattoni98/soundweave --skill convex-agents-mjmmattoni98

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @convex-dev/agent, ai, openai, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation of sophisticated AI agents by providing a robust framework for managing state, integrating tools, and orchestrating complex workflows within the Convex real-time data platform.

Core Features & Use Cases

  • Persistent State: Agents maintain conversation history and context across sessions.
  • Tool Integration: Seamlessly connect agents to Convex functions and external APIs.
  • RAG & Workflows: Implement Retrieval Augmented Generation and multi-step agentic processes.
  • Use Case: Develop a customer support chatbot that can access a knowledge base, create support tickets, and provide real-time, streaming responses to user queries.

Quick Start

Install the necessary packages and configure your Convex agent with OpenAI integration.

Frequently Asked Questions about convex-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build stateful AI agents with persistent conversation history?

To build stateful AI agents with persistent conversation history, you can use the Convex Agent component to automatically maintain thread state and context across multiple user sessions.

What's the best way to integrate external tools and APIs into an AI agent workflow?

The best way to integrate external tools and APIs into an AI agent workflow is using the Convex Agent component, which allows seamless connection of agent functions to external systems for orchestrated multi-step processes.

How do I implement retrieval augmented generation and vector search for an AI chatbot?

To implement retrieval augmented generation and vector search for an AI chatbot, this framework provides built-in RAG patterns and vector search capabilities to retrieve knowledge base documents efficiently.

Does the Convex Agent component support real-time response streaming for chatbots?

Yes, the Convex Agent component supports real-time response streaming for chatbots, enabling immediate token delivery to the client while managing durable backend workflows.

Do I need OpenAI and Convex to use this AI agent framework?

Yes, you need an OpenAI API key for the language model and a Convex deployment for the real-time data platform to utilize this framework's state management and tool integration features.