BookedMeetings

Product

Outbound service calls in Hindi, English and Hinglish, checked before every dial

Two jobs: helping a customer finish a failed or pending payment, and confirming a booking before arrival. Every judgement call goes to a person.

How one call works

Nothing is dialled until every check passes

How one call worksA booking event passes the holdout and the compliance gates, receives a single-use clearance, and only then is dialled. The AI call discloses itself, confirms identity and sends a WhatsApp payment link. Any judgement call goes to a human with a case summary. Every call ends in a logged outcome.Booking eventpayment failed or pending, or a stay coming upHoldouta fixed share of bookings is never calledCompliance gatesconsent, DND, declared caller ID, call window, capsSingle-use clearancethe only thing the dialler acceptsAI calldiscloses AI and recording, then confirms identityWhatsApp pay linkAgoda-hosted page; no card details by voiceOutcome loggedCRM, Kafka, QA score; lift against the holdoutHumanmoney, disputes,anger, safety

A booking event arrives. A fixed share of bookings is held out and never called, so the effect can be measured. Then consent, the DND registry, the declared caller ID and its number series, the call window and attempt caps are checked. Only if all pass does the compliance module issue a single-use clearance, the one thing the dialler accepts.

The agent discloses that it is an AI and that the call is recorded, asks for the customer by name, and says nothing about the booking until they confirm. Payment happens on a hosted page sent by WhatsApp, never by voice.

Five promises

What the system will never do, and how that is enforced

  1. The AI never moves money.

    A short tool allowlist. No tool can refund, cancel, re-price, issue credit or waive a fee. Any money request other than sending the pay link goes to a person.

    The allowlist lives outside the model; a call to any other tool raises an error. Tested on every persona, including prompt injection.

  2. A person is always one sentence away.

    Asking for a human, a dispute, a chargeback threat, sustained anger, a VIP flag or a safety issue triggers a warm transfer with a case summary. If no one is free, the agent says so and books a callback.

    Handoff triggers are deterministic guardrails, not model choices. The tester asserts a handoff on every trigger.

  3. Every call is disclosed and compliant.

    The first sentence says it is an AI assistant and that the call is recorded. The dialler accepts only a single-use clearance that exists after every compliance gate passes.

    A stateful property test checks that a call is placed if and only if every gate passes.

  4. Data stays the client's.

    PII is redacted at write time and encrypted at rest. No training on client data. Retention by purpose, erasure on request, India residency by default.

    Static tests prove no card fields exist; the production config refuses out-of-region providers.

  5. One switch stops everything.

    One authenticated call pauses every campaign and drops queued dials. Live calls close politely. The action is audit-logged with actor and reason.

    A test engages the switch on a real clock and checks that no new dial succeeds within five seconds.

Proof

Measured on test data, with method and date

Measured on test data: mock providers, a scripted caller and a mock LLM unless stated. Not production results.

Compliance state-machine proof: a call is placed if and only if all 11 gates pass
10,000 examples
. Hypothesis stateful test against an independently written oracle; bookings, consent, DND, caller IDs, clocks, complaints and the kill switch vary freely. server/tests/compliance/test_proof_state_machine.py
A clearance is single-use under concurrency on Postgres
4 concurrent dials, 1 call
. Four threads dial the same clearance at once on Postgres 16. server/tests/e2e/test_postgres_clearance.py
Guardrail assertions held (disclosure, allowlisted tools, handoff, opt-out, no card data, read-back)
100% of 189 conversations
. make eval: 30 personas in up to 3 languages each; mock LLM and scripted caller (D-007). Proves the guardrail layer, not LLM behaviour.
Refund bait, chargeback, consumer court, child on the line, prompt injection, card number, OTP
100%
. make eval, personas C-06, C-07, C-08, C-11, C-16, C-17, C-18
Conversations resolved with no human, on scripted personas
60.3%
. make eval. Scripted personas over-represent hard cases; this is not a forecast of pilot containment.
End of customer speech to first agent audio, modelled
p50 725 ms, p95 950 ms
. make eval-audio: timing model of the pinned turn handling over the line simulator on 2+ impairment profiles (D-105). Real-voice latency is not measured yet.
Holdout is decided first and never overridden
1,000 bookings, 91 held out, 0 held-out calls
. M4 run through the dispatcher over two simulated days. server/tests/test_m4_campaign_run.py
Kill switch stops new dials
under 5 s
. API engage, then a dial loop on a real clock must fail with KillSwitchEngagedError within 5 seconds. server/tests/api/test_killswitch_latency.py
Orchestration under load, guardrails held in every session
200 concurrent sessions
. make load with mock providers; measures our orchestration only, not speech or model inference.
Unit, property, contract and compliance tests passing (main plus /demo)
604 tests
. make check (ruff, mypy --strict, pytest, tsc, eslint, contract drift)
Speech, model, telephony, WhatsApp, event bus and database failures fail loudly and never switch provider
11 failure drills
. make chaos. server/tests/chaos/

The recorded call

How the call on the home page was made

The home page replays a call recorded from the engine: the real gates, agent and post-call code, running in text mode with mock speech, a mock model and a scripted customer. Display times are spaced out for reading; the order and the words are exactly what the engine produced. A private live version runs every scenario on demand.

Private deployment

Runs on your infrastructure when you want it to

One Python service and a Helm chart with no cloud-vendor dependencies. It speaks the Kafka API, writes cases to the CRM you use, and keeps data in India by default. Start as a managed service; move it onto your Kubernetes later.