Quickstart
Demo, then one check before dialing
# install and run the demo (fixed clock, fictional numbers)
pip install -e '.[dev]' && callguard demo
callguard serve
# before your agent dials
curl -X POST localhost:8787/v0/check -d '{
"to_number": "+13105550123", "purpose": "telemarketing",
"greeting_text": "Hi, this is Ava, a virtual assistant from Acme."
}'
{ "allowed": false,
"reasons": [{ "code": "outside_calling_window", "severity": "block",
"message": "... America/Los_Angeles Fri 07:00.",
"rule_source": "TCPA, 47 CFR 64.1200(c)(1) ... Verify with a lawyer." }],
"recipient_local_time": "2026-11-06T07:00-08:00",
"disclaimer": "Technical check against your configured policy. Not legal advice." }
Snippets for LiveKit outbound SIP, Twilio and TypeScript are in examples/.