Enterprise AI Agents: Cloud Collaboration, Code Execution, and Security
Explore how enterprise AI agents combine chat with cloud-based task execution, including rollout dependencies, persistent workflows, sandbox security, and constraints for organizations using ZDR, HIPAA-ready configurations, or customer-managed encryption keys.
Enterprise AI agents are moving from concept to production. Evaluating their practical usability requires more than assessing how smoothly an individual developer can interact with them. Enterprise deployments also depend on default configuration policies, access to underlying capabilities, sandbox security, and support for specific compliance requirements.
Using a recently introduced unified chat-and-work experience from a major AI provider as its reference point, this article examines the architecture and engineering practices behind cloud-based code execution and file processing. The provider-specific settings and lifecycle examples discussed below should not be treated as universal specifications for all enterprise AI agents.
1. Unified Collaboration: Architecture and Configuration
Traditional large language model applications often separate conversational chat from more complex operations, such as running code or processing files. Newer enterprise agent architectures bring these activities into a unified experience, allowing users to move between quick questions and cloud-based tasks within the same conversation.
From an implementation perspective, this transition requires a controlled rollout. In the enterprise deployment described here, the unified experience is initially disabled for existing organizations, with automatic enablement planned for a specified date—for example, November 16, 2026.
This gradual rollout reflects the need to maintain stability and manage transition risks in enterprise software. Administrators can see a notice about the upcoming change in the organization’s Capabilities settings and choose to enable the experience early or keep it disabled.
Enablement also has two prerequisites: cloud code execution and file creation must both be turned on. If either capability is disabled, the automatic update does not take effect. After the scheduled rollout date, the unified experience becomes available only when both prerequisites are enabled.
These dependencies ensure that an agent has the compute and file-handling capabilities required to carry out complex tasks, rather than exposing a workflow that its underlying environment cannot support.
2. Core Mechanisms: Cloud Code Execution and File Processing
The central engineering challenge is translating natural-language requests into backend computation securely and efficiently. The unified workflow has three main components.
Conversation Routing
A conversation begins in standard chat mode. Straightforward questions remain in that mode for fast responses. When the system identifies a request that requires data analysis, code execution, or complex file processing, it routes the task to an isolated cloud virtual machine while preserving the conversation.
The virtual machine runs on infrastructure managed by a cloud provider, such as Baidu AI Cloud or a comparable service. The key architectural distinction is between the conversational interface and the isolated environment that performs the computation.
Persistent Tasks and Cross-Device Access
Cloud tasks may take longer than an interactive chat response. The architecture therefore supports background execution: a task can continue even after the user shuts down their local computer.
Once processing finishes, generated documents or analysis results are returned to the user and can be accessed through web, desktop, or mobile clients. This asynchronous model allows longer-running work to proceed without requiring an active local session.
Context Continuity
The transition to the unified experience also carries forward existing chat history, project files, data connectors, defined skills, and plugins.
Maintaining this context preserves workflow continuity and avoids requiring users to rebuild their working environment when moving to the new architecture.
3. Security and Compliance: Managing the Sandbox Lifecycle
Allowing an AI agent to execute code introduces significant security risks. Sandboxing is therefore a foundational part of the enterprise architecture.
The lifecycle controls described here address execution isolation, resource management, network access, credentials, and data protection.
Isolation, Suspension, and Expiration
Code runs inside isolated cloud virtual machines. After several minutes without new instructions, the system stops an idle instance and saves its disk state as an encrypted snapshot.
This approach balances resource consumption with the ability to restore the execution environment.
A sandbox also has a fixed lifetime measured from its creation—for example, 30 days—after which it is automatically destroyed. This limits how long sensitive data can remain in the execution environment.
Outbound Network Controls and Credential Isolation
In the enterprise configuration described here, sandbox access to the public internet is disabled by default. Code running inside the sandbox therefore cannot directly contact external internet services, reducing the risk of data exfiltration.
Connector credentials remain outside the sandbox. Access to connected services is mediated through controlled API interfaces rather than by placing credentials directly in the execution environment.
This separation reduces credential exposure while allowing the agent to use approved integrations.
Authentication and Data Privacy
The system continues to use the organization’s existing single sign-on (SSO) and compliance-related APIs. Data is protected with strong encryption both in transit and at rest.
The provider also states that enterprise data is not used to train its models. These commitments form part of the deployment’s data protection framework, alongside sandbox isolation and access controls.
4. Constraints in Specialized Compliance Environments
A unified collaboration experience may not be available to every enterprise configuration. In the deployment discussed here, organizations using zero data retention (ZDR), HIPAA-ready configurations, or customer-managed encryption keys (CMEK) cannot currently move directly to the unified experience and must remain on their existing configurations.
These restrictions reflect challenges in reconciling persistent execution environments with particular data-handling requirements.
Zero Data Retention
Under the strict ZDR model described here, inputs and outputs must be discarded immediately after processing.
By contrast, background execution, cross-device access, and task recovery depend on temporarily retaining state in cloud virtual machines and encrypted snapshots. That persistence conflicts with the immediate-deletion requirements of this model.
Customer-Managed Encryption Keys
CMEK allows an organization to control access to encrypted data through its own encryption keys.
In a multitenant sandbox environment, dynamically making customer-specific keys available and coordinating encryption and decryption can increase virtual machine startup latency and operational complexity.
This helps explain the implementation challenge, but it does not mean that customer-managed keys are inherently incompatible with every sandbox architecture.
HIPAA-Ready Configurations and Deployment Choices
HIPAA-ready organizations are also identified as unsupported in the configuration described here. The source does not specify a separate architectural explanation for that restriction.
For organizations subject to these requirements, the practical approach presented is to retain the existing configuration, including stateless chat where appropriate, or wait for dedicated, physically isolated sandbox options designed for stricter compliance environments. Such options should not be assumed to be currently available.
5. Conclusion: Enterprise AI Agents Are an Engineering Challenge
Bringing general-purpose AI agents into production involves more than improving model capabilities. It also requires cloud architecture, execution isolation, identity management, and carefully controlled deployment policies.
The progression from disabled-by-default settings to staged enablement illustrates the importance of managing enterprise change. Capability dependencies ensure that the required execution and file-handling services are available, while sandbox lifecycle controls limit resource consumption and data exposure.
Before adopting a unified agent experience, enterprises should assess their compliance requirements, trace how data moves through the system, and verify that the underlying infrastructure supports the intended workflows. Those checks are essential to realizing the productivity benefits of cloud-based AI collaboration without overlooking its operational and security constraints.
