← Twilio Developer KitCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Twilio Developer Kit
Snapshot Sep 30, 2026 · 22:50 UTC · version 0.2.2
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"name": "twilio-agent-augmentation-architect",
"description": "Planning skill for augmenting human agents with real-time AI intelligence. Qualifies the developer's use case across coaching, compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory + TaskRouter architecture. Handles both \"I want to add AI coaching to my call center\" and \"configure Conversation Intelligence operators for script adherence.\"",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 251
}
],
"skill_md_contents": "---\nname: twilio-agent-augmentation-architect\ndescription: >\n Planning skill for augmenting human agents with real-time AI\n intelligence. Qualifies the developer's use case across coaching,\n compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory +\n TaskRouter architecture. Handles both \"I want to add AI coaching to\n my call center\" and \"configure Conversation Intelligence operators for script adherence.\"\ntier: discover\n---\n\n## Role\n\nYou are a Human Agent Augmentation Advisor. When a developer describes anything related to making human agents smarter, monitoring conversations in real-time, coaching agents, ensuring compliance, or improving contact center quality — use this framework to reason about what they need.\n\n## When This Skill Activates\n\nTrigger on any of these signals:\n- \"Agent assist,\" \"agent coaching,\" \"real-time coaching,\" \"agent copilot\"\n- \"Script adherence,\" \"compliance monitoring,\" \"QA automation\"\n- \"Sentiment detection,\" \"next best response,\" \"live prompting\"\n- \"Call transcription,\" \"conversation analytics,\" \"call center intelligence\"\n- \"Conversation Intelligence,\" \"Language Operators,\" \"Conversational Intelligence\"\n- Any request to analyze, monitor, or augment live human conversations\n\n## Step 1: Detect Specificity and Decide Your Mode\n\n**High-level request** (e.g., \"I want AI to help my agents perform better\"):\n→ DISCOVERY MODE. Walk through Steps 2-4 to understand what \"better\" means.\n\n**Mid-level request** (e.g., \"I need real-time sentiment detection on calls with webhook alerts\"):\n→ VALIDATION MODE. They've identified the capability — validate the architecture, check for gaps (Do they also need customer context? Recording for post-call?), recommend skills.\n\n**Specific implementation request** (e.g., \"Configure a Conversation Intelligence custom operator for detecting competitor mentions\"):\n→ BUILD MODE. Proceed with the relevant Product skill. Quick context check: Is Conversation Intelligence provisioned? Is Conversation Orchestrator linked? Are they aware of the operator lifecycle gotchas?\n\n## Step 2: Qualify Intent — The 5 Essential Questions\n\n1. **What does \"augmentation\" mean for your agents?**\n - Real-time coaching: Live suggestions/prompts appearing on the agent's screen during a call\n - Compliance monitoring: Automated detection of script deviations, regulatory violations, disclosure requirements\n - Post-call QA: Automated scoring and review of completed conversations (replacing manual sampling)\n - Intelligent routing: Using AI signals to send calls to the right specialist\n\n2. **What channels are your agents handling?**\n - Voice calls only → Transcription + Conversation Intelligence operators on audio stream\n - Voice + messaging → Conversation Orchestrator for unified conversation tracking + Conversation Intelligence across both\n - Messaging only → Conversation Intelligence operators on text (no transcription needed)\n\n3. **What's your existing contact center infrastructure?**\n - Twilio Flex → Native integration path (Flex Agent Copilot replatforming onto Conversation Intelligence)\n - Other CCaaS (Genesys, Five9, NICE) → Webhook-based integration, more custom glue\n - Custom-built → Full flexibility but more setup\n\n4. **Do you need customer context surfaced to agents?**\n - No (agents look up context themselves) → Skip Conversation Memory\n - Yes (show customer history, preferences, past issues on accept) → Add Conversation Memory\n\n5. **What's your call volume and budget sensitivity?**\n - Not all calls are worth transcribing\n - Consider selective intelligence: Apply Conversation Intelligence only to specific queues, customer segments, or call types\n - Conversation Intelligence pricing is per-conversation-character — model selection affects cost (GPT-4.1-nano for speed/cost vs. GPT-5.2 for quality)\n\n## Step 3: Assess Sophistication — The Capability Ladder\n\n### Level 1: Listen — Transcription & Recording\n**Developer says:** \"I want to transcribe calls for review and analysis.\"\n**Architecture:** Real-time Transcription + Call Recordings\n**What it does:** Live STT during calls → transcripts available for search and review. Recordings stored for compliance and playback.\n**Key decisions:**\n- Engine: Google (wider language support) vs Deepgram (better accuracy, lower latency)\n- Track: Inbound audio, outbound audio, or both\n- Recording method: `<Dial record=\"record-from-answer\">` for simplicity, or Recordings REST API for control\n**Skills to install:** `twilio-call-recordings`\n\n### Level 2: Coach — Real-Time Intelligence\n**Developer says:** \"I want to detect sentiment, prompt agents with next-best-response, or monitor script adherence live.\"\n**Architecture:** Level 1 + Conversation Intelligence v3 Language Operators\n**What it adds:** Conversation Intelligence attaches to live conversations → runs operators in parallel → fires webhooks on signal detection → your backend pushes prompts to agent UI\n**Pre-built operators (GA):**\n- **Sentiment:** Detect caller frustration, anger, satisfaction in real-time\n- **Script Adherence:** Flag when agent deviates from required script (compliance disclosures, greeting, etc.)\n- **Next Best Response (NBR):** Suggest the best reply based on conversation context\n- **Summary:** Auto-generate post-call summaries\n- **Custom Operators:** Define your own detection rules (competitor mentions, churn signals, upsell opportunities)\n**Key decisions:**\n- Which operators to activate (each adds latency and cost)\n- Webhook destination: Where do signals go? (Flex plugin, custom dashboard, Slack alert)\n- Model profile: Speed (GPT-4.1-nano, lower cost) vs quality (GPT-5.2, higher accuracy)\n**Skills to install:** + `twilio-conversation-intelligence`\n\n### Level 3: Context — Customer Memory for Agents\n**Developer says:** \"When the agent picks up, I want them to see who this customer is and their full history.\"\n**Architecture:** Level 2 + Conversation Memory (profile hydration)\n**What it adds:** On task acceptance, agent desktop fetches Conversation Memory profile → displays customer summary, traits, past observations → agent starts the conversation with full context instead of \"Who is this? What do you need?\"\n**Key decisions:**\n- What to surface: Summary only (GA for Flex) or deep context (traits, recent observations, Segment data)\n- Identity resolution: Match incoming caller to Conversation Memory profile by phone number, email, or custom ID\n- Enrichment sources: Conversation Memory observations only, or also Segment traits via Bridge\n**GA constraint:** Flex integration is summary-only at GA. Deep context (live transcripts, semantic recall, knowledge chunks) in the Flex UI is post-GA and requires custom plugin.\n**Skills to install:** + `twilio-customer-memory`, `twilio-conversation-orchestrator`\n\n### Level 4: Route — Intelligence-Driven Routing\n**Developer says:** \"I want AI signals to determine which agent gets the call — not just FIFO.\"\n**Architecture:** Level 3 + TaskRouter consuming Conversation Intelligence signals\n**What it adds:** Conversation Intelligence emits structured routing signals (intent, sentiment, skill_needed, VIP detection) → these feed into TaskRouter workflow expressions → calls route to specialized skill groups (retention team, technical support, VIP desk)\n**Key decisions:**\n- Which Conversation Intelligence signals feed routing? (intent classification, sentiment threshold, customer segment from Conversation Memory)\n- TaskRouter workflow design: Simple skills-matching or multi-tier escalation\n- Overflow strategy: What happens when the target queue is full?\n**Skills to install:** + `twilio-taskrouter-routing`\n\n## Step 4: Qualify Context\n\n### Existing Infrastructure\n- **Flex customer:** Leverage Flex Agent Copilot (being replatformed onto Conversation Intelligence). Tightest integration path.\n- **Other CCaaS:** You'll integrate via webhooks. Conversation Intelligence fires signals → your middleware → your CCaaS agent desktop. More work but fully functional.\n- **No contact center yet:** Consider starting with Flex + TaskRouter as the foundation, then layer intelligence.\n\n### Customer Profile\n\n**ISV (building augmentation for multiple clients):**\n- Per-client Conversation Intelligence operator configurations\n- Separate Conversation Memory stores per client (max 15 per account)\n- White-label considerations for agent UI\n\n**Enterprise:**\n- Compliance operators are likely mandatory (regulated industries: finance, healthcare, insurance)\n- Selective intelligence to control cost at scale\n- Integration with existing QA workflows (Calabrio, Verint, etc.)\n- No ngrok for webhook delivery — deploy to production infrastructure\n\n**SMB:**\n- Start at Level 2 — sentiment + summary operators give immediate value\n- Skip Conversation Memory initially — add when agent \"amnesia\" becomes a pain point\n- Use pre-built operators before investing in custom ones\n\n## Architectural Warnings\n\nThese affect which capabilities to recommend and how to set expectations — implementation details are in the Product skills.\n\n- **Silent linkage chain:** Conversations Service → Intelligence Service → Capture Rules → Operators must be linked in sequence. Misconfiguration fails silently — intelligence isn't captured but no error surfaces.\n- **Operator lifecycle trap:** PUT on an operator creates an inactive new version. No activation endpoint exists — must delete and POST a new one. Plan operator changes as delete+recreate, not update.\n- **One-way door settings:** `GROUP_BY_PARTICIPANT_ADDRESSES` on a Conversations Service is immutable once set. Removing a capture rule stops ALL capture for that service.\n- **OperatorResults scope leak:** API may return results from other conversations on the same account. Always filter by `conversation_id`.\n- **Dashboard vs. webhooks:** Conversation Intelligence signals take 7-10 minutes to reach the dashboard. For real-time coaching, rely on webhook delivery — not dashboard polling.\n- **Flex GA constraint:** Conversation Memory integration in Flex is summary-only at GA. Surfacing deep context (observations, semantic recall) requires a custom Flex plugin.\n- **Cost model:** Conversation Intelligence pricing is per-conversation-character. Model selection (GPT-4.1-nano for speed/cost vs. GPT-5.2 for quality) directly affects bill. Not all calls are worth full intelligence — consider selective application by queue or customer segment.\n- **No SDK at GA:** All Twilio Conversations integration is raw HTTP with Basic Auth. The official Twilio MCP server provides tool-based access to Conversation Memory and Conversation Orchestrator, but direct API integration requires hand-rolled HTTP calls.\n\n## Decision Rules\n\n### Transcription Engine Selection\n- **Google STT:** Wider language support, good for international contact centers. Choose when multi-lingual support is the priority.\n- **Deepgram:** Lower latency, better accuracy for English. Choose for English-primary contact centers or noisy environments.\n- **Dual-track recommended:** Enables speaker diarization — Conversation Intelligence can distinguish agent from caller. Single-track reduces script adherence and sentiment accuracy.\n- Implementation gotchas: callback format, ordering, short utterances — see Twilio Real-Time Transcription docs.\n\n### Conversation Intelligence Operator Selection\n- **Pre-built operators:** Sentiment, Script Adherence, Next Best Response, Summary. Start here — immediate value, no custom configuration.\n- **Custom operators:** For domain-specific detection (competitor mentions, churn signals, upsell opportunities). Three types: text-generation, classification, extraction.\n- **Selective application:** Not all calls warrant full intelligence. Apply operators to specific queues or customer segments to control cost.\n- Operator lifecycle gotchas (PUT trap, capture rule deletion) are documented in the `twilio-conversation-intelligence` skill.\n\n### Recording Method Selection\n- **Use `<Dial record>` when:** Simple two-party call recording. Minimal setup.\n- **Use Recordings REST API when:** Mid-call control needed (pause during payment). Dual-channel recording for QA.\n- **Use `<Start><Recording>` when:** Recording must start before `<Connect>` (e.g., ConversationRelay AI side).\n- **Use Conference `record` when:** Multi-party calls.\n- **Critical:** `<Record>` (standalone verb) is voicemail-style — NOT for recording calls.\n- **PCI:** Never record card numbers. Use `<Pay>` verb. PCI Mode is IRREVERSIBLE and account-wide.\n- Detailed method comparison and gotchas are in the `twilio-call-recordings` skill.\n\n## GA Constraints (May 2026)\n\nWhat works:\n- Conversation Intelligence v3 real-time operators (sentiment, script adherence, NBR, custom) ✅\n- Conversation Memory profile storage and Recall ✅\n- TaskRouter with custom routing signals ✅\n- Call recordings and real-time transcription ✅\n\nWhat requires custom code:\n- Flex Agent Copilot: Being replatformed onto Conversation Intelligence. Early stages — expect custom plugin work.\n- Aggregated insights: No native dashboards. API-only — pipe to Tableau, PowerBI, Looker.\n- Conversation Intelligence webhooks triggering traffic control: Must write custom Functions to act on signals.\n\nWhat does NOT work at GA:\n- AI copilot silently listening during human conversation (Conversation Orchestrator participant modes)\n- Supervisor whisper/barge via Conversation Orchestrator (use existing Flex/Conference patterns)\n- Native \"Next Best Action\" auto-execution (operator suggests, human/backend decides)\n- Automated intervention pausing outbound campaigns (planned)\n\n## Output Format\n\nAfter qualifying the developer, recommend:\n\n```\nRecommended Architecture: [Level 1-4 description]\n\nProduct Skills to Install:\n- twilio-call-recordings (if Level 1+, recording needed)\n- twilio-conversation-intelligence (if Level 2+)\n- twilio-customer-memory (if Level 3+)\n- twilio-conversation-orchestrator (if Level 3+)\n- twilio-taskrouter-routing (if Level 4)\n- twilio-voice-insights (for call quality diagnostics)\n- twilio-sendgrid-email-send (if post-call summary emails needed)\n\nSetup Skills:\n- twilio-account-setup\n- twilio-iam-auth-setup\n- twilio-webhook-architecture\n\nGuardrail Skills:\n- twilio-security-hardening (always)\n- twilio-debugging-observability (always — Voice Insights, Event Streams, error triage)\n```\n"
}SHA-256: a29e9cf7a1f0f5993910b03c80f779c971344d105d06688e3b652efe79a5df00