Building an Enterprise-Grade Device-Cloud Collaborative Agent Platform with Open-Source Components

    This article explains why enterprise agents need a device-cloud collaborative architecture, compares the limits of desktop-only agents with the gaps of cloud-only platforms, and describes a fully open-source, self-hosted approach built on an open-source AgentOps platform plus a customized desktop client. It walks through environment setup and a "weekly report auto-generation" scenario, lists the verification points, and outlines the remaining evolution areas.

    1. Why Enterprise Agents Need Device-Cloud Collaboration

    Today’s agent products fall into two broad categories, and each has clear weaknesses.

    Limits of desktop-side agents: They excel at a unified natural-language entry point, lightweight orchestration of cross-system workflows, and local tool and context awareness. In enterprise production environments, however, several problems are hard to avoid:

    1. Security risks: They depend heavily on open APIs from downstream systems (OA, IM, ERP, and so on). If API permissions are not strictly controlled, data leakage becomes likely. Falling back to UI-layer automation trades this for weak stability and compliance.
    2. Limited orchestration: For complex multi-step workflows, they usually rely on predefined skill templates, which leaves flexibility and extensibility insufficient.
    3. No unified governance: Shared AI assets inside a company — models, knowledge bases, prompts, tools — are hard to manage consistently in terms of authorization, usage, versioning, and auditing.
    4. Cannot run persistently: Scheduled jobs and event-triggered, 24/7 unattended scenarios are not what desktop agents are built for.

    Gaps in cloud-only agent platforms: Most working documents, local tools, and intranet applications live on the endpoint. A cloud agent struggles to reach that “last mile,” so the execution chain breaks.

    For these reasons, a device-cloud collaborative architecture — a controlled desktop agent on the device plus an agent platform in the cloud — is a better fit for enterprise adoption: the cloud handles asset accumulation, workflow orchestration, governance and auditing, and persistent scheduling, while the device handles local context awareness, human interaction, and final execution.

    2. Technology Selection: Fully Open Source and Self-Hosted

    Leading vendors have already shipped closed-source, device-cloud integrated offerings, but private deployment is expensive and ecosystem lock-in is strong, which puts small and mid-sized businesses off. A more practical path is: an open-source enterprise AgentOps platform (cloud-side asset management, workflow orchestration, observability, and permission governance) plus a customized open-source desktop client (device-side task execution and local integration), forming a fully self-controlled device-cloud system.

    Core advantages of this combination:

    • Data stays in domain: The whole chain is privately deployed, so model calls, knowledge bases, and conversation data can remain inside the corporate network.
    • Controllable cost: Open source avoids expensive customization fees; you only carry infrastructure and operations costs.
    • Open ecosystem: Support for industry-standard protocols such as MCP and A2A means tool integration and multi-agent collaboration are not locked to a single vendor.

    3. Case Design and Environment Setup

    Take a typical scenario: “weekly report auto-generation”. An employee triggers it with one click on the desktop; the agent reads this week’s work records from a local document directory, combines them with templates and historical data in the cloud knowledge base, automatically drafts the report, and after the employee confirms it, writes it back to the cloud for archiving.

    Environment setup has three parts:

    1. Cloud platform: Deploy a private instance of the AgentOps platform, including the orchestration engine, knowledge base service, model gateway, and observability components. A container platform is recommended for easier elastic scaling. Example configuration:
    1. services:
    2. agent-server:
    3. image: <agentops-community-edition>
    4. environment:
    5. - DB_URL=postgresql://xxx
    6. - LLM_GATEWAY=http://llm-proxy:8080
    7. - OBSERVABILITY_ENABLED=true
    1. Desktop client: Install the customized desktop client on office endpoints, point it at the internal platform address, and complete identity authentication and device registration.
    2. Model access: Connect the company’s own models or compliant third-party LLM APIs through a unified model gateway, which centrally handles rate limiting, data masking, and call auditing.

    4. Scenario Implementation and Capability Verification

    Step 1: Prepare cloud assets. Create an enterprise knowledge base in the platform and upload report templates and writing guidelines. Then design the “weekly report generation” workflow on the orchestration canvas: document parsing → information extraction → template application → quality check → human confirmation node.

    Step 2: Trigger from the device. The employee issues the instruction through the conversation entry point of the desktop client. The client reads work documents from the specified local directory, extracts the content, and submits it to the cloud orchestration engine over an encrypted channel.

    Step 3: Write back and archive. The generated report is shown on the device for human revision; once confirmed, it is automatically archived to the cloud and the execution log is recorded.

    Verification points include: whether device-cloud session continuation is smooth, whether local file read permissions are properly controlled, whether the duration and success rate of each workflow node are observable, and whether exception scenarios (network interruption, model timeout) have fallback and retry mechanisms. The platform’s built-in Trace feature lets you inspect the input and output of each step layer by layer to locate problems quickly.

    5. Summary and Evolution Roadmap

    This solution validates the feasibility of a device-cloud collaborative architecture in enterprise settings: unified cloud governance solves asset control and persistent tasks, while controlled device-side execution closes the last-mile gap.

    There is still room to evolve:

    • Session continuation: Seamless switching between Chat and Work session modes needs polishing.
    • Standard support: Compatibility maturity for protocols such as A2A and MCP Apps needs to improve with each release.
    • Observability: End-to-end tracing and cost accounting need finer granularity.
    • Application forms: Lightweight interactive applications (Vibe Apps) need more richness and better stability.

    If you are about to build an enterprise device-cloud collaborative agent platform, start from an open-source stack, validate the architecture’s value with a minimum viable scenario, then expand gradually to cross-system workflow orchestration and multi-agent collaboration — a path that stays both self-controlled and cost-controlled.