Enterprise Device-Cloud Collaborative Agent Platform: Architecture and Practice
This article examines why desktop agents in enterprise environments benefit from device-cloud collaboration and presents an architecture that combines controlled endpoint execution with centralized cloud orchestration and governance. It covers design principles, a four-layer platform architecture, key environment and security configuration, a cross-system weekly report scenario, and validation and evolution considerations. Readers will learn how to balance local context access, data boundaries, auditability, and scalable agent operations in an enterprise Agent platform.
Enterprise Device-Cloud Collaborative Agent Platform: Architecture and Practice
1. Background: Why Enterprise Agents Need Device-Cloud Collaboration
Desktop agents have natural advantages in enterprise scenarios. They can provide a unified natural language entry point, connect to office automation, instant messaging, business management, and knowledge base systems, and use local files, the clipboard, and desktop tools to understand context. For lightweight process orchestration, human-agent collaboration, and local tool invocation, desktop agents are often closer to how employees actually work.
However, once desktop agents enter enterprise production environments, they expose a set of practical shortcomings. First, if they rely heavily on downstream systems exposing APIs, interface permissions, data boundaries, and security auditing become governance challenges. If they fall back to UI-layer automation, stability and maintainability are insufficient. Second, complex workflow orchestration capability is limited. Skill plugins are not universal, and long cross-system workflows still require unified scheduling. Third, shared enterprise agent assets are difficult to operate consistently, including authorization, usage, versions, canary releases, and auditing. Fourth, desktop environments struggle to meet requirements for 24/7 resident operation, scheduled triggers, and event-driven tasks.
Pure cloud agent platforms also have gaps. A large amount of employee work documentation, desktop tools, and local context remains on the endpoint. A pure cloud platform cannot directly reach these resources. Forcing uploads introduces data egress, compliance, and experience costs. Therefore, the more feasible path is not an either-or choice but a device-cloud collaborative architecture: controlled endpoint execution plus unified cloud orchestration and governance. The endpoint handles local context close to the user, tool invocation, and human confirmation. The cloud handles task orchestration, asset governance, model routing, auditing, and observability.
2. Overall Design Principles
A device-cloud collaborative platform should follow five principles.
- Controlled endpoint execution: The desktop agent only executes tasks that have been signed and policy-validated by the cloud. Local sensitive data does not leave the domain by default. When necessary, only desensitized summaries are uploaded.
- Unified cloud governance: Agents, skills, models, prompts, tool catalogs, and versions are registered in the cloud, with tenant isolation, permission control, quotas, and auditing.
- Least privilege and data classification: Data levels determine whether data is processed locally, uploaded after desensitization, or prohibited from upload. Device trust, task signing, and sandbox execution together form the endpoint security boundary.
- Standardized interoperability: Capability descriptions, task protocols, and event callbacks reduce device-cloud coupling and avoid binding the platform to a single implementation.
- Observability and evolvability: Task chains, endpoint execution, model calls, and tool calls should all have unified trace identifiers, supporting failure retry, resume from checkpoints, and canary rollback.
3. Layered Architecture
The overall architecture can be divided into four layers.
Controlled endpoint desktop agent layer: This layer handles device registration, policy synchronization, local file summarization, desktop tool invocation, human confirmation, offline caching, and execution sandboxing. It does not directly hold long-term high-privilege credentials. Instead, it obtains limited capabilities through short-lived tokens and task signatures.
Cloud control plane: This includes task orchestration, session snapshots, agent registration, skill and tool catalogs, model routing, tenants and permissions, auditing, quotas, and version management. The control plane decides who executes what task under what permissions, but it does not directly access raw sensitive endpoint data.
Execution plane: Containerized workloads carry long-running tasks, scheduled tasks, and event-triggered tasks. This layer uses general cloud capabilities such as message queues, object storage, logging, and monitoring and alerting. For cloud infrastructure, enterprises can use general categories such as containers, object storage, message queues, logging, and monitoring offered by Baidu AI Cloud, or replace them with their existing cloud environment. Specific selection should follow compliance and cost requirements.
Interoperability and asset layer: Standardized agent interoperability protocols and application packaging specifications describe capabilities, inputs and outputs, and events. This layer supports versions, canary releases, usage metering, and asset reuse. It is key to moving device-cloud collaboration from project-based integration to platform-based operations.
The following illustrative configuration expresses only the structure and is not bound to a specific implementation:
platform:desktop_agent:enrollment: controlled enrollmentpolicy: least privilege and data classificationexecution: local sandbox and human confirmationcloud_control:orchestrator: task orchestration and state machinesession: session snapshot and resumecatalog: agent/skill/tool catalogobservability:trace: unified trace identifieraudit: operation and data access audit
4. Environment Preparation and Key Configuration
Environment preparation should start small and expand gradually. Resources should be divided into control plane, execution plane, storage, and observability domains. On the endpoint, prepare installation packages, device registration processes, and policy delivery channels. For networking, prefer outbound endpoint connections to reduce inbound exposure, and use general transport security mechanisms to protect channels.
For identity and permissions, it is recommended to integrate a unified identity source and implement tenant isolation and role-based access control. Devices require trusted registration, and tasks require signature verification. High-risk tool calls should introduce human approval. For data, establish classification labels and define rules for local processing, desensitized upload, and prohibited upload.
5. Scenario Implementation: Cross-System Data Aggregation and Scheduled Reports
Consider weekly report generation using local documents, a cloud knowledge base, and business systems. After a user initiates a task, the cloud orchestrator creates a task and session snapshot. The endpoint agent collects local file summaries within the authorized scope and desensitizes them. The cloud combines the knowledge base and models to generate a draft. The endpoint displays the draft and requests human confirmation. After confirmation, the endpoint performs writes, uploads, or notifications and returns results and audit events to the cloud.
This scenario validates session continuation, resume from checkpoints, human approval, scheduled triggers, and failure retry. The task state machine can be abstracted as pending scheduling, endpoint execution, cloud generation, pending confirmation, and completed or failed. Each state records a trace identifier, permission decision, and data level.
6. Capability Validation and Evolution Directions
The validation checklist should cover four categories: functionality, security, observability, and operations. It should verify whether cross-device sessions are continuous, whether scheduled tasks are reliable, whether approvals are traceable, whether sensitive data is controlled, whether logs and metrics are complete, and whether versions can be canaried and rolled back. Observability metrics include task success rate, queue backlog, endpoint execution latency, and approval wait time, but no unverified performance commitments should be assumed.
Device-cloud collaboration still faces challenges such as protocol maturity, endpoint environment compatibility, application ecosystems, and governance standards. Enterprises should start with low-risk scenarios that have strong governance requirements, establish a closed loop of controlled endpoint execution and unified cloud auditing, and then gradually expand to complex orchestration and asset operations. Device-cloud collaboration is not simple layering. It is an enterprise Agent platform architecture choice constrained by governance and aimed at experience.
