Enterprise Mobile Entry Architecture Evolution and On-Device AI Agent Practices

    This article explains how to evolve a mobile terminal into an enterprise mobile entry point powered by a system-level AI agent. It covers a five-layer architecture, four core capabilities (tool invocation, memory, orchestration, and reliable task execution), integration patterns for enterprise systems, and the security, permission, and audit requirements needed for controlled deployment.

    1. The Problem: Why the Phone Needs to Become an Entry Point

    For more than a decade, enterprise mobility mainly meant moving business systems onto phones: portal aggregation, push notifications, single sign-on, and mobile approvals. This model works for feature coverage, but it has gradually exposed structural bottlenecks in experience and efficiency. Employees switch repeatedly between multiple apps, information is presented passively as cards and lists, and the real business intent still has to be broken down by a person into a sequence of operations.

    Around 2026, as foldable devices became common in enterprise settings (the unfolded large screen approaches a tablet, while the folded state stays portable), mobile terminals gained, for the first time, enough interaction surface to handle complex task orchestration. At the same time, the maturity of system-level on-device agent capabilities turned the terminal from a container of apps into an entry point for intent. This article addresses exactly that shift: how to rebuild the mobile terminal as an enterprise mobile entry point, with a system-level agent as the central hub connecting enterprise business systems.

    Note that this article does not review or recommend any specific product. Instead, it abstracts reusable architectural patterns and engineering practices.

    2. Target State: From a Collection of Apps to an Intent Entry Point

    The goal of an enterprise mobile entry point can be summarized in four points: direct intent fulfillment, cross-app collaboration, context continuity, and auditable behavior.

    • Direct intent fulfillment: the user expresses a goal rather than an operation path, for example “turn last Wednesday’s customer visit notes into a weekly report and send it to my manager,” and the system handles planning and execution.
    • Cross-app collaboration: tasks naturally span messaging, calendar, documents, approvals, and customer management, so the entry layer needs orchestration capability.
    • Context continuity: tasks keep state across multiple turns, multiple days, and multiple devices, which requires a memory mechanism rather than stateless calls.
    • Auditable behavior: in enterprise settings, any automated execution must be explainable, traceable, and interruptible.

    These four points mean the architecture cannot stay at the shallow level of “voice assistant plus app jumping.” It must go down to the system level.

    3. Overall Architecture: A Five-Layer Design

    A five-layer structure is recommended, from top to bottom: interaction layer, agent core layer, capability and tool layer, data and memory layer, and governance and observability layer.

    1. Interaction layer: handles multimodal input (voice, text, images, screen content understanding) and result presentation. The unfolded state of a foldable device can host a structured result panel, while the folded state collapses to a conversational flow.
    2. Agent core layer: includes intent recognition, task planning, tool selection, execution scheduling, and result verification. It is the brain of the entire entry point.
    3. Capability and tool layer: abstracts system capabilities (messaging, calendar, files, location, scanning) and enterprise system capabilities (tickets, orders, approvals, reports) uniformly as “tools.”
    4. Data and memory layer: distinguishes three types of storage: short-term session context, long-term user preferences, and task-level intermediate artifacts, and defines write and forgetting policies.
    5. Governance and observability layer: covers identity and permissions, policy checks, full-chain logging, metrics monitoring, and alerting. It is key to enterprise adoption.

    4. Core Capability One: Tool Invocation

    Tool invocation is the only way an agent produces real value. Engineering needs to solve four problems: description, discovery, constraints, and idempotency.

    Tool descriptions must be readable by the model and include name, purpose, input schema, return structure, side-effect level, and required permissions. Side-effect levels are best divided into three tiers: read-only, reversible write, and irreversible write. Irreversible write operations must introduce a second confirmation.

    1. {
    2. "name": "expense.submit",
    3. "description": "Submit a travel expense report",
    4. "input_schema": {
    5. "type": "object",
    6. "properties": {
    7. "trip_id": {"type": "string"},
    8. "amount": {"type": "number"},
    9. "currency": {"type": "string"}
    10. },
    11. "required": ["trip_id", "amount"]
    12. },
    13. "side_effect": "irreversible_write",
    14. "required_scopes": ["expense.write"]
    15. }

    For tool discovery, a combination of “registry plus semantic retrieval” is recommended: the full tool list cannot fit into the context, so the top-K candidates should be recalled by the semantics of the current task and then handed to the planner for selection. For constraints, all calls must pass through the policy engine, and the model is forbidden from assembling unregistered calls on its own. Idempotency is guaranteed through idempotency_key to avoid duplicate submissions caused by network retries.

    1. def invoke(tool_name, args, ctx):
    2. tool = registry.resolve(tool_name)
    3. assert tool is not None, "unregistered tool"
    4. policy.check(ctx.user, tool.required_scopes, tool.side_effect)
    5. if tool.side_effect != "read_only":
    6. args["idempotency_key"] = ctx.task_id
    7. return tool.run(args, ctx)

    5. Core Capability Two: Memory

    An agent without memory can only do one-off question answering. Memory for an enterprise entry point should be divided into three layers:

    • Session memory: messages and tool results within the current task window, archived when the task ends.
    • Preference memory: long-term user habits, such as frequently used approval templates and preferred reporting formats, which must be visible and editable by the user.
    • Fact memory: organization-level knowledge, such as org structure and product coding rules, usually synchronized from authoritative enterprise systems rather than inferred by the model.

    The key design principle is “writes require authorization, reads require filtering, and forgetting must be controllable.” Before writing, judge the sensitivity of the information; when reading, apply isolation filtering by user and tenant to avoid cross-tenant leakage; the forgetting mechanism must support deletion by entry and expiration by time to meet compliance requirements. For memory retrieval, a hybrid approach of “vector recall plus structured filtering” is recommended, because relying on similarity alone tends to recall outdated or unauthorized content.

    6. Core Capability Three: Orchestration

    The essence of orchestration is to arrange a cross-system sequence of operations into a recoverable execution plan. It is recommended to introduce an explicit plan object containing steps, dependencies, current state, and compensation actions.

    1. plan: weekly_report
    2. steps:
    3. - id: collect
    4. tool: crm.visits.list
    5. args: {range: last_week}
    6. - id: summarize
    7. tool: doc.draft.create
    8. depends_on: [collect]
    9. - id: notify
    10. tool: im.message.send
    11. depends_on: [summarize]
    12. requires_confirmation: true
    13. compensation:
    14. - when: notify.failed
    15. action: doc.draft.keep

    The benefit of a plan is that it can be paused, rolled back, and shown to the user as progress. The unfolded state of a foldable device is suitable for displaying the plan tree and diff comparisons, while the folded state degrades to notifications at key nodes.

    7. Core Capability Four: Task Execution and Reliability

    Enterprise settings demand higher reliability than consumer settings. Four points need to be implemented: tiered timeouts and retries, failure compensation, human-in-the-loop takeover, and result verification.

    For irreversible write operations, “verify first, then execute” is recommended: before execution, use read-only tools to check preconditions (such as balance, inventory, or approval status), and read back to confirm after execution. Human takeover should be designed as a high-risk gate that is on by default, not an after-the-fact remedy. For observability, it is recommended to carry task_id through the full chain and record the planning, the input summary and duration of each tool call, forming a replayable execution trace.

    8. Connecting Enterprise Business Systems: Choosing Integration Patterns

    There are three common integration patterns, each with its own applicable boundaries:

    • Direct connection to internal APIs: lowest latency and most accurate semantics, suitable for high-frequency core systems, but it requires stable API governance.
    • Asynchronous decoupling via message queues: suitable for long-running tasks such as report generation and batch synchronization, with natural support for retries and peak shaving.
    • Event subscription and change capture: suitable for letting the agent sense business changes and trigger proactively, such as automatically preparing a reply draft after a ticket status changes.

    On the data side, hot and cold tiering is recommended: structured business data stays in the original systems, intermediate artifacts and vector indexes needed by the agent go into object storage and retrieval services, and logs and metrics go into logging services and monitoring and alerting systems. All cross-system credentials should be managed centrally by a key management service, and hardcoding them in prompts or code is forbidden.

    9. Security, Permissions, and Compliance

    A system-level agent has the ability to “act on behalf of a person,” so the permission model must be stricter than that of traditional apps:

    1. Identity pass-through: call downstream services with the real user identity rather than a shared service account, ensuring audit attribution.
    2. Least privilege: request scopes dynamically per task and revoke them when the task ends.
    3. Data boundaries: define which data may enter the model context, and mask or replace sensitive fields with placeholders before sending them in.
    4. Prompt injection protection: treat external content (emails, web pages, documents) as untrusted input and forbid it from carrying instructions that change the plan.
    5. Full audit: keep a complete record of who, when, based on what intent, called which tool, and produced what result.

    10. Evaluation and Iteration

    A three-layer evaluation is recommended: at the tool layer, evaluate call accuracy and parameter correctness; at the planning layer, evaluate task completion rate and step redundancy; at the experience layer, evaluate the human takeover rate and average completion time. After launch, roll out gradually with canary releases, observe metrics by tenant and scenario dimensions, and keep a switch that can fall back to the traditional app mode with one click. General-purpose infrastructure options such as the container platforms, message queues, logging services, and monitoring and alerting capabilities offered by cloud vendors like Baidu AI Cloud can serve as the underlying infrastructure for the chain described above.

    11. Conclusion

    Making the mobile terminal an enterprise mobile entry point is not mainly about form or appearance, but about whether it has the closed loop of “understand intent, plan tasks, invoke tools, maintain memory, and accept governance.” The foldable form factor only provides a more suitable interaction carrier; what really determines success is the engineering maturity of tool governance, memory boundaries, and the audit system. By following the five-layer architecture and four core capabilities in this article, enterprises can gradually expand entry-point capabilities from read-only queries to end-to-end task execution under controllable risk.