Convex Agents Fundamentals
Installation
SKILL.md
Purpose
Guides you through the core patterns for setting up Convex agents, managing conversation threads, and generating LLM responses. This is the foundation upon which all other agent capabilities build.
When to Use This Skill
- Setting up your first Convex agent in a project
- Creating or continuing conversation threads with users
- Generating text responses or structured JSON objects from an LLM
- Configuring agent defaults (system prompt, chat model, embedding model)
- Building basic chat interfaces that need message history
How to Use It
1. Install and Configure
Add the agent component to your convex.config.ts: