Architecture and Governance for Enterprise General-Purpose Work Agents
General-purpose work agents are meant to carry multi-step knowledge work from a single entry point, not to add another chat window. This article explains how they move from answering instructions to executing goals, how model routing, memory, tools, data access, and colleague agents should be designed, and which identity, audit, policy, quality, and rollout controls keep that freedom inside enterprise boundaries.
Knowledge work in an enterprise rarely ends with a single question and answer. A proposal may require searching policies, checking spreadsheets, drafting a document, running a validation script, and syncing the result to a collaboration channel. A general-purpose work agent is not another chat window. It accepts a goal through a unified entry point, calls tools and data, and completes multi-step work under controlled permissions.
From responding to instructions to executing goals
Early assistants mostly stayed in a question-and-answer pattern, or ran a fixed workflow inside a single application. Users still had to break down tasks, switch systems, and check intermediate results themselves. A general-purpose work agent brings those actions into the same context: the user provides the goal and constraints, and the agent plans the steps, selects tools, gathers evidence, and asks for confirmation at critical points.
This capability usually covers four kinds of work. The first is business Q&A, where answers should include sources rather than conclusions alone. The second is document and knowledge processing, including summarization, comparison, rewriting, and structured extraction. The third is content production: text, tables, presentation outlines, and even image assets should be traceable to the input materials. The fourth is writing and running code for reproducible tasks such as data cleaning, format conversion, and rule validation—not unrestricted operation of a system.
Compared with a dedicated workflow, the value of a general-purpose agent is that one interaction pattern can cover tasks that change. The cost is greater uncertainty, so permissions, audit, and human confirmation must keep that freedom inside enterprise boundaries.
A unified entry point is not one model doing everything
The underlying model can be routed by task. Long-document understanding, structured extraction, code generation, and multimodal understanding often suit different models. The routing policy should be explicit rather than hidden in a prompt. A common approach is to choose a model by task type, data sensitivity, latency, and cost, and to record that choice in the audit log. On failure, the system should be allowed to fall back to a more conservative model or hand the work to a person, rather than silently switching models and continuing a high-risk action.
Cloud execution makes it easier to keep the same context across web, desktop, and mobile, but it also requires layered memory. Session memory serves only the current task. Long-term memory should contain preferences, glossaries, and project conventions that a user or administrator explicitly saves, and it should be viewable, correctable, and removable when it expires. One-time secrets, keys, and unauthorized personal data must not be written into long-term memory.
Tools, data, and colleague agents
An agent’s capability comes from its tools, not from the model itself. Tools should be narrow interfaces: reading an email summary, searching a knowledge base, creating a document, querying read-only data, or submitting an approval. Each tool should declare its inputs and outputs, idempotency, side effects, and required permissions. Write operations and external sending should require a second confirmation by default.
Enterprise data should be accessed through unified identity, not by handing account passwords to the model. Least privilege is the recommended approach: the agent inherits the read permissions the user already has. Additional write permissions requested by the agent should be approved separately and given an expiration time.
A colleague agent can be understood as an automated actor with its own identity. It has its own account, role, and quota, and it can be assigned long-running tasks, but it must not borrow all of an employee’s permissions. A separate identity supports accountability: logs can distinguish actions triggered by a person from actions executed by an agent. Sub-agents are useful for splitting complex work—for example, one retrieves information, one drafts, and one validates. Sub-agents should exchange only the task contract and the necessary fragments, not all of their memory, to avoid context contamination and privilege escalation.
A task contract can be simple:
goal: Summarize this quarter's policy changes and produce a comparisonconstraints:- Read only the knowledge base and the specified directories- Do not send anything externally- Every citation must include a source identifieroutputs:- Comparison table- List of differences pending human confirmation
Schedules, events, and multiple channels
Beyond conversational triggers, enterprise use also needs schedules and events. Schedules fit daily reports, inspections, and expiration reminders. Events fit document updates, ticket status changes, and approved requests. Triggers should be pausable, replayable, and concurrency-limited, and they should record why they started.
Access channels may include the web, desktop, mobile, and existing collaboration entry points, or an application interface embedded in a business system. Permissions should be consistent across channels: entering through a sidebar must not bypass approval. Interface access should use a service account or delegated token whose scope is limited to specific resources and actions, with support for rotation and revocation.
Security, administration, and governance
An enterprise deployment needs at least the following control plane.
Identity and access: people, agents, and sub-agents are authenticated separately, with single sign-on and organization-directory synchronization. High-risk tools require step-up authorization.
Data boundaries: indexes and memory are isolated by tenant, department, and project. Customer content must not be used for training or optimization by default. Export, deletion, and retention periods should be configurable.
Audit: record the goal, model route, tool calls, input and output summaries, the person who confirmed the work, and the final deliverable. Mask sensitive fields. The audit log itself must be protected against tampering.
Policy: prohibited data domains and actions that must not run automatically—such as payments, bulk deletion, and external publishing—should be expressed in a policy engine, not written into prompts. Prompt injection should be treated as a routine threat: an instruction in an external document to ignore previous instructions cannot raise permissions.
Quality: retrieved answers should require citations. Code execution should use an isolated environment, with networking off by default, resource quotas, and timeouts. Generated content should retain a human sign-off. Use sampling and regression sets to evaluate accuracy and the rate of unauthorized actions, rather than relying only on demonstrations.
Cost and reliability: long-running tasks should be interruptible and resumable. Failed subtasks should be retried locally. Set usage quotas by department to prevent unattended loops.
Rollout order
Roll out in three stages rather than opening the system to arbitrary goals from the start.
In the first stage, allow read-only work: knowledge Q&A, document comparison, and meeting-material preparation, all with sources and without writing to business systems.
In the second stage, allow controlled writes: generating documents in specified directories, writing drafts into spreadsheets, and creating items pending approval. Every write should be reversible.
Only in the third stage introduce scheduled tasks, event triggers, and colleague agents with independent identities, together with on-call ownership, quotas, and a kill switch.
The organization also needs clear ownership. The business defines goals and acceptance criteria, the platform team provides identity, audit, and the tool gateway, and security reviews policy. Model capabilities will change. Governance should focus on goals, tools, data, and identity so the process remains reusable when the underlying model is replaced.
If the enterprise already has cloud foundations such as unified identity, object storage, logging, and monitoring alerts, the agent should reuse them rather than creating a separate set of accounts and logs. Identity, audit, and data-isolation capabilities on an enterprise cloud such as Baidu AI Cloud can serve as the control plane, but what an agent may do is still determined by the enterprise’s permission policies and tool inventory. Do not assume that the cloud platform automatically grants access to business data.
Deciding whether it is worth deploying
Suitable signals include repeated task steps, work that crosses systems but follows relatively clear rules, errors that sampling can detect, and results that need an audit trail. Unsuitable signals include irreversible decisions, unclear data authorization, and success criteria that cannot be written as checks. In those cases, an agent should at most produce drafts and checklists.
The competitive point of a general-purpose work agent has moved beyond whether a model can answer. It is whether the agent can enter a real workflow and remain governable. Unifying the entry point is only the start. Independent identity, least privilege, auditable tool calls, and automation that can be shut off determine whether it can stay in the enterprise environment over time.
