ChanlChanl

The Chanl Blog

Insights on building, connecting, and monitoring AI agents for customer experience — from the teams shipping them.

All Articles

235 articles · Page 4 of 20

AI-generated illustration for ai agent circuit breakers reliability production -- Blade Runner 2049 (2017) style, Terra Cotta palette
Best Practices·15 min read

Circuit Breakers for AI Agents: Stop the 3 AM Meltdown

One retry loop at 11 PM becomes $437 by 7 AM. Here's how to implement circuit breakers for AI agent tool calls, LLM calls, and external APIs, with TypeScript patterns that stop cascading failures before they start.

Read More
Developer console with a grid of tool tiles fading out as a routing accuracy curve declines past tool 50
Tools & MCP·10 min read

Past 50 tools, function-calling accuracy falls off a cliff

Past 50 tools, function-calling accuracy falls off a cliff. Measure the curve on your own agent and recover accuracy with per-turn toolset scoping.

Read More
Three glowing rubric cards floating in misted air, each marking the same transcript with subtly different ink colors, with a faint kappa heatmap projected on the wall behind them
Testing & Evaluation·11 min read

GPT-5, Claude 4.5, Gemini Score the Same Calls. Their Kappa Is 0.52

Run the same calls through GPT-5, Claude 4.5, and Gemini and Cohen's kappa lands at 0.52. Here is how to measure judge agreement on your own corpus.

Read More
AI-generated illustration for long context vs rag cx agents -- Soul (2020) style, Terra Cotta palette
Technical Guide·17 min read

1M-Token Context or RAG? How to Pick for Your CX Agent

Gemini's 1M-token window is real but not free. A practical decision framework for choosing between long-context and RAG for customer experience agents, with cost numbers, code, and the hybrid pattern most production teams land on.

Read More
A glass card hovers in warm plum light with a faint duplicate offset behind it, an agent's pointer landing a few degrees off the intended target
Tools & MCP·11 min read read

MCP tool description drift: the silent failure nobody alerts on

Edit an MCP tool description for clarity, lose 8% routing accuracy, and the eval suite stays green. How to detect, gate, and roll back the drift.

Read More
Layered audio waveform splitting into three colored tracks with one outlier spike trailing into fog, teal-copper engineering palette
Voice & Conversation·12 min read

Your voice agent's P95 is lying. The real problem is P99.9

Per-stage P95 hides the tail customers feel. How variance compounds across STT, LLM, and TTS, and how to SLO the joint distribution.

Read More
AI-generated illustration for agent eval no ground truth -- Soul (2020) style, Terra Cotta palette
Testing & Evaluation·14 min read

How to Eval Agents When There's No Right Answer

Most eval methods assume you know the correct response. CX agents rarely have one. Here's how to score agent quality with criteria-based rubrics and LLM-as-judge, no labeled ground truth required.

Read More
AI-generated illustration for mcp progressive tool discovery -- Her (2013) style, Terra Cotta palette
Tools & MCP·13 min read

Stop Loading All Your MCP Tools at Once

Loading 50 MCP tools burns 72K tokens before your agent says a word. Progressive tool discovery fixes that: smaller context, sharper decisions, real code patterns.

Read More
Solo operator at a dusk co-working desk, headset on, four monitors showing a calm waveform, a CRM record, and a qualification rubric filling in field by field, terra cotta palette.
Voice & Conversation·11 min read read

How to Build a Voice BDR That Qualifies (BANT as a State Machine)

Most AI SDRs ask 'tell me about your business' and dump benefits. Here's how to encode BANT as tool calls, score live, write to Salesforce, and exit politely.

Read More
A clean late-evening desk, a phone resting after a call, a single line crossed out on a notepad. Calm, no triumph.
Security & Compliance·13 min read read

Build a Save-Desk Voice Agent That Won't Get You Sued

FTC click-to-cancel was vacated. State laws still bite. The cancel-first architecture, one-shot offers, and audit trail for a save-desk voice agent.

Read More
A customer at a kitchen counter, phone in hand, gentle window light. A single product card on the screen, a thoughtful pause.
Operations·10 min read

How to Build a Cart Recovery Agent (and When to Send Nothing)

Most cart-recovery flows are three discount emails. A real recovery agent decides why the customer left, picks the right channel, caps the discount to protect margin, and sometimes sends nothing at all. Here is how to build it.

Read More
Warehouse worker placing a return box on a conveyor in late afternoon light
Operations·12 min read

Build a Returns Voice Agent That Can't Refund Itself Broke

Returns are 60% of peak ecommerce contact volume. Most voice agents will refund $4,000 on a prompt injection. Here's how to build one that physically can't.

Read More

Learn Agentic AI

Weekly. Patterns for shipping agents that work — MCP, scorecards, regression tests, prompts, model comparisons.

500+ builders subscribed