Bian Que: An Agentic Framework with Flexible Skill Arrangement for Online System Operations

bochao liu, Zhipeng Qian, yang zhao, Xinyuan Jiang, Zihan Liang, Yufei Ma, Junpeng Zhuang, Ben Chen, Shuo Yang, Hongen Wan, Yao Wu, Chenyi LeiNeurIPS 2026

TL;DR

Keeping massive online search and recommendation engines running smoothly usually means drowning on-call engineers in alerts and logs across dozens of daily code releases. Researchers at Kuaishou built Bian Que—named after an ancient Chinese physician famous for treating illnesses before symptoms appeared—an LLM agent framework that dynamically learns which metrics and tribal knowledge to pull for any given system hiccup. Deployed in production, it slashed human-facing alerts by 75% and cut incident resolution time in half, all without fine-tuning the underlying LLM.

What Problem Does This Paper Address?

Modern internet backbones—like search, ad, and recommendation engines—are sprawling beasts that undergo dozens of updates every day. When something breaks (or is about to), Site Reliability Engineers (SREs) step in to play detective.

While LLM agents seem tailor-made to automate this operations and maintenance (O&M) work, there is a hidden deployment bottleneck: orchestration. An industrial platform emits thousands of signals (data: time-series metrics, logs, traces, change events) and relies on shifting, often-undocumented tribal wisdom (knowledge: runbooks, module quirks, past failures). If you dump everything into an LLM's context window, the signal gets diluted and the model hallucinates. Conversely, manually writing rules to map every possible event to the right data and knowledge is a Sisyphean nightmare when the codebase changes every hour. Furthermore, most existing AI operations (AIOps) agents wait until an alert fires to start diagnosing, rather than catching issues proactively.

Methods

Instead of fine-tuning an LLM (the default backbone is a pluggable Qwen3.5-35B-FP8), Bian Que solves context assembly at the system level through three main ideas:

Figure 1: Overview of the BIAN QUE architecture. Operational events from the OPS platform (top) are dispatched to a matching Agent, which invokes one or more matched Skills to assemble the relevant data (system signals: logs, metrics, change events) and knowledge (domain knowledge distilled from case memory, seeded by operational handbooks) for the LLM to reason over; the resulting diagnosis is returned to the OPS platform. Practitioner feedback flows back along two parallel pathways (yellow: Skill refinement; purple: memory-to-knowledge distillation).
  1. Three Lines of Defense (Agent Matrix): Operational chaos is abstracted into three canonical patterns, each handled by a specialized agent: Release Interception (catching bad deployments at checkpoints), Proactive Inspection (routine health checks), and Alert Root Cause Analysis (post-alert diagnosis as a last resort).
  2. Flexible Skill Arrangement: Orthogonal to the agents is a shared pool of Skills—structured YAML/JSON documents tailored to specific business modules (e.g., "item rank" or "photo recall"). Each Skill specifies a LoadDataSchema (exact data and knowledge queries to run), a reasoning Prompt, and Meta tags. When an unfamiliar event occurs, an LLM automatically generates a new Skill from seed descriptors and validates that the data sources actually work (retrying up to three times).
  3. Dual-Pathway Self-Evolution: When an agent makes a mistake, an engineer corrects it in plain English via chat. That single piece of feedback triggers two parallel updates: a Knowledge Pathway (writing to short-term case memory and distilling reusable rules into long-term Redis/vector indices overnight) and a Skill Pathway (rewriting the Skill's data schema or prompt so it fetches the right context next time).
Figure 3: Flexible Skill lifecycle. New Skills are generated from seed configurations with vali- dation and retry. Existing Skills are updated via practitioner feedback through a natural-language interface. Executable schema changes are validated; prompt-only changes have no automatic semantic- correctness gate.

Datasets

Because Bian Que does not train model weights, there is no training dataset. Instead, it is evaluated on proprietary, real-world production traffic from Kuaishou's e-commerce search engine (serving hundreds of millions of daily users):

  • Online Production Traffic: A six-month live deployment across dozens of modules maintained by ~100 engineers, plus a controlled 13-day online A/B-style comparison on live alerts.
  • Curated Offline Benchmarks: A newly curated benchmark of 104 real operational events (44 alerts and 60 proactive inspections) annotated with ground-truth diagnoses by senior SREs, alongside an auxiliary 57-case release-interception benchmark. Due to confidentiality, production records are not publicly released.

Key Insights and Ideas

  • Proactive beats reactive: Putting release interception and routine inspection ahead of alerting turns post-alert root cause analysis into a fallback rather than the default, preventing pager fatigue before it starts.
  • Data-routing should be an LLM-managed artifact: In fast-moving systems, static RAG pipelines rot quickly. Letting the LLM write and update its own data-fetching schemas—steerable by human chat—makes context assembly sustainable. In a 13-day live test, a "frozen" version of the system watched its accuracy rot from ~75% down to 32% as the codebase evolved, while the feedback-enabled system stayed near or above 80%.
  • Knowledge and Skills co-evolve: Ablations revealed that freezing Skills drops pass@5 accuracy by 10.5 percentage points, and removing historical knowledge drops it by 7.7 points. Better Skills yield cleaner case logs, which distill into sharper domain knowledge for future Skills.

Key Results

In its six-month production rollout on the e-commerce search engine, Bian Que delivered major quality-of-life wins for on-call engineers:

Table 2: Online production deployment over a six-month window, comparing the month preceding rollout with the six-month post-rollout period.
  • Pager relief: Human-facing alert volume dropped by 75%, and non-actionable "noise" alerts plummeted by ~95% overall.
  • Fast, accurate diagnosis: Achieved 80% Root Cause Analysis (RCA) accuracy, returning structured diagnoses within 5 minutes 95% of the time and cutting Mean Time to Resolution (MTTR) by over 50%.
  • Offline benchmark: On the 104-case benchmark, autonomous Skill initialization hit 78.8% pass@1 and 94.2% pass@5 (98/104 cases). With up to three rounds of natural-language SRE hints on the remaining six failures, cumulative accuracy reached 99.0% (103/104).

Limitations and Future Work

  • No semantic gate for prompt edits: While changes to data schemas are automatically tested for execution errors, prompt-only updates lack an automated semantic-correctness check and rely on senior SRE review, with no automatic version rollback.
  • Human-in-the-loop dependencies & bias: Bian Que intentionally does not execute automated remediations (and never suppresses critical P0 alerts) to prevent catastrophic misfires. Additionally, in live operations, rotating SREs both correct and evaluate the agent, which can introduce evaluation bias despite weekly audits.
  • Unquantified long-term compounding: While the authors qualitatively observed Skills and knowledge reinforcing each other over six months, rigorously measuring this long-term compounding effect is left for future work.

Summary updated

BibTeX
@inproceedings{liu2026bian,
  author = {bochao liu and Zhipeng Qian and yang zhao and Xinyuan Jiang and Zihan Liang and Yufei Ma and Junpeng Zhuang and Ben Chen and Shuo Yang and Hongen Wan and Yao Wu and Chenyi Lei},
  title = {{Bian Que: An Agentic Framework with Flexible Skill Arrangement for Online System Operations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xMMvkvcwPM},
}
Figure