@Ryrenz: Alibaba Cloud turned enterprise Agent implementation into a book — ai-agent-handbook, available free in both Chinese and English. Open for just over a month, it's already racked up 1647 stars and 242 forks on GitHub. The hardest part of building Agents in the enterprise was never getting a demo to work — it's everything after that.

X AI KOLs Timeline News

Summary

Alibaba Cloud has open-sourced the AI Agent Handbook, an enterprise Agent implementation whitepaper available free in both Chinese and English. It covers architecture, building, running, governance, tuning, and real-world enterprise case studies, and has already gained 1647 stars and 242 forks in just over a month.

📕 Alibaba Cloud turned the story of how to implement enterprise-level Agents into a book — ai-agent-handbook, available free in both Chinese and English. Open for just over a month, it has already accumulated 1647 stars and 242 forks on GitHub — that's a fast climb. The hardest part of building Agents in the enterprise was never getting a demo to run; it's everything after it works: how to layer the architecture, how to govern it in production, who manages permissions and risk, and where to tune when performance falls short. This kind of know-how usually sits scattered across internal docs and is invisible to the outside world. ai-agent-handbook organizes it into a 30-chapter system, covering everything from architecture, building, and running to governance and tuning. The most worthwhile section is the practices chapter, with cases drawn from real scenarios in R&D productivity, design engineering, operations security and enterprise IT, customer sales and operations. The companies and products named include Geely Auto, Tastien, Chanjet, MiniMax, ShineWing, Bilibili, and PolarDB-X. The authors come from multiple Alibaba Cloud internal teams, each taking ownership of their chapter. The online site includes chapter navigation, Chinese search, zoomable diagrams, and reading position memory — it reads smoothly as a documentation site. The project team says they'll keep maintaining it and plan to add more enterprise case studies and cloud-based experiences. What paid courses often teach is exactly this — this time it's all laid out in the open. GitHub:
Original Article
View Cached Full Text

Cached at: 10/17/26, 10:55 AM

📕 Alibaba Cloud has turned its approach to implementing enterprise-grade Agents into a book — ai-agent-handbook, available for free in both Chinese and English.

In just over a month, it’s already racked up 1,647 stars and 242 forks on GitHub. That’s some serious momentum.

The hardest part of building Agents in an enterprise has never been getting a demo working — it’s everything that comes after: how to layer the architecture, how to govern in production, who owns permissions and risk, and where to turn when performance falls short. This kind of experience is normally buried in internal docs across companies and invisible from the outside. ai-agent-handbook brings it together into a 30-chapter system, covering architecture, building, running, governance, and optimization.

The most worth-reading part is the case studies, drawn from real-world scenarios in R&D productivity, design engineering, operations, security and enterprise IT, and customer sales and operations. The named companies and products include Geely, Tastien, Chanjet, MiniMax, ShineWing, Bilibili, and PolarDB-X. The contributors come from multiple teams across Alibaba Cloud, each owning their own sections. The online site offers chapter navigation, Chinese search, zoomable diagrams, and reading position memory — it works quite smoothly as a doc reader. The project team says they’ll keep maintaining it, with more enterprise cases and cloud-based hands-on experiences to come.

What paid courses often teach is exactly this kind of content — now it’s all laid out in the open.

GitHub:


aliyun/ai-agent-handbook

Source: https://github.com/aliyun/ai-agent-handbook

AI Agent Handbook

中文 | English

Organized around the Agent lifecycle — architecture, building, running, governance, and optimization — this handbook distills our practical experience from implementing enterprise-grade Agents. If this whitepaper can help even a little with individual learning or enterprise Agent adoption, it would be our greatest honor.

This project is dedicated to all the fellow travelers contributing to AI.

Read online (https://aliyun.github.io/ai-agent-handbook/) · Full table of contents · Reading guide

The reading site provides chapter navigation, Chinese search, zoomable diagrams and images, light/dark themes, and reading position memory. For local preview, use Node.js 22 to run npm ci and npm run dev. For site maintenance and GitHub Pages deployment, see the maintenance guide (https://github.com/aliyun/ai-agent-handbook/blob/main/WEBSITE.md).


1. Whitepaper Structure and Writing Background

In September 2025, we released the AI-Native Application Architecture Whitepaper (https://developer.aliyun.com/ebook/8479), covering the full DevOps lifecycle of AI-native applications — from architecture design and technology selection to engineering practices and operations optimization — systematically breaking down concepts, key points, and challenges, while attempting to offer some solutions. However, as models and agent technology have evolved rapidly, we’ve noticed that market focus has shifted from simply building agents quickly to three major new challenges:

  • Engineering challenge: From probabilistic intelligence to reliable productivity — Agents taking on critical tasks.
  • Scale challenge: Stability, security, performance, cost — from single-point experiments to intelligent infrastructure deployable at scale.
  • Organizational challenge: From Agent silos to intelligent organizations — Agents embedded into core business processes.

Last year’s whitepaper clearly couldn’t address these new demands.

So we restructured the whitepaper’s architecture, hoping that more up-to-date content, a higher proportion of hands-on practice, and a more community-driven collaboration model would provide a reference for enterprise technology selection and internal project approval — and that maintaining it as an open-source project would allow us to continuously present the latest thinking and implementation practices in AI-native application architecture.

2. Target Readers and What You’ll Gain

This whitepaper primarily targets enterprise-grade Agent building and adoption scenarios. It’s suitable both for engineers focused on Agent development and for internal enterprise technology selection, architecture reviews, project approvals, and cross-team alignment.

ReaderRecommended FocusWhat You’ll Gain
Agent / AI application developersBuild, Run, Optimize sectionsMaster core engineering methods including Harness, context, state, tools, sandboxes, trajectories, and evaluation loops.
Architects and platform engineersArchitecture, Run, Governance sectionsBuild a complete architectural view spanning components, platform responsibilities, and the full lifecycle — and design scalable Agent infrastructure.
Technology leads and R&D managersArchitecture, Governance, Practice sectionsAssess application form, maturity, investment boundaries, and production risks to support selection, project approval, and organizational alignment.
Product and business leadersSurvey report, Architecture, Practice sectionsUnderstand which tasks suit Agents, where the boundary between human and Agent responsibilities lies, and what it takes to move from pilot to core processes.
Security, quality, and operations personnelRun, Governance, Optimize sectionsEstablish observability, auditing, security authorization, pre-release validation, continuous evaluation, and failure attribution mechanisms.
Researchers and ecosystem contributorsFull book and Practice sectionLearn about real-world enterprise problems, engineering abstractions, and open questions — and help build out the industry’s shared knowledge base.

After reading the full handbook, you will be able to:

  • Choose the minimally sufficient Agent architecture based on business goals, task determinism, and risk;
  • Understand the responsibility boundary between Model and Harness, and stop attributing every problem to model capability;
  • Design Agent task systems that can progress sustainably, be interrupted and resumed, and have verifiable completion;
  • Build a foundation for Agents covering execution environments, state, traffic, permissions, observability, and cost governance;
  • Use Traces, Trajectories, golden datasets, and evaluation experiments to create a continuous-improvement data flywheel;
  • Map methods to real-world scenarios like R&D productivity, design, operations, enterprise IT, and customer operations.

3. Reading Guide

Table of Contents Structure

SectionTable of ContentsChapter RangeFocus
2026 Agent Developer Survey ReportRoot directory—Current state of enterprise Agent development, productionization, architecture selection, toolchains, governance, and evaluation.
Preface00-preface/—Whitepaper structure and background.
Architecture01-architecture/Chapters 1–2Define the subject, determine the form, choose maturity, and establish a reference architecture.
Build02-build/Chapters 3–6With Harness at the core, organize tasks, information, and actions.
Run03-run/Chapters 7–12From stable single-Agent operation to asynchronous, multi-agent, and distributed communication.
Governance04-governance/Chapters 13–16Make operations visible, behaviors bounded, assets manageable, and releases verifiable.
Optimization05-optimization/Chapters 17–24Build a continuous optimization loop along two tracks: model and Agent.
Case Studies06-case-study/Chapters 25–29, Jev featureEnterprise practices, vertical scenarios, cutting-edge Agent Infra exploration, and structured decision-making.
Conclusion and Outlook07-conclusion/Chapter 30From Agentic Application to Agentic OS.

Chapter Navigation

SectionChapterCore Content
ArchitectureChapter 1: A New Stage of AI-Native ApplicationsApplication form evolution, definition and boundaries of Agentic Applications, and enterprise maturity assessment.
ArchitectureChapter 2: Agentic Application Reference ArchitectureComponent view, platform responsibilities, lifecycle view, and how architecture translates from decision-making to operation and improvement.
BuildChapter 3: Paradigm — Mainstream Harness Construction Approaches and Responsibility BoundariesHigh-code frameworks, productized Harnesses, Managed Agents, Agent cloud products, and platform responsibilities.
BuildChapter 4: Tasks — Orchestration, Long-Running Progression, and Collaborative FlowAgent Loop, task state machines, planning, phase gates, delegation, async continuation, and completion evidence.
BuildChapter 5: Information — Context, State, and Reusable Capability AssetsContext Builder, compression and offloading, Session, Task State, Workspace, Memory, Knowledge, and Skills.
BuildChapter 6: Actions — Controlled Execution, Verification Feedback, and Delivery ReadinessAction Plane, Function Calling, MCP, A2A, environment contracts, permissions, HITL, and verification loops.
RunChapter 7: Agent Runtime and SandboxesSandboxes, Agent Runtime, workspaces, environment lifecycle, and production operating conditions.
RunChapter 8: Agent State Storage and Semantic AssetsEvent Logs, Checkpoints, workspace snapshots, Artifacts, long-term memory, RAG, and business semantics.
RunChapter 9: AI Gateway and Unified Traffic GovernanceIdentity, permissions, budgets, routing, auditing, and approval across three traffic types: LLM, MCP, and Agent.
RunChapter 10: Agent Asynchronous Tasks and Automation WorkflowsSync/async boundaries, task completion semantics, scheduled tasks, long-running tasks, and automated workflows.
RunChapter 11: Multi-Agent Collaboration and OrchestrationHeterogeneous Agent integration, team topologies, task dispatch, result aggregation, and orchestration responsibilities.
RunChapter 12: Agent Distributed CommunicationCommunication protocols and message governance for capability plane, collaboration plane, intrinsic plane, and human-machine plane.
GovernanceChapter 13: Agent ObservabilityMetrics, logs, Traces, events, cost attribution, and auditing.
GovernanceChapter 14: Agent SecurityPrompt Injection, identity authentication, per-invocation validation, high-risk authorization, and data egress protection.
GovernanceChapter 15: Discovery and Management of AI AssetsRegistration, versioning, discovery, dependency, and release management for Prompts, Skills, MCPs, and Agents.
GovernanceChapter 16: Agent Behavior Generation and Quality VerificationUser simulation, environment simulation, scenario configuration, and pre-release Agent Simulation.
OptimizationChapter 17: Model OptimizationAttribution criteria for model problems, SFT, Agentic RL, model distillation, and release acceptance.
OptimizationChapter 18: Agent Optimization OverviewAgent optimization targets, method boundaries, and the full data flywheel landscape.
OptimizationChapter 19: Agent Trajectory DataFrom Trace to Trajectory — organizing reusable behavioral and decision evidence.
OptimizationChapter 20: Agent Runtime Data ProcessingRuntime data collection, cleaning, processing, and declarative data pipelines.
OptimizationChapter 21: Agent Golden DatasetsBuilding high-quality evaluation data assets with inputs, trajectories, results, and criteria.
OptimizationChapter 22: Agent Optimization: Bad CasesBad case discovery, attribution, remediation, regression, and experimental verification.
OptimizationChapter 23: Controlled Self-EvolutionTurning effective experience into Memory, Skills, tools, and runtime mechanisms — while controlling self-evolution risk.
OptimizationChapter 24: Agent Edge Runtime and Global OptimizationEdge runtimes, edge evaluation, performance cost, content distribution, security, and simulation.
Case StudiesChapter 25: R&D ProductivityCode review, defect detection, patch delivery, R&D collaboration, and end-to-end delivery practices.
Case StudiesChapter 26: Design EngineeringVibe Designing and GenUI design paradigms and engineering practices.
Case StudiesChapter 27: Operations, Security, and Enterprise ITLarge-scale intelligent operations practices across automotive, chain retail, and enterprise software.
Case StudiesChapter 28: Customer, Sales, and OperationsLong-cycle memory, content insights, office productivity, and Data Agent practices.
Case StudiesChapter 29: GOAI Agent Infra Track — Frontier Exploration of Multi-Agent CollaborationOutstanding entries from the World AI Open Competition and multi-domain Agent Infra exploration.
Case StudiesJev Feature: Structured Decision-Making in PracticeJev model analysis, interface examples, and reusable decision patterns.
Conclusion and OutlookChapter 30: From Agentic Application to Agentic OSFrom individual applications to collaborative, governable, and continuously evolving intelligent systems.

Case Study Navigation

ChapterCase
Chapter 25: R&D ProductivityABACI Kernel Patch Targeted Testing and Defect Detection Agent
Chapter 25: R&D ProductivityKitta: Domain-Specific Code Review Agent
Chapter 25: R&D ProductivityPatchPilot Agents: Making Kernel Patch Delivery an Orchestrable, Verifiable Engineering Loop
Chapter 25: R&D ProductivityFrom Alerts to Automated Fixes: PolarDB-X’s Loop Engineering Practice
Chapter 25: R&D ProductivityFrom Coding Efficiency to End-to-End Delivery: Human-Agent Collaboration in Cloud Communications
Chapter 25: R&D ProductivityFrom Evaluation-Driven to End-to-End Delivery: AI Agent Security Product R&D Productivity Practice
Chapter 25: R&D ProductivityMulti-Agent Dev Squads: How AI-Assisted Development Moves from Writing Code to End-to-End Delivery
Chapter 26: Design EngineeringGenUI: Taking Agents from Giving Answers to Delivering Results
Chapter 26: Design EngineeringVibe Designing: The Evolution of Intent-Driven AI Design
Chapter 27: Operations, Security, and Enterprise ITGeely Intelligent Operations Implementation Practice
Chapter 27: Operations, Security, and Enterprise ITTastien’s 10,000-Store Chain Intelligent Operations Loop Practice
Chapter 27: Operations, Security, and Enterprise ITChanjet’s Observability and Intelligent Operations Practice
Chapter 28: Customer, Sales, and OperationsMiniMax’s Practice Building a Massive Long-Cycle Memory Data Foundation
Chapter 28: Customer, Sales, and OperationsShineWing Accounting Firm’s Office Productivity Exploration
Chapter 28: Customer, Sales, and OperationsBilibili’s Practice Building Full-Domain Content Insights
Chapter 28: Customer, Sales, and OperationsOperational Analytics Data Agent Practice
Jev FeatureDeep Dive into the Jev Model: How to Make Structured Decisions Quickly
Jev FeatureHiRoute: Jev Model Intelligent Routing Practice

Recommended Reading Paths

  • First systematic introduction to enterprise Agents: Survey report → Chapters 1–2 → Chapters 3–6 → Chapters 13–16.
  • Currently putting Agents into production: Chapters 7–9 → Chapters 13–14 → Chapters 18–23.
  • Currently building multi-agent systems: Chapters 4–6 → Chapters 10–12 → Chapters 13, 16.
  • Responsible for evaluation and continuous optimization: Chapter 13 → Chapters 18–23 → relevant domain case studies.
  • Responsible for technology selection or project approval: Survey report → Chapters 1–3 → Case Studies → Chapter 30.

4. Roadmap

The whitepaper will be maintained as an open project rather than being sealed after its initial release. Key focus areas ahead:

  • Expanding enterprise case studies: Adding more frontline cases from R&D, operations, customer service, data, security, finance, and industry verticals — covering success paths, architecture trade-offs, and real failure patterns.
  • Adding cloud resource hands-on experiences: Designing reproducible cloud-based experience flows around key capabilities like sandboxes, Runtime, AI Gateway, state storage, observability, and evaluation — taking readers from reading to hands-on verification.
  • Continuously improving governance content: Following enterprise-critical topics including identity and permissions, Prompt Injection defense, data egress, auditing, asset registration, version governance, and pre-release simulation.
  • Continuously improving the evaluation system: Adding methods and cases for task success rate, trajectory evaluation, LLM-as-Judge, golden datasets, bad-case regression, online experiments, and cost-quality trade-offs.
  • Tracking technology evolution: Continuously absorbing new advances in models, Harnesses, protocols, runtimes, multi-agent systems, and Agentic OS — and promptly correcting judgments that no longer hold.
  • Building community collaboration mechanisms: Gradually refining content guidelines, case templates, glossaries, proofreading processes, and version release practices to lower the barrier to high-quality contributions.

Contributions Welcome

Developers, architects, researchers, enterprise technology teams, and product practitioners are all welcome to contribute. You can:

  • Submit Issues pointing out factual errors, ambiguous concepts, broken links, or topics needing coverage;
  • Submit Pull Requests to improve chapters, correct content, optimize diagrams, or add references;
  • Share desensitized enterprise practices, post-mortems, evaluation methods, and architecture trade-offs;
  • Provide reproducible code, cloud resource experience flows, datasets, or experiment plans;
  • Help with terminology alignment, technical review, case review, and content translation.

Contributions should respect originality and licensing boundaries. For content involving enterprise data, customer information, internal systems, or security details, please complete necessary desensitization and obtain permission first.

5. Contributors

Thanks to all contributors who participated in architecture design, chapter writing, case compilation, and content review.

Alibaba Cloud

Contribution AreaContributors
PrefaceMa Peng
Developer Survey ReportRen Juan, Wang Chen
ArchitectureWang Chen, Liu Jun, Shen Lin
BuildLiu Jun, Pan Shengwei, Wang Chen
RunZhao Qingjie, Li Shibo, Lin Qingshan, Huang Xiaomeng, Zhang Tianyi, Zhao Yuanxiao, Sun Xiao, Song Zhen, Hu Qingda, Liu Zunfei, Zhu Tong, Yu Huafeng, Luo Xin, Kong Keqing
GovernanceXiao Changjun, Zhou Yang, Zhang Lei, Wang Fang, Zhang Haibin, Cheng Shuyi, Liu Ziming, Rao Zihao, Ren Yi, Yang Yong, Wang Shuo, Ma Xin, Liu Yuxuan, Yang Yi
OptimizationZhang Hanmeng, Li Shengrong, Wang Yaning, Sun Jianyun, Ma Yunlei, Wang Zhen, Zheng Qianyi, Liu Hang, Chen Xin
Case StudiesYang Tao, Zhu Yan, Yu Ailin, Hu Jun, Jiang Jian, Zhang Tianyi, Zhao Bin, Zhou Yuanhang
Conclusion and OutlookLin Yan

External Contributors

The project remains open to community contributions. Developers, architects, researchers, enterprise technology teams, and product practitioners are welcome to participate through Issues or Pull Requests. Once contributions are accepted, contributor information will be added to this section.


If this whitepaper helps you better understand, build, run, govern, and optimize Agents, please share it, discuss it, and join us in building it together.

Similar Articles

@shao__meng: Alibaba Cloud Open-Sources the 'AI Agent Handbook': Using the Harness to Take Enterprise Agents from Pilot to Governed Production — A Practical Guide to the Full Agent Lifecycle: Architecture, Build, Run, Govern, Tune, Plus Research Data and Case Studies. Open-source repo: https://github…

X AI KOLs Timeline

Alibaba Cloud has open-sourced the 'AI Agent Handbook', a practical guide to the full enterprise Agent lifecycle covering architecture, building, running, governance, and tuning. It includes 2026 Agent developer survey data, highlighting the key challenges and engineering practices for moving enterprise Agents from pilots to governed production.

@Xudong07452910: Free Open-Source Book Recommendation: 'How to Build a 7×24 AI Agent from Scratch' This book deeply deconstructs a real AI digital employee platform with 300,000 lines of code, systematically explaining: - Agent Engine & Context Engineering - Digital Human Protocol - AI Browser Implementation - Production-Grade Scheduling System - 7×24 Stable...

X AI KOLs Timeline

Recommends a free open-source technical book 'How to Build a 7×24 AI Agent from Scratch', systematically explaining AI Agent engine, digital human protocol, AI browser, production-grade scheduling and other practical content, based on the real 300,000-line open-source project Halo, and written in a human-machine collaboration manner.

@Huahuazo: Now the AI Agent concept is everywhere, but when it comes to actually implementing complex business scenarios, a bunch of hard problems pop up—how to set up the architecture, how to manage memory, how to coordinate multiple agents without them stepping on each other's toes. The more you write, the messier it gets, and the code ends up like a pot of porridge, let alone deploying it. Then I came across an open-source book called Agentic D…

X AI KOLs Timeline

This is an open-source book called 'Agentic Design Patterns', providing 21 chapters and 7 appendices, systematically explaining AI Agent design patterns, covering from basics to enterprise production environments, with each chapter accompanied by Jupyter Notebook practices.

@sunmer575399: For those in AI, you should check out awesome-llm-apps. Not because of the 118.2k stars, but because it solves core problems cleanly. Over 100 AI Agent and RAG applications, each runnable directly... Yesterday, I cloned a customer service bot, configured the API key, and was chatting in no time...

X AI KOLs Timeline

awesome-llm-apps is an open-source GitHub repository containing over 100 AI Agent and RAG applications, covering various AI scenarios such as PDF Q&A, online search, and multi-Agent collaboration. Developers can easily clone and run these applications, saving time from building from scratch.

@Xudong07452910: Open-source framework recommendation: Agency Agents — 232 professional AI agents, divided by function, covering 16 business departments. If you've used Claude Code or Codex, you may have encountered this problem: AI is very capable at coding tasks, but when it comes to front-end design, writing marketing...

X AI KOLs Timeline

Agency Agents is an open-source framework providing 232 professional AI agents covering 16 business departments. Each agent has a unique personality, communication style, and delivery standards. It supports multiple development tools such as Claude Code, GitHub Copilot, and has community-translated versions.