✨Open Source β€’ Apache 2.0

AI-Native Conversation
Infrastructure

Multi-party threads, AI participants, compliance-grade audit trails. Build in days what used to take months.

$npm install @commshub/sdk
Medical Triage β€” Thread #12345Try live demo β†’
P
Patient Alice
I've been having severe headaches for 3 days. Should I be worried?
AI
AI Triage
I'm sorry to hear that. To help assess this, could you rate the pain on a scale of 1-10? Also, where exactly is the pain located?
P
Patient Alice
It's about an 8. Behind my eyes. And now I'm having chest pain too!
AI
AI Triage β†’ Escalating
⚠️ I'm detecting urgent symptoms. Alerting Dr. Smith immediately. Maria, can you also assist?
Dr
Dr. Smith
Alice, I'm reviewing your case now. Please stay calm β€” I'll call you in 2 minutes.

Built for Developers Who Ship

Everything you need to add AI-powered conversations to your app. TypeScript-first, compliance-ready, open source.

πŸ‘₯

Multi-Party Threads

Patients, doctors, AI, and staff in one conversation. Each participant has roles, visibility rules, and notification preferences.

πŸ€–

AI as First-Class Participant

AI that understands multi-party context. Define agents with triggers, tools, and escalation rules. Let AI handle the routine, escalate the rest.

πŸ‘οΈ

Message Visibility

Internal notes staff can see but patients can't. AI escalations only visible to doctors. Visibility is a first-class primitive.

πŸ“‹

Compliance-Grade Audit

Every message, every AI decision, queryable forever. Export for HIPAA audits, FINRA compliance, or your own analytics.

πŸ—„οΈ

Your Database

CommsHub lives in your PostgreSQL. No vendor lock-in, no data leaving your infrastructure. Add foreign keys to your domain tables.

πŸ“‘

Channel Adapters

Deliver to SMS, email, Intercom, Slack. Bring your own API keys or use managed channels. Incoming webhooks route to threads automatically.

Define AI Agents in Code

Configure AI participants with personality, triggers, and tools. Deploy changes without shipping code.

  • TypeScript-first with full type safety
  • Declarative escalation triggers
  • Custom tool handlers
  • Industry templates included
  • Hot-reload from UI or YAML
agents/medical-triage.ts
<span class="code-keyword">import</span> { <span class="code-function">defineAgent</span> } <span class="code-keyword">from</span> <span class="code-string">'@commshub/sdk'</span>;

<span class="code-keyword">export const</span> triageAgent = <span class="code-function">defineAgent</span>({
  <span class="code-property">id</span>: <span class="code-string">'medical-triage'</span>,
  <span class="code-property">name</span>: <span class="code-string">'AI Triage'</span>,
  
  <span class="code-property">personality</span>: <span class="code-string">`
    You are a compassionate medical triage assistant.
    - Gather symptom information
    - Ask clarifying questions
    - NEVER diagnose or prescribe
    - Escalate urgent cases
  `</span>,
  
  <span class="code-property">triggers</span>: [
    {
      <span class="code-property">type</span>: <span class="code-string">'keyword'</span>,
      <span class="code-property">keywords</span>: [<span class="code-string">'chest pain'</span>, <span class="code-string">'breathing'</span>],
      <span class="code-property">action</span>: <span class="code-string">'escalate'</span>,
      <span class="code-property">escalateTo</span>: <span class="code-string">'prescriber'</span>,
    },
  ],
  
  <span class="code-property">tools</span>: [
    <span class="code-string">'escalate_to_prescriber'</span>,
    <span class="code-string">'lookup_patient_history'</span>,
  ],
});

Embed in Vertical SaaS

Healthcare, fintech, property management, and beyond. Industry templates get you started in minutes.

πŸ₯

Healthcare

HIPAA-ready patient messaging. AI triage with escalation to providers. Full audit trails for compliance.

πŸ’°

Financial Services

Investor communications with compliance logging. AI advisors that know when to escalate to humans.

🏠

Property Management

Tenant, owner, vendor coordination. AI for maintenance requests with automatic dispatch.

Reinvent Your Company's Comms

Tired of walled gardens and scattered conversations? Build an AI-native internal platform your team will actually love.

πŸ”Œ

Bridge Existing Tools

Connect Slack, Teams, Telegram, and email into one unified hub. Migrate gradually without disrupting workflows.

πŸ€–

AI That Works With You

AI assistants in every channel β€” answering questions, summarizing threads, routing requests. Not bolted-on, built-in.

πŸ’°

Own Your Stack

No per-seat pricing. No vendor lock-in. Your data stays in your database. Scale to 10,000 users without scaling your bill.

🧩

Extend With Code

TypeScript SDK means your team can customize everything. Build internal bots, workflows, and integrations.

πŸ”’

Enterprise Security

SSO/SAML, role-based access, audit logs for compliance. Deploy on-prem or in your own cloud.

πŸ“±

PWA-First Mobile

One codebase, works everywhere. Install on iOS and Android without app store gatekeeping.

Simple, Developer-Friendly Pricing

Start free, upgrade when you need managed AI and channels.

Free
$0

Everything you need to build and ship

  • Full SDK access
  • Agent Builder UI
  • 1,000 AI messages included
  • Up to 50 active threads
  • In-app channel only
  • Community support
Get Started
Enterprise
Custom

For compliance-heavy organizations

  • Everything in Pro
  • Unlimited AI messages
  • HIPAA BAA
  • SOC2 report
  • SSO/SAML
  • Dedicated support
Contact Sales

Developers Love CommsHub

β€œWe went from zero to production AI conversations in 8 days. The defineAgent API is exactly what I wanted β€” declarative but powerful.”

S

Sarah Chen

Lead Developer, HealthTech Startup

β€œFinally, a messaging SDK that treats AI as a first-class participant. The audit trail alone saved us 3 months of compliance work.”

M

Marcus Johnson

CTO, Property Management SaaS

β€œThe PostgresStore adapter means we own our data. No vendor lock-in, full SQL access. That's how it should be.”

E

Elena Rodriguez

Staff Engineer, Fintech

Ready to Ship AI Conversations?

Get started in 5 minutes. Free to build, pay only for managed AI.