Agent API for Healthcare

Agents foragents.

Build, configure, and ship medical agents in minutes. Bestie is the agentic AI platform for clinics — qualification, scheduling, triage, pre and post-consultation in a single API.

In production at clinics across Brazil

Dr. Geovane Massa
Dra. Ione Viana
Natural Science
Dr. Geovane Massa
Dra. Ione Viana
Natural Science

Use cases

Five agents. One platform.

Every step of the patient journey, run by a specialist agent that talks to the others.

Qualification

Detects intent, insurance, and profile in seconds. Routes cold, warm, or hot leads.

await bestie.agents.qualify({
  message: msg,
  channel: "whatsapp"
})

Scheduling

Finds a slot — conflict-free — across providers and locations. No back-and-forth.

await bestie.agents.schedule({
  patient_id, service: "consult"
})

Triage

Classifies clinical urgency and routes to the right specialist. 24/7.

await bestie.agents.triage({
  symptoms, history
})

Pre-consult

Collects history, sends prep instructions, confirms attendance. Cuts no-shows.

await bestie.agents.preconsult({
  appointment_id
})

Post-consult

Tracks recovery, reinforces prescription, books follow-up. Builds retention.

await bestie.agents.postconsult({
  appointment_id
})

SmartConfig

One command. Fully configured.

Bestie discovers your services, providers, hours, and existing scripts — and writes a production-ready `bestie.config.ts`. No agent training from scratch.

~/clinic

A system that learns

Every message makes the agent smarter.

Bestie watches what worked (and what didn't), updates embeddings and prompts, and ships a better next response — automatically.

01

Message arrives

WhatsApp, Instagram, or voice

02

Agent replies

With patient context loaded

03

Outcome is scored

Conversion, CSAT, NPS

04

Memory updates

Embeddings + heuristics

05

Next time is better

No retraining needed

loop infinito

Simple API

Build in any stack.

Node, Python, and Go SDKs. Standard webhooks. Everything you expect from a modern API.

example.ts
import { Bestie } from "@bestie/sdk"

const bestie = new Bestie(process.env.BESTIE_API_KEY)

await bestie.messages.send({
  to: "+15555550000",
  template: "appointment_reminder",
  data: { name: "Mary", time: "2pm" },
})

Send a message

One call. Bestie picks the right channel (WhatsApp, SMS, email) and an approved template.

Bestie agent scheduling a medical appointment via WhatsApp
example.ts
await bestie.agents.schedule({
  patient_id: "pat_a1b2",
  service: "dermatology_consult",
  preference: "morning, next week",
})

Schedule a consult

No back-and-forth. The agent finds a slot, confirms with the patient, and creates the calendar event.

Bestie dashboard showing agent metrics: scheduling conversions, messages processed, patient satisfaction
example.ts
const result = await bestie.agents.triage({
  symptoms: "chest pain for 2 hours",
  patient_history_id: "pat_a1b2",
})

// → { priority: "high", route_to: "cardiology" }

Run a triage

The patient describes a symptom; the agent triages and hands you priority + routing.

Pricing

Pay for what you send. That's it.

No seats. No feature gating. You pay for the volume of agent messages — and step up when you grow.

Sandbox

Build and test.

$0/mo
500 messages included
  • 1,000 messages/mo
  • 1 agent
  • 7-day logs
  • Community support

Builder

For clinics in production.

$27/mo
1K messages· +$27 /1K msgs
$0.0270/ msg
  • Volume of your choice
  • Unlimited agents
  • 30-day logs
  • Email support

Scale

For networks and multi-location ops.

$470/mo
20K messages· +$27 /1K msgs
$0.0235/ msg
  • Up to 2.5M msgs / mo
  • Unlimited agents + multi-clinic
  • 90-day logs
  • Priority support (24h SLA)
  • Custom models

Enterprise

For hospitals and 3M+ msgs/mo.

Custom
1M+ msgs
  • Custom volume
  • On-prem / VPC optional
  • Unlimited logs
  • 99.99% SLA + dedicated CSM
  • Proprietary models
OverageAbove your plan, same price per message. $27 /1K msgs

Prices exclude tax. Monthly billing in USD.

Compare plans

FeatureSandboxBuilderScaleEnterprise
Messages/mo5001K–10K20K–500K1M+
Agents1UnlimitedUnlimitedUnlimited
Multi-clinic
Custom models
Logs7 days30 days90 daysUnlimited
SupportCommunityEmailPriorityDedicated CSM
SLA99.9%99.99%
On-prem / VPC
LGPD / HIPAA

FAQ

Frequently asked questions

Stop configuring bots. Start shipping agents.

Free Sandbox. No card. 5-minute setup.