Documentation

Learn how to build, deploy, and manage your AI-powered chat agents

Quick Start Guide

Get your chat agent up and running in minutes

1. Create Agent

Set up your first chat agent with custom prompts and personality

2. Design Workflow

Use the visual editor to create conversation flows

3. Deploy Widget

Embed your chat agent on any website with our SDK

Chat Agents

Learn how to create and configure intelligent chat agents

  • • Agent configuration
  • • Prompt engineering
  • • Model selection
  • • Personality settings

Visual Workflows

Design complex conversation flows with our drag-and-drop editor

  • • Node types and configuration
  • • Conditional logic
  • • Data injection
  • • Flow execution

Database Integration

Connect your chat agents to external databases and APIs

  • • Database connectors
  • • Query management
  • • Real-time data access
  • • Security best practices

Widget SDK

Embed chat agents on your website with our JavaScript SDK

  • • Installation guide
  • • Customization options
  • • Event handling
  • • Styling and themes

API Reference

Complete API documentation for developers

  • • REST API endpoints
  • • Authentication
  • • Rate limiting
  • • Error handling

Examples & Tutorials

Step-by-step guides and real-world examples

  • • Customer support bot
  • • Lead generation agent
  • • FAQ automation
  • • E-commerce assistant

🎯 Agent API Integration

Direct API endpoints for each agent - perfect for external website integration

🚀 New: Agent-Specific APIs

Each agent now gets its own API endpoint that external websites can use directly!

POST /api/agents/{agent_id}/chat

Send a message to a specific agent

{
  "message": "Hello, I need help with pricing",
  "conversation_id": "optional",
  "user_context": {
    "email": "customer@example.com",
    "page": "/pricing"
  }
}

Example: JavaScript Integration

const response = await fetch('https://brainstorm.quantaops.com/api/agents/YOUR_AGENT_ID/chat', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    message: "Customer needs help",
    user_context: { source: "website" }
  })
});

const data = await response.json();
console.log('Agent response:', data.response);

How to Enable

  1. 1. Create or edit an agent
  2. 2. Toggle "Enable External API" to ON
  3. 3. Copy the agent ID from the URL
  4. 4. Use the endpoint: /api/agents/[agent_id]/chat

Need Help?

Can't find what you're looking for? Contact our support team