How sexyjaeseok/callprotocall works
CallProtocol is an accessible AI-assisted calling service: users submit a call request, answer any follow-up questions, review and approve a plan, then conduct a call with live captions and text-based intervention. The server provides authentication, REST and WebSocket sessions, and scheduled calling; records and reservations persist in SQLite. README documents browser-based ElevenLabs voice calls, optional Twilio phone calls, and simulation fallback. Unsampled UI and API behavior is included only where documented; edges reflect shown calls or README relationships.
Main entry points: api.py REST handlers · server.py HTTP server · ai_engine.py Plan and simulation · db.py SQLite persistence
Components 12
Accessible calling UI
- Web app
web/app.v8.js
Server and sessions
- HTTP server
server.py - WebSocket transport
app/websocket.py - REST handlers
app/api.py - Scheduled calls
server.py
Call planning
- Plan and simulation
app/ai_engine.py
Accounts and records
- Authentication
app/auth.py - SQLite persistence
app/db.py
Voice integrations
- ElevenLabs voice agent
- Twilio phone service
- OpenAI wrapper
app/llm.py
Other components
- Caller
Connections 18
- Caller → Web app: submits requests
README.md - Web app → HTTP server: calls REST
web/app.v8.js - HTTP server → REST handlers: routes requests
server.py - HTTP server → Authentication: checks sessions
server.py - HTTP server → WebSocket transport: serves sessions
server.py - REST handlers → Authentication: authenticates users
app/api.py - REST handlers → Plan and simulation: builds plans
app/api.py - REST handlers → SQLite persistence: reads and writes
app/api.py - Authentication → SQLite persistence: reads and writes
app/auth.py - WebSocket transport → SQLite persistence: loads and saves calls
server.py - WebSocket transport → Plan and simulation: runs simulation
server.py - HTTP server → Scheduled calls: starts scheduler
server.py - Scheduled calls → SQLite persistence: checks reservations
server.py - Scheduled calls → Plan and simulation: simulates calls
server.py - Web app → ElevenLabs voice agent: streams voice
README.md - REST handlers → ElevenLabs voice agent: configures calls
app/api.py - REST handlers → Twilio phone service: initiates phone calls
README.md - Plan and simulation → OpenAI wrapper: may use model