Create BYO Agent
BYO Agents
Create BYO Agent
Creates a new BYO Agent that delegates conversations to an external AI Agent. Use this endpoint to register a BYO (Bring Your Own) agent powered by frameworks like Mastra, CrewAI, or LangGraph. **Val
POST
Create BYO Agent
For the complete error reference, see Error Guide.
Authorizations
API Key (i.e. Rest API Key from the Dashboard).
Headers
Chat API version. Defaults to v3.0.
Body
application/json
- Mastra
- Mastra (Legacy)
- LangGraph
- CrewAI
- Vercel AI V5
- AG2
- Rasa
- Agno
- AG-UI
Name of the agent
Example:
"My Mastra Agent"
URL to the icon/avatar of the agent
Integration platform identifier
Available options:
mastra Type of connection
Available options:
agent Whether the agent is active
Mastra-specific configuration
List of tool names (must exist in the app's tools)
List of action names (must exist in the app's actions)
Metadata for the agent
Response
201 - application/json
Agent created successfully