convex-agents

Construct and manage AI agents with Convex's agent component.

2|4|Updated Jun 23, 2025
One-click install
npx skills add https://github.com/xrehpicx/vector --skill convex-agents-xrehpicx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-agents
Source: https://github.com/xrehpicx/vector/tree/main/.agents/skills/convex-agents
Command: npx skills add https://github.com/xrehpicx/vector --skill convex-agents-xrehpicx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit helps solve the problem of building and managing AI agents with the Convex Agent component, providing tools for thread management, tool integration, streaming responses, RAG patterns, and workflow orchestration.

Core Features & Use Cases

  • Building AI Agents: Build persistent, stateful AI agents with thread management and tool integration.
  • Tool Integration: Execute Convex functions as agent tools and integrate tools like OpenAI's chat API.
  • Use Case: Use this Skill to create an AI agent that can assist with customer support, answer questions based on internal knowledge bases, and manage tasks within your Convex system.

Quick Start

Initialize and use the convex-agents skill to create a chatbot agent with access to tools like searching the knowledge base, creating tasks, and getting weather information.

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 thread management in Convex?

You can build stateful AI agents in Convex by using the Convex agent component to construct persistent agents with thread management, streaming responses, and tool integration for continuous context.

Can I execute Convex functions as tools for an AI agent?

Yes, you can execute Convex functions as agent tools. The Skill enables tool integration so your AI agent can trigger internal functions like searching a knowledge base or creating tasks alongside OpenAI's chat API.

What do I need to set up an AI agent using the Convex agent component?

You need a Convex environment, OpenAI API access, and AI SDKs to set up an agent. You must configure thread management and tool integration within your Convex system to enable agent functionality.

What is the best way to integrate RAG patterns into a Convex AI agent?

Integrate RAG patterns by using the workflow orchestration and tool integration features of the Convex agent component. This enables your agent to answer questions based on internal knowledge bases.

Does this approach support streaming responses for customer support chatbots?

Yes, the Convex agent component supports streaming responses. This makes it suited for customer support and knowledge base assistance applications where real-time feedback is required.