Skip to main content

Building Your Own Agents in Dr. Binary

S
Written by Support
Updated this week

Overview

Dr. Binary now supports Custom Agents that you can configure and deploy for your workflow.

With custom agents, you can:

  • Create multiple agents

  • Control each agent's behavior via system prompts

  • Enable Slack or email notifications for responses

  • Call agents programmatically from your applications

1. Create a Custom Agent

  1. Go to Dr. Binary → Settings → Agents → Create Agent

  2. Provide agent name, agent id, and system prompt.

  3. If you want to enable integrations, edit the agent you just created, and select slack channel and/or email notification address. For slack notifications, you will need to add our app to the the slack channel you want to use via `/invite @Dr. Binary`

2. Obtain the API Key

The API key is available at Settings → Billing → API Key

3. Calling Your Agent via API

Use a simple HTTP POST request to communicate with an agent.

Endpoint

POST https://chat.deepbits.com/api/query

Headers

Authorization: Bearer <api-key>
Content-Type: application/json

Request Body

{
"agentId": "<your-agent-id>",
"message": "Hello agent!"
}

Response

Plain-text content containing the agent's reply.

Did this answer your question?