Skip to main content
The Agent Builder APIs provide endpoints for creating and managing AI agents using CometChat’s native agent builder. These APIs enable you to configure agents with tools, MCP servers, custom API tools, frontend actions, and RAG-based knowledge bases — all without writing your own agent orchestration logic. Below is an overview of the key functionalities provided by the Agent Builder APIs:
  1. The Agents endpoints allow you to create, configure, and manage native CometChat agents with full tool and knowledge base support.
  2. The Tools endpoints allow you to browse, add, remove, and configure ready-to-use Composio tools and manage tool actions for your agents.
  3. The Custom API Tools endpoints allow you to create and manage custom API-based tools that can be attached to agents.
  4. The Frontend Actions endpoints allow you to define and manage UI-triggered actions that agents can perform.
  5. The MCP Servers endpoints allow you to create and manage Model Context Protocol servers for your agents.
  6. The Knowledge Base endpoints allow you to manage file uploads, text content, website crawling, and RAG sources for agent responses.
  7. The Variables endpoints allow you to manage predefined and custom variables used in agent configurations.

Authentication

All Agent Builder API endpoints require authentication via an API key passed in the request header.
PropertyDetails
Headerapikey
RequirementRequired on all endpoints