Integration

Brainbase Labs integration

Brainbase Labs runs enterprise AI agents (workers) whose behaviour is written as flows in the Based language and deployed on phone numbers, chat and website chat widgets. Manage workers, flows and flow versions, voice, chat and chat-embed deployments and their parameters, start or stop outbound batch calls and campaigns, read call and chat logs, sessions and voice usage, export logs, and manage phone numbers, Twilio integrations, tags, business hours and knowledge-base folders and links. Not exposed: Echo testing, worker tests, LLM and runtime-error logs, SMS and WhatsApp logs, custom voices, custom webhooks, default checks, Voice V1 deployments, phone-number purchase, knowledge-base file upload, the Twilio subaccount credentials and internal webhook receivers. Authentication is a team API key sent in the x-api-key header.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Brainbase Labs.Built from the 96 Brainbase Labs tools below, on the connection you add once.

What you can do with Brainbase Labs

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Chat, 7 operations

  • create_chat_deploymentCreate chat deploymentPOSTAgents: ask firstCreates a chat deployment that serves a flow. name and flowId are required; allowedUsers, welcome message, LLM model, extractions and success criteria are optional.
  • delete_chat_deploymentDelete chat deploymentDELETEAgents: ask firstDeletes a chat deployment of a worker.
  • get_chat_deploymentGet chat deploymentGETAgents: ask firstReturns one chat deployment of a worker: allowed users, welcome message, LLM model, model settings and chat agent id.
  • get_chat_logGet chat logGETAgents: ask firstReturns one chat conversation log of a worker: user, messages, rating, feedback, message count and duration.
  • list_chat_deploymentsList chat deploymentsGETAgents: ask firstLists a worker's chat deployments with allowed users, welcome message, LLM model, model settings and chat agent id.
  • list_chat_logsList chat logsGETAgents: ask firstLists the chat conversation logs of a worker, optionally for one deployment or flow: user, messages, rating, feedback, message count and duration.
  • update_chat_deploymentUpdate chat deploymentPATCHAgents: ask firstUpdates a chat deployment: name, flow or pinned version, allowed users, welcome message, LLM model and settings, extractions or success criteria.

Chat embed, 7 operations

  • create_chat_embed_deploymentCreate chat embed deploymentPOSTAgents: ask firstCreates a chat-embed deployment, a chat widget for websites that serves a flow. name and flowId are required; welcome message, agent name and logo, color and styling are optional.
  • delete_chat_embed_deploymentDelete chat embed deploymentDELETEAgents: ask firstDeletes a chat-embed deployment of a worker.
  • get_chat_embed_deploymentGet chat embed deploymentGETAgents: ask firstReturns one chat-embed deployment of a worker: embed id, welcome message, agent name and logo, color and styling.
  • get_chat_embed_logGet chat embed logGETAgents: ask firstReturns one chat-widget conversation log of a worker: session, messages, status, origin URL, user agent, tool calls and latency.
  • list_chat_embed_deploymentsList chat embed deploymentsGETAgents: ask firstLists a worker's chat-embed deployments (a chat widget for websites): embed id, welcome message, agent name and logo, color and styling.
  • list_chat_embed_logsList chat embed logsGETAgents: ask firstLists the chat-widget conversation logs of a worker, optionally for one deployment, flow or session: messages, status, origin URL, tool calls and latency.
  • update_chat_embed_deploymentUpdate chat embed deploymentPATCHAgents: ask firstUpdates a chat-embed deployment: name, flow or pinned version, welcome message, agent name and logo, color or styling.

Tag, 7 operations

  • add_worker_tagAdd worker tagPOSTAgents: ask firstAssigns an existing team tag to a worker. Assigning a tag the worker already has is refused.
  • create_tagCreate tagPOSTAgents: ask firstCreates a team tag with a label and a color. A label that already exists in the team is refused.
  • delete_tagDelete tagDELETEAgents: ask firstDeletes a team tag, identified by its id from list_tags.
  • list_tagsList tagsGETAgents: ask firstLists the team's tags (label and color), which can be assigned to workers.
  • list_worker_tagsList worker tagsGETAgents: ask firstLists the team tags assigned to one worker.
  • remove_worker_tagRemove worker tagDELETEAgents: ask firstRemoves a tag from a worker; the tag itself stays in the team.
  • update_tagUpdate tagPATCHAgents: ask firstChanges the label or the color of a team tag.

Voice, 7 operations

  • create_voice_deploymentCreate voice deploymentPOSTAgents: ask firstPuts a flow on a phone number as a voice deployment. name, phoneNumber and flowId are required; flowVersionId pins a committed version.
  • delete_voice_deploymentDelete voice deploymentDELETEAgents: ask firstDeletes a voice deployment of a worker.
  • get_voice_deploymentGet voice deploymentGETAgents: ask firstReturns one voice deployment of a worker: phone number, voice provider and voice, backup number and message, and allowed countries.
  • get_voice_logGet voice logGETAgents: ask firstReturns one call log of a worker: numbers, direction, status, duration, transcription, messages, recording URL, call data with latency metrics and transfer details.
  • list_voice_deploymentsList voice deploymentsGETAgents: ask firstLists a worker's voice deployments, the phone channel of its flows: phone number, voice provider and voice, backup number and allowed countries.
  • list_voice_logsList voice logsGETAgents: ask firstLists a worker's call logs with filters (deployment, flow, direction, numbers, status, transcript text, start or end time, duration) and page or cursor paging. Pass fields to return only some fields.
  • update_voice_deploymentUpdate voice deploymentPATCHAgents: ask firstUpdates a voice deployment: name, phone or backup number, flow or pinned version, voice settings, extractions, success criteria or custom webhooks. changeComment describes the change.

Flow, 6 operations

  • create_flowCreate flowPOSTAgents: ask firstCreates a flow in a worker from Based code. name, label and code are required; set validate to true to have Brainbase validate the code.
  • delete_flowDelete flowDELETEAgents: ask firstDeletes a flow from a worker.
  • get_flowGet flowGETAgents: ask firstReturns a flow by id without its worker id. Accepts the same versionId and deploymentId options as get_worker_flow.
  • get_worker_flowGet worker flowGETAgents: ask firstReturns one flow of a worker with its code and variables. Pass versionId to read a committed version, or deploymentId to also get that deployment's parameters merged in _mergedParameters.
  • list_flowsList flowsGETAgents: ask firstLists the flows of a worker. A flow holds an agent's behaviour as Based code; each item carries its code, variables, version number and last editor.
  • update_flowUpdate flowPATCHAgents: ask firstUpdates the name, label, Based code or variables of a flow. validate and commitMessage are optional; commit_flow_version records a numbered version.

Business hour, 5 operations

  • create_business_hoursCreate business hoursPOSTAgents: ask firstCreates a business-hours schedule: hours (a JSON object of opening hours), a timezone and optional primary and secondary tags.
  • delete_business_hoursDelete business hoursDELETEAgents: ask firstDeletes a business-hours schedule.
  • get_business_hoursGet business hoursGETAgents: ask firstReturns one business-hours schedule by id: hours, timezone and tags.
  • list_business_hoursList business hoursGETAgents: ask firstLists the team's business-hours schedules (opening hours, timezone and tags), which check_callable uses to decide whether a number may be called.
  • update_business_hoursUpdate business hoursPUTAgents: ask firstUpdates the hours, timezone or tags of a business-hours schedule.

Folder, 5 operations

  • create_folderCreate folderPOSTAgents: ask firstCreates a knowledge-base folder in a worker to group link and file resources.
  • delete_folderDelete folderDELETEAgents: ask firstDeletes a knowledge-base folder of a worker.
  • get_folderGet folderGETAgents: ask firstReturns one knowledge-base folder of a worker by id.
  • list_foldersList foldersGETAgents: ask firstLists the knowledge-base (RAG) folders of a worker.
  • update_folderUpdate folderPUTAgents: ask firstRenames a knowledge-base folder or changes its description.

Outbound campaign, 5 operations

  • create_outbound_campaignCreate outbound campaignPOSTAgents: ask firstCreates an outbound call campaign on a voice deployment from contact rows (data), with a batch size (default 1) and minutes between batches (default 2).
  • delete_outbound_campaignDelete outbound campaignDELETEAgents: ask firstDeletes an outbound campaign of a voice deployment.
  • get_outbound_campaignGet outbound campaignGETAgents: ask firstReturns one outbound campaign of a voice deployment: contact data, batch settings, status and dates.
  • list_outbound_campaignsList outbound campaignsGETAgents: ask firstLists the outbound call campaigns of a voice deployment with contact data, batch settings and status.
  • update_outbound_campaignUpdate outbound campaignPATCHAgents: ask firstUpdates an outbound campaign: name, description, status, contact data, batch settings, additional data or telephony provider configuration.

Team phone hour, 5 operations

  • create_team_phone_hoursCreate team phone hoursPOSTAgents: ask firstLinks a phone number to a business-hours schedule (hoursId) for the team (teamId from get_team).
  • delete_team_phone_hoursDelete team phone hoursDELETEAgents: ask firstDeletes a link between a phone number and a business-hours schedule.
  • get_team_phone_hoursGet team phone hoursGETAgents: ask firstReturns one link between a phone number and a business-hours schedule.
  • list_team_phone_hoursList team phone hoursGETAgents: ask firstLists the links between team phone numbers and business-hours schedules, optionally for one phone number or team.
  • update_team_phone_hoursUpdate team phone hoursPUTAgents: ask firstChanges the phone number, schedule or team of a team phone hours link.

Worker, 5 operations

  • create_workerCreate workerPOSTAgents: ask firstCreates a worker, the agent that owns flows, deployments and a knowledge base. name, description and status are required.
  • delete_workerDelete workerDELETEAgents: ask firstDeletes a worker, identified by its id from list_workers.
  • get_workerGet workerGETAgents: ask firstReturns one worker by id: name, description, status, engine version, icon and dates.
  • list_workersList workersGETAgents: ask firstLists every worker (agent) of the team with name, description, status, engine version, icon and dates.
  • update_workerUpdate workerPATCHAgents: ask firstChanges the name, description or status of a worker.

Param, 4 operations

  • create_deployment_paramCreate deployment paramPOSTAgents: ask firstAdds a named parameter with a string value to a deployment.
  • delete_deployment_paramDelete deployment paramDELETEAgents: ask firstDeletes a parameter from a deployment.
  • list_deployment_paramsList deployment paramsGETAgents: ask firstLists the parameters of a deployment: named string values that get_flow merges into the flow's parameters when given that deploymentId.
  • update_deployment_paramUpdate deployment paramPATCHAgents: ask firstChanges the value or description of a deployment parameter.

Export, 3 operations

  • create_log_exportCreate log exportPOSTAgents: ask firstQueues a background export of deployment logs to a CSV or JSON file, for at most 90 days. Returns the export id with status PENDING; read the result with get_log_export. One active export per team.
  • get_log_exportGet log exportGETAgents: ask firstReturns the status of a log export (PENDING, PROCESSING, COMPLETED, FAILED or EXPIRED). Once it is COMPLETED, downloadUrl holds a presigned link to the file, valid for 24 hours.
  • list_log_exportsList log exportsGETAgents: ask firstLists the team's 20 most recent log exports with status, format, log type, row count, file size, creation and expiry dates.

Integration, 3 operations

  • get_integrationGet integrationGETAgents: ask firstReturns one integration of the team by id: name, description, app type and dates. Stored credentials are not returned.
  • list_integrationsList integrationsGETAgents: ask firstLists the team's integrations (such as connected Twilio accounts): id, name, description, app type and dates. Stored credentials are not returned.
  • update_integrationUpdate integrationPATCHAgents: ask firstRenames an integration or changes its description; nothing else about it can be changed here.

Resource, 3 operations

  • delete_resourceDelete resourceDELETEAgents: ask firstDeletes a knowledge-base resource (a link or a file) of a worker.
  • get_resourceGet resourceGETAgents: ask firstReturns one knowledge-base resource (a link or a file) of a worker by id.
  • list_folder_resourcesList folder resourcesGETAgents: ask firstLists the knowledge-base resources (links and files) inside one folder.

Version, 3 operations

  • commit_flow_versionCommit flow versionPOSTAgents: ask firstSnapshots the current code and variables of a flow as a new numbered version with a commit message. A deployment can pin that version through flowVersionId.
  • get_flow_versionGet flow versionGETAgents: ask firstReturns one committed version of a flow with its code, variables, commit message and author.
  • list_flow_versionsList flow versionsGETAgents: ask firstLists the committed versions of a flow, highest version number first, with total and hasMore for paging.

Delete, 2 operations

  • delete_phone_numberDelete phone numberDELETEAgents: ask firstRemoves a registered phone number from the team. Refused while a voice deployment uses the number.
  • delete_twilio_integrationDelete twilio integrationDELETEAgents: ask firstDeletes a Twilio integration. Refused while phone numbers imported from it are still registered; remove them first with delete_phone_number.

Link, 2 operations

  • create_link_resourceCreate link resourcePOSTAgents: ask firstAdds a web page to a worker's knowledge base from its URL, with an update frequency and an optional folder. Brainbase processes it in the background; status shows its progress.
  • list_link_resourcesList link resourcesGETAgents: ask firstLists the web-link resources of a worker's knowledge base with URL, update frequency, folder and processing status.

By embed, 1 operation

  • get_chat_embed_deployment_by_embedGet chat embed deployment by embedGETAgents: ask firstFinds a chat-embed deployment from its embed id, without the worker id.

Check callable, 1 operation

  • check_callableCheck callablePOSTAgents: ask firstTells whether a phone number may be called at a UTC Unix timestamp: the time is converted to the timezone of the number's business hours and checked against that day's hours.

Create, 1 operation

  • create_twilio_integrationCreate twilio integrationPOSTAgents: ask firstConnects a Twilio account to the team from its Account SID and Auth Token (Brainbase encrypts the token before storing it). Refused when an integration with the same Account SID exists.

Deployment, 1 operation

  • get_deploymentGet deploymentGETAgents: ask firstReturns any deployment (voice, chat, chat embed or another channel) by id without its worker id: name, type, status, worker, flow, pinned version and that channel's own settings. include adds parameters, success criteria or sentinel assignments.

File, 1 operation

  • list_file_resourcesList file resourcesGETAgents: ask firstLists the files of a worker's knowledge base with file name, MIME type, size, folder and processing status. Adding files is not available in this integration.

History, 1 operation

  • list_deployment_historyList deployment historyGETAgents: ask firstLists the change history of a deployment (flow version, config, voice settings, status and parameter changes) with previous and new values, paged by limit and offset.

Log, 1 operation

  • get_logGet logGETAgents: ask firstReturns any deployment log (a call, chat or other conversation record) by id without its worker or deployment id: type, worker, deployment, flow, extracted data, metadata, transfer data and the channel's own fields (transcript, messages, numbers).

Make batch call, 1 operation

  • make_batch_callsMake batch callsPOSTAgents: ask firstPlaces real outbound phone calls from a voice deployment, one per row of data, in batches of batch_size every batch_interval_minutes. stop_batch_calls or stop_campaign_calls removes calls still queued.

Move, 1 operation

  • move_resourceMove resourcePOSTAgents: ask firstMoves a knowledge-base resource to another folder, or out of any folder when folderId is null.

Phone number, 1 operation

  • list_phone_numbersList phone numbersGETAgents: ask firstLists the phone numbers registered to the team: number, provider, Twilio integration, worker, country code, caller name and A2P verification. Pass integrationId to list one integration's numbers.

Query, 1 operation

  • query_resourcesQuery resourcesPOSTAgents: ask firstSearches a worker's knowledge base with a natural-language query (vector search), optionally limited to some resources or one folder, and returns the result data from the RAG service.

Register phone number, 1 operation

  • register_phone_numberRegister phone numberPOSTAgents: ask firstRegisters a phone number that a connected Twilio account owns, so deployments can use it. Refused when the number is already registered or is not owned by that Twilio account.

Session, 1 operation

  • get_sessionGet sessionGETAgents: ask firstReturns one session of a worker: status, start and end, minutes, input and output tokens, state, messages, trace and error.

Stop batch call, 1 operation

  • stop_batch_callsStop batch callsPOSTAgents: ask firstRemoves every batch call still queued for a voice deployment and returns the removed queue items and their count.

Stop campaign, 1 operation

  • stop_campaign_callsStop campaign callsPOSTAgents: ask firstRemoves the queued calls of one campaign of a voice deployment and returns the removed queue items and their count.

Team, 1 operation

  • get_teamGet teamGETAgents: ask firstReturns the Brainbase team that owns the API key: id, name, owner and creation dates. Its id is the teamId that create_team_phone_hours needs.

Voice analysis, 1 operation

  • get_voice_analysisGet voice analysisPOSTAgents: ask firstReports voice usage for a date range: calls, minutes and transfers in total, per period (daily to yearly) and per deployment, plus each call when includeCallDetails is true.

Use Brainbase Labs from Claude Code, Cursor or Codex

Connect Brainbase Labs in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Brainbase Labs operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Brainbase Labs

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Brainbase Labs once

    Add your Brainbase Labs connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Brainbase Labs integration FAQ

What can you do with the Brainbase Labs integration?

LiveContext exposes 96 operations on Brainbase Labs, covering chat, chat embed, tag and voice.

Popular integrations

Browse the whole catalog