Skip to main content

12 posts tagged with "AI Agent"

Key topics and practices on AI Agent

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.

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.

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.

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".

Drawing the Line Between LLM Agents and Rule Engines: The Model Decides What, Rules Decide Whether

· 5 min read
Jack Ning
Maintainer of Bytedesk

Upgrading a customer service bot from "a talking FAQ" to "an agent that gets things done" is a shared goal for many teams lately. But the first question that surfaces is: which scenarios dare you hand to a free-roaming LLM Agent, and which must stay locked inside rule engines and fixed workflows? Let the model freely reason about refunds, and one mistake becomes a financial incident; turn product Q&A into a rigid decision tree, and the experience immediately regresses as every question gets dragged through stale branches.

This post is part of an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an intelligent service product manager at a large general e-commerce platform. In this post I want to share how to decide which scenarios suit an LLM Agent and which should keep rule engines or fixed workflows when pushing a Q&A bot toward an AI Agent with real execution capability — and how to design collaboration and switching between them.

This is not about enthusiasm for new tech — it is about respect for risk and a sense of architectural proportion.

Agent Operations on Real Transactions: Designing Permissions, Double Confirmation, Idempotency, and Rollback

· 5 min read
Jack Ning
Maintainer of Bytedesk

Letting an AI Agent execute refunds, cancel orders, or change delivery addresses on behalf of users is the daring leap of AI customer service from "can talk" to "can do". A wrong answer to a query earns a complaint; a wrong refund loses real money. The key to this leap is not model capability but a full set of product and engineering mechanisms that make operations controllable, confirmable, reversible, and backstopped.

This post is part of an experience-sharing series for AI customer service product managers and developers, drawn from hands-on practice as an intelligent service product manager at a large general e-commerce platform. In this post I want to share how to design tool-call permissions, user double confirmation, idempotency control, exception retry, operation rollback, and human fallback that keep business execution controllable when an AI Agent must perform real-transaction operations like refunds, order cancellation, or address changes.

This is a joint product-and-engineering effort: it takes transaction-safety product design plus a real product-level grasp of engineering concepts like idempotency and rollback.

From Cutting-Edge AI to Customer Service Features: A Reusable Case Framework

· 5 min read
Jack Ning
Maintainer of Bytedesk

Taking a new technology from "sounds cool" to "shipped and generating value" is one of the most revealing practices in AI product work. It is not about concept recitation—it is about having personally pushed a frontier capability like an Agent framework all the way through opportunity discovery, solution design, and validated results.

This is the seventh article in an experience-sharing series, "AI Customer Service Product and Engineering Practice," drawn from hands-on practice as an AI customer service product manager at a global short-video social platform. In this post I want to share a reusable case-review framework for transforming a cutting-edge AI technology (such as LLM plugins or Agent frameworks) into an AI customer service feature—covering how the opportunity was spotted, how the solution was designed, and how the results were validated. The scenarios and numbers below are examples for you to substitute with your own real experience.

From FAQ Q&A to Task-Oriented AI Agent: A Five-Stage Pipeline and Execution Boundary Design

· 5 min read
Jack Ning
Maintainer of Bytedesk

"What is the refund policy?"—an FAQ bot answers this well. "Process my refund"—an FAQ bot can only reply "please contact a human agent." The difference between these two sentences is the watershed between knowledge-QA customer service and a task-oriented Agent: one answers questions, the other completes tasks.

This is the third article in an experience-sharing series on "AI customer service product and engineering practice," drawn from hands-on practice as an AI Product Manager focused on IM intelligent customer service at a local-life services platform. In this post I want to share how to design the complete product pipeline—intent recognition, context understanding, task planning, tool calling, and result verification—and define the Agent's autonomous execution boundary, when upgrading smart customer service from traditional FAQ Q&A to an AI Agent that autonomously handles order queries, delivery exceptions, and refund applications.

This upgrade matters because nearly every customer service team has been making it since 2024—and the common thread of failures is: they swapped the model but designed no pipeline and no boundary. An Agent is not "a chatbot that can call APIs"; it is an execution pipeline with verification and risk control.