Skip to content

Checking your reading list…

Retry verification

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

How Yidian Tianxia Built a Multi-Agent Ops System with Alibaba Cloud AgentCore to Transform Global Ad Operations
Cloud Native 21 min read

How Yidian Tianxia Built a Multi-Agent Ops System with Alibaba Cloud AgentCore to Transform Global Ad Operations

Yidian Tianxia shares its journey from individual AI-assisted troubleshooting to an organizational multi-agent operations platform built on Alibaba Cloud AgentCore, detailing a three-layer architecture (unified data, Leader/Worker agent collaboration, audit & self-evolution), concrete efficiency gains of 68-87%, and a six-step evaluation flywheel that lifted success rates from 7.1% to 36.1%.

Background: Global Ad Business Challenges

Yidian Tianxia, a marketing technology company serving 10,000+ overseas brands across 600,000+ media outlets, runs a global advertising business with two lines: integrated marketing services and programmatic ad platforms. Their infrastructure faces four core challenges: (1) massive scale — millions of daily QPS with large traffic spikes requiring high elasticity; (2) strong inter-service dependencies — SSP, DSP, and ADX systems frequently redirect traffic, increasing complexity; (3) global deployment — multi-region, cross-timezone 7×24 operations where latency and jitter directly affect bidding success; (4) cost sensitivity — advertising margins demand low cost while maintaining stability.

Early AI Adoption & Limitations

The team experimented with AI early, starting with log-paste Q&A, then evolving to AI Chat (conversational diagnosis with human command execution) by 2024, and heavily adopting personal agents like OpenClaw in H1 2025. Agents could execute commands and proactively explore root causes, yielding 68–87% efficiency gains across four high-frequency scenarios. A concrete example: an Aerospike cluster crash (HPA scaled to 40/40, CA added 80+ nodes) appeared as a cluster avalanche; AI pinpointed a single-node connection pool exhaustion in 8 minutes versus 40 minutes for manual baseline analysis.

However, four systemic problems emerged: (1) Individual variance — same agent version/model produced wildly different results across engineers; (2) Guardrails unenforceable — policies like "no write operations" or "no AK exposure" were impossible to govern when everyone ran personal agents; (3) No organizational reshaping — humans remained the bottleneck in incident response; (4) Unreliable quality — even top performers saw output drift over time due to skill proliferation or model changes, while production ops demand deterministic, stable quality.

Multi-Agent Architecture on AgentCore

Yidian Tianxia selected Alibaba Cloud AgentCore after evaluating vendor, open-source, and self-build options because its framework covered all required ops capabilities. They built a closed-loop architecture with three layers:

Data Layer (Unified Data Foundation)

Integrates CloudMonitor 2.0 (metrics, traces, entities, topology, events), SLS (logs & analysis), CMDB (resources & topology), and internal systems via MCP-standardized calls. This ensures every agent sees consistent, authoritative data — no "10 servers today, 8 tomorrow" or divergent query results.

Unified Intelligence Entrance (Collaborative Execution)

Leader Agent orchestrates: intent recognition, scene routing, task scheduling, multi-agent collaboration, and result aggregation. It delegates to specialized Worker Agents — Container-RCA Agent, Troubleshooting Agent, DB-Agent, STAROps Agent — each with independent "Knowledge + Experience + Skill/MCP" bundles (business knowledge bases, historical traces, success/failure recovery strategies, read-only DB queries, log retrieval, K8s diagnostics, build platform tools). AgentLoop records traces, builds datasets, evaluates quality, and regresses BadCases. Skills and CMS/Inner MCP Servers provide AI-native entry points with unified management and security scanning.

Agent Audit & Self-Evolution

Combines Agent observability and AgentLoop to record call chains, sessions, tokens, and execution trajectories. Identifies security risks and drives self-evolution via evaluation experiments. Memory and knowledge are stored in ContextDB.

One-sentence summary: "Leader owns process & guardrails; Workers own domain diagnosis; independent knowledge reduces crosstalk; quality gates ensure trustworthy answers."

Multi-Agent Ticket Processing Pipeline

Business issues enter via natural language, tickets, or IM bots (e.g., "build failed, dependency download timeout"). Common types: databases (MySQL/PG/Redis/MongoDB/Aerospike/Cassandra), builds (logs/dependencies/pipelines), containers (K8s/Pod/node/network), Alibaba Cloud ops (common issue analysis/long-term inspection). The five-step flow:

Business Entry — no need to know which team to contact.

Leader Agent Triage — identifies domain, selects SOP, dispatches & collaborates, aggregates evidence, enforces guardrails (no overreach, no SOP skipping, no conclusions without evidence, no direct expert diagnosis).

Worker Agent Team — Database, Build, Container, STAROps agents handle respective domains. Each combines knowledge base, historical traces, recovery strategies, and tools. AgentLoop records traces, builds datasets, evaluates, regresses BadCases.

Quality Gate & Response — Leader verifies SOP completion, evidence completeness, conclusion-evidence consistency, permission/risk acceptability before release.

Human Intervention — Pass: auto-reply with conclusion, evidence, suggestions, next steps. Fail: request more info, avoid evidence-free answers. Non-deterministic overreach always escalates to human.

AgentCore solves three engineering challenges in multi-agent collaboration: (1) inter-agent auth (credentials for Container↔DB agent comms, expiry handling); (2) heartbeat monitoring for variable task durations, auto-reassign on failure; (3) Worker isolation and long/short task communication.

STAROps & CloudMonitor 2.0: Intelligent Sessions & Long-Running Task Closure

Unified data layer is foundational. Multi-cloud, multi-account, multi-region metrics must be centrally aggregated, not pulled ad-hoc by agents. Example: ECS metric onboarding. Traditional console/API approach is error-prone and laborious. Using STAROps intelligent sessions, they batch-onboarded 30+ customer accounts' specified metrics. New ECS instances auto-register via tags on managed Prometheus. New cloud accounts: one STAROps conversation completes per-Region collection, multi-Region aggregation (Americas→Virginia, SEA→Singapore, Europe→Frankfurt), unified delivery to Alibaba Cloud Singapore Region Prometheus. Agents then run automatically from first initialization onward, producing unified monitoring data for downstream agent consumption.

Self-Evolution Flywheel: Making Every Ops Run the Next Best Practice

AgentLoop drives a six-step flywheel:

Observe Traces — collect model, tool, error, recovery, final result.

Clean Trajectories — denoise to standard trajectories (4–6% of raw trace volume).

Experience Mining — extract success paths, anti-patterns, parameter rules, recovery strategies.

Evaluation Gate — verify via success rate, stability, unit success cost; valid experiences enter store.

On-Demand Recall — inject minimal experiences keyed by goal, object, tool, progress, error state.

Better Execution — fewer detours at critical nodes; new traces feed next cycle.

Experience Store holds "how-to" methodology (not raw logs or business knowledge), doesn't modify model weights, supports fast update/scope limit/offline. Covers six real SRE scenarios: cost analysis, capacity inspection, gateway self-check, proactive notification, root-cause analysis, daily work. Reference experiment: accuracy rose from 7.1% to 36.1%, token usage dropped 6.8%, shifting from "occasionally right" to "stably production-ready" — higher average quality, raised floor, lower variance, lower unit success cost.

Agent Observability & Security Audit

Security is non-negotiable in ops. Beyond AgentCore's pre-checks (e.g., Skill pre-scan), they integrated an Agent Security Center with continuous pre/during/post analysis. Audit chain: Application Semantics + Runtime Facts → Rule Pre-screen → Semantic Judgment → Risk Grading → Investigation & Verification, answering five questions: intent, actual action, boundary violation, affected entities, evidence location. Achieves pre-execution control + in-execution tracing + post-execution judgment, turning agent risk from "invisible" to "discoverable, sortable, investigable, verifiable."

Key principle: Rules handle deterministic judgments; models handle context-dependent semantic judgment. LoongSuite-Pilot probes collect semantic facts (Session, Model, Tool); LoongCollector eBPF probes collect behavioral facts (process, file, network). Logic rules match sensitive clues for deterministic verdicts; model semantic judgment combines task intent, Session context, authorization boundaries, execution results. Standardized audit facts with source boundaries feed unified audit pipeline, outputting typed, leveled, reasoned conclusions with hit fields & evidence locations, aggregated by entity/type/time, prioritized by level/trend/impact for anomaly & entity investigations.

Three Hard-Won Lessons

Respect Business Process — Don't lead with technology. Ask: when can we solve the first problem? What capabilities are truly needed? Engineers love "how to implement"; the critical question is "what to implement." Every agent project must start from a concrete business pain point, map the scenario, then match the tech stack. Wrong scenario = castle in the air.

Prefer Vendor Solutions Over DIY — Small teams can't DIY; mid-size teams with dev resources often want to "build for flexibility/control." But early phase spends on foundation, Loop, observability — delaying business value. Auth, audit, eval, orchestration — cloud vendors have mature products. Self-build = long-term cost; buy = speed. Save energy for business Agent & Skill design.

Continuous Operations Matter Most — Agent output quality isn't permanently stable; long tail of operations follows. Agents aren't one-off deliverables but "new hires" needing continuous training, evaluation, correction. Data drifts, models upgrade, business changes — without AgentLoop, agents slowly "degrade." Future ops roles will shift to dedicated Agent operators ensuring stable, reliable quality — "operate Agent" as a standing position.

AI-driven ops efficiency = Business Process × Digital Employees × Continuous Operations. Clarify process first, let agents truly embed in workflows not personal tools; use unified digital employee architecture (Leader orchestrates, Workers diagnose, quality gates backstop) to turn individual capability into organizational asset; run AgentLoop's eval-experiment-self-evolution flywheel continuously so every ops run becomes the next best practice. This is Yidian Tianxia's complete path to IT ops organizational efficiency and transformation.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Report an issue with this article
multi-agent systemsAIOpscloud-native monitoringorganizational transformationIT operationssecurity auditingself-evolutionAgentLoopSTAROpsAgentCore

Reader feedback

Was this useful?

Useful0

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion