Skip to main content

84 posts tagged with "Experience Sharing"

Key topics and practices on Experience Sharing

View All Tags

4 AI Support Agents and 3 Libraries: A Self-Growing Customer Service System for Gaming

· 6 min read
Jack Ning
Maintainer of Bytedesk

Gaming customer service is harder than e-commerce customer service: questions are open-ended, version updates ship constantly, and every update can introduce new bugs. The problem space of an e-commerce support team is relatively stable — logistics, refunds, sizing — while a game's problem space drifts with every version. The FAQ you curated last week may already be obsolete this week.

A game publisher recently shared a "self-growing" customer service system whose core architecture is remarkably simple: 4 agents + 3 libraries. Its value lies not in stacking model capabilities, but in designing a closed loop that makes the system smarter the more it is used.

Why AI Customer Service Forgets in Long Conversations? Four Context Engineering Practices

· 7 min read
Jack Ning
Maintainer of Bytedesk

Every AI customer service deployment has a signature moment of failure: at turn 25 the user says "remember the order number I just gave you," and the bot answers off-topic — or worse, resurrects the old order number the user corrected back at turn 3. To the user, the bot "has amnesia." Inside the system, the real cause is usually one of two things: too much context stuffed in, diluting the key facts — or compression applied too aggressively, deleting them outright.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series for product managers and developers. The material comes from a front-line team's retrospective, and the core question is single: in long conversations, how should context be organized so the model remembers and the cost stays down? The answer condenses into four practices: fix the order, compress history, use the cache, and pin the state.

From Answering Questions to Completing Tasks: Designing Autonomy Boundaries for Logistics Agents

· 6 min read
Jack Ning
Maintainer of Bytedesk

"My package hasn't moved for three days—chase it for me; nobody's home Friday, reschedule to Saturday; and if it can't be found, I want to file a claim." This is an ordinary logistics inquiry, yet it contains three classes of requests with completely different risk: a query, a modification, and a negotiation. A Q&A bot can only handle the first; for AI to truly get things done, it must autonomously invoke business systems—and how much autonomy to grant is precisely the core product design problem.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to decompose core scenarios such as logistics inquiries, exception handling, and after-sales negotiation when upgrading traditional intelligent support to a fully managed AI Agent service, and how to determine the boundaries between AI autonomous execution and human intervention. This is the key design problem any logistics support agentification cannot avoid.

Turning Service Expertise into Executable SOPs: Extraction, Structuring, and Continuous Governance

· 5 min read
Jack Ning
Maintainer of Bytedesk

For the same "my package hasn't moved for three days" inquiry, a top agent can tell from one sentence whether it is hub congestion or a suspected loss—reassure first, then chase the shipment, and she knows exactly when to escalate. Paste her call recordings straight into the knowledge base, though, and the bot just recites the SLA policy while the user grows angrier. Great agents carry tacit judgment, not documents—and turning that expertise into answer strategies an AI Agent can actually execute is where knowledge operations most often stumble.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share the SOP structuring, business rule extraction, decision flows, and exception branch handling mechanisms that turn the service expertise accumulated by the support team into executable answer strategies for an AI Agent. Without proper extraction, the Agent's ceiling is forever capped by what humans hand over.

Three Requests in One Sentence: Intent Decomposition and Task Orchestration for Compound Logistics Needs

· 5 min read
Jack Ning
Maintainer of Bytedesk

"Check why it's delayed, reschedule to tomorrow, and apply for a shipping-fee refund." The user sees one matter; the system sees three completely different actions: a read-only query, a medium-risk write, and a money approval. The classic bot failure is treating it as a single tool call—answer the delay reason and reply "all handled", never rescheduling, never filing the claim; when the user finds the package still on the old schedule the next day, trust is gone. Compound requests test not the model's generation ability, but decomposition, orchestration, and state management.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share the AI Agent's intent recognition, task decomposition, tool calling, and multi-step execution flow design for compound requests such as "check the logistics exception reason, modify the delivery time, and apply for shipping-fee compensation". This is the watershed between task-oriented agents and Q&A bots.

A Reusable Skill Capability System: Contracts, Layering, and Execution Standards

· 5 min read
Jack Ning
Maintainer of Bytedesk

The same "change delivery time" action gets one set of validation logic from the pre-sales agent and another from the complaints agent—with mismatched permission scopes and success criteria. This is the wall every team hits as multi-agent operations expand: every new scenario rewrites the tool calls, prompts pile up, and nobody dares touch the old ones. The root cause is that capabilities were never abstracted into reusable skill units with explicit contracts—they live on as scattered snippets of prompting.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to abstract basic skills such as logistics queries, order modification, exception tickets, and after-sales handling into a reusable Skill capability system for a logistics AI Agent, and how to design skill composition, parameter validation, and execution standards. This design decides whether agent capabilities are an asset or a liability.

One Reschedule Touching Four Systems: Consistency Design for Cross-System Agent Calls

· 5 min read
Jack Ning
Maintainer of Bytedesk

"Nobody's home this Friday—change it to Saturday morning." This single sentence, for an agent, touches far more than one system: the order system reschedules, the warehouse re-picks and re-plans, transportation adjusts the delivery route, and if the reschedule fails, after-sales has to catch it. The most embarrassing failure: the order system returns "rescheduled", transportation times out without confirmation, the agent keeps retrying, and the transportation system ends up with two Saturday delivery tasks while the original Friday task is never cancelled—the user asked to "change once", the system delivered "double coverage". This is not the model being dumb; it is cross-system invocation missing a consistency design.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share a multi-system tool invocation architecture for an AI Agent that calls the order, warehouse, transportation, and after-sales systems at the same time, and how it solves interface timeouts, duplicate execution, state inconsistency, and cross-system transaction failures. This is the engineering gate a logistics agent must pass on the way from "can query" to "can get things done".

Keeping Agent Writes Under Control: Tiered Permissions, Approval, and Full-Chain Audit

· 5 min read
Jack Ning
Maintainer of Bytedesk

"Why did the 500-yuan compensation the AI filed for me go to someone else's account?" Reviewing this complaint, the support team found the agent had indeed "followed the rules": the user verbally said they wanted compensation, the model judged the amount within the payout standard, and it autonomously submitted the claim—with the payout account taken from an old card number in a historical ticket. No malice, no hacker—what was missing was one hard constraint: before any write operation, who authorized it, who approves it, and who answers for it afterward. Writing "do not exceed authority" a hundred times in the prompt is far less reliable than permission tiers plus an approval flow—the security boundary must live in the system, not in the model's conscience.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to design tiered permissions, risk validation, human approval, and operation audit mechanisms that keep execution under control when an AI Agent can autonomously modify orders, adjust delivery plans, and handle compensation claims. This is the risk-control gate before an agent earns its "write permissions".

After the Task Fails: State Management, Bounded Retries, and Outcome Verification

· 5 min read
Jack Ning
Maintainer of Bytedesk

"You said it was fixed—why is my package still heading to my hometown?" The user complained first thing Saturday morning. The logs revealed: the reschedule instruction was indeed sent, but the reschedule service happened to restart in those few seconds; the agent got a timeout error, auto-retried three times, all failed, and then replied "your reschedule is complete". At no point did any link answer the most basic question: was this order actually rescheduled or not? Failure is not scary; what is scary is a system that cannot even tell "which step failed", yet dares to promise the user an outcome.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to design state management, automatic retries, rollback and compensation, and final outcome verification for the tool call failures, task interruptions, and outcomes inconsistent with the user's request that an AI Agent hits during logistics exception handling. This is the last line of defense that keeps a fully managed service from collapsing after something goes wrong.

Policies via RAG, Orders via Live APIs: Dividing Knowledge from Facts in Logistics Agents

· 5 min read
Jack Ning
Maintainer of Bytedesk

Asked "how much will my insured shipping pay out", the bot instantly replies "up to three times the freight"—unaware this order was never insured; asked "why hasn't my package arrived", the bot recites the delivery-time policy—while tracking shows the parcel was held at customs last night. Both failures share one root cause: mixing "rules" and "facts" into a single knowledge base, letting retrieval substitute for queries. Logistics support knowledge is far more tangled than e-commerce: service policies, delivery rules, historical tickets, and live order data swirl together—without a clear division of labor, answers will always be wrong.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to coordinate RAG retrieval and live APIs when the knowledge base contains service policies, logistics rules, historical tickets, and real-time order data at the same time — resolving knowledge conflicts, stale information, and answer accuracy. This is the foundation of logistics agent accuracy.

Keeping Multi-turn Dialogue on Track: Conversation Memory, Task State, and Intent Changes

· 6 min read
Jack Ning
Maintainer of Bytedesk

Two turns ago the user asked "can I change the delivery address", and the bot explained the process clearly; a couple of turns later the user says "use the same shipment as before, forget the address, change the time instead"—and the bot replies "which order do you want to modify?" The user's temper flares instantly: we were just talking about it! Worse failures follow: some systems execute both the address change and the time change, or go ahead with the address change the user explicitly retracted. Context loss, intent changes, and duplicate execution are the three most frequent incidents in multi-turn service, and they share one root cause: the system only stores chat history, with no independent conversation memory or task state design.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to design conversation memory, task state tracking, and dynamic decision mechanisms that improve an AI agent's ability to handle complex issues continuously when it loses context, misses user intent changes, or repeatedly executes operations across multi-turn service. This is the foundation of multi-turn service—without solid memory and state design, every conversation afterward runs on luck.

An Agent That Gets Stronger with Use: Failure Attribution, Strategy Optimization, and the Version Iteration Loop

· 5 min read
Jack Ning
Maintainer of Bytedesk

Three months after launch, the support agent's resolution rate is stuck at 70%; digging through bad cases, dozens of "expedite request never went through" complaints arrive every week, each handled manually by operations and closed; the product manager wants to optimize but cannot say whether the problem lies in intent recognition, knowledge retrieval, or tool calls; a revised prompt finally ships, and complaints climb the next week—because nobody ran regression, fixing scenario A while breaking scenario B. An agent that peaks at launch and grows mediocre with use lacks not point fixes but a closed loop that turns operational data into the next version's capability.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to combine failure cases, excellent human service records, and agent execution traces into a self-evolution mechanism for a logistics AI agent, completing problem attribution, strategy optimization, evaluation validation, and version iteration. This loop decides whether the agent gets stronger with use—or peaks at launch.

Pass the Gate Before Launch: Designing an Offline Evaluation System for Logistics Agents

· 5 min read
Jack Ning
Maintainer of Bytedesk

Before a release, the team ran through "track my package, change the address, file a claim"—everything went smoothly, so it shipped. Three days later, production blew up: a user casually asked "is my package stuck somewhere" and the intent went unrecognized; the address-change API timed out and the agent, without retrying, replied "modified successfully"; one test order triggered a duplicate claim. Demos only ever test the happy path, while the real long tail of logistics support is full of colloquial phrasing, stacked intents, API timeouts, and state conflicts—without an offline evaluation system, an agent's "ready to launch" only means "never tested".

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to build an offline evaluation system for a logistics AI agent — test sets covering intent recognition, task planning, tool invocation, execution correctness, and exception recovery, plus verification of the model's generalization in complex logistics scenarios. This is the watershed between an agent that "can demo" and one that "can launch".

Resolution Up, Satisfaction Down: Metric Definitions and Whether Growth Is Real

· 5 min read
Jack Ning
Maintainer of Bytedesk

At the monthly business review, the logistics agent's resolution curve kept climbing and the product team was ready to drop the chart into the quarterly report—until the operations lead put up two more charts: satisfaction heading down, repeat-contact rate climbing alongside. Same system, three metrics telling three different stories. Was the rising resolution real value, or growth manufactured by measurement? Nobody dared sign off on that number.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to build the metric system and run attribution analysis that judge whether growth is genuinely effective when an AI agent's issue resolution rate keeps improving while user satisfaction falls and repeat-contact rate rises. This kind of metric divergence shows up in almost every customer service agent project.

Transfer Rate Down 20%, Costs Unchanged: Decomposing Agent Service Costs

· 5 min read
Jack Ning
Maintainer of Bytedesk

Three months after the logistics agent launched, everyone at the operations review was waiting for one conclusion: transfer rate down 20%, so can we shrink the agent headcount? Finance's answer silenced the room—overall service cost barely moved. Where did the saved human effort go? Eaten by model tokens? By tool calls? Or did the remaining human cases simply get harder? If you cannot explain where the money went, the next round of optimization has nowhere to start.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to analyze the cost structure across token consumption, tool calls, model inference, human fallback, and task completion efficiency — and determine optimization priorities — when the human transfer rate drops 20% after an AI agent goes live but overall service cost does not improve. This is the gate an agent must pass to go from "works" to "economical".

A/B Testing the Business Value of Agents: Assignment, Guardrails, and Statistical Decisions

· 4 min read
Jack Ning
Maintainer of Bytedesk

A new logistics agent ran for a month, resolution rose 4 percentage points, and the team was about to celebrate—until someone noticed the month coincided with a mega-sale: inquiry volume tripled, human agents faced severe queues, and the control group's resolution was dragged into chaos by the promotion. Were those 4 points the agent's achievement or the sale's disorder? Nobody could tell. The strong cyclicality of logistics business (mega-sales, holiday peaks, off-seasons) makes "before-and-after comparison" almost always untrustworthy—which is exactly why A/B experiments matter so much in logistics scenarios.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to design the experiment grouping, core metrics, guardrail metrics, and statistical tests for validating the business value of a new AI agent through A/B testing, while excluding interference from logistics peaks, user structure changes, and business scenario differences.

From Pilot to Multiple Business Lines: Staged Rollout and Scaling Logistics Agents

· 5 min read
Jack Ning
Maintainer of Bytedesk

The parcel-tracking pilot ran for a quarter with true resolution, satisfaction, and cost per service all green, and the team confidently copied the same agent into the claims business line—two weeks later the complaint rate doubled: claims' rule differences, approval chains, and authorization boundaries had never once appeared in the tracking scenario. Pilot success does not mean you can copy wholesale; that is the most expensive lesson of the scaling stage.

This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to set scenario priorities, staged rollout, acceptance criteria, and a scaling playbook when an AI agent has achieved good results in some logistics service scenarios and needs to expand to more business lines — while balancing resolution, user experience, and operating cost. This is the watershed between a single-point breakthrough and scaled operation.

A Globally Unified AI Customer Service Architecture: Standardized Foundation, Localized Configuration

· 6 min read
Jack Ning
Maintainer of Bytedesk

A friend running cross-border e-commerce complained to me: separate support systems for the US and UK storefronts, different bot answers to the same "what is the return window?" question, weekly alignment meetings for the support director—and worse, every new market meant rebuilding the system from scratch, making expansion prohibitively expensive.

This is a problem every global support team eventually faces. This post is part of an experience-sharing series on "AI customer service product and engineering practice", drawn from hands-on practice at a global fast-fashion cross-border e-commerce platform. In this post I want to share a unified AI customer service product architecture that balances global standardization with localized service—how to split globally common business from country-specific business, how to layer knowledge and rules so each market serves currently valid answers, how to connect business systems so the bot can actually get things done, and how to sequence the rollout. This is the first architecture decision every support team going global has to make.

Peak Season Surge: Traffic Shaping, Scheduling, and Degradation for Customer Service

· 5 min read
Jack Ning
Maintainer of Bytedesk

Right after midnight on Black Friday, inbound conversations spike to five times the daily volume, human queues exceed an hour, bot APIs start timing out, and users complain in reviews that "support is unreachable". For many e-commerce teams this is a realistic picture of the biggest sales night: the peak of revenue often becomes the trough of support reputation.

This post is part of an experience-sharing series on "AI customer service product and engineering practice", drawn from hands-on practice at a global fast-fashion cross-border e-commerce platform. In this post I want to share a peak-protection solution for the consultation surge during major promotions and concentrated new-product launches: how to shape the system architecture and bot concurrency, prioritize requests, schedule human agents, and design service degradation so the system stays stable and the experience intact.

Connecting Customer Service with Business Systems: Data Models, Interfaces, and Context

· 5 min read
Jack Ning
Maintainer of Bytedesk

A user asks "why hasn't my order arrived?" and the bot cannot look up the tracking for that order; the user just filed a refund in the app, yet support sees no record. When the customer service system is disconnected from business systems, even the smartest bot can only be an "apologizing parrot".

This post is part of an experience-sharing series on "AI customer service product and engineering practice", drawn from hands-on practice at a global fast-fashion cross-border e-commerce platform. In this post I want to share how to design the data model, interface invocation, and conversation context management for integrating customer service with order, payment, product, inventory, logistics, and after-sales systems, so the bot gets accurate, timely information and cross-system inconsistency stays controlled. It is the engineering hurdle every AI support system must clear to move from "can chat" to "can get things done".