Four Forms of AI Assistants: Technical Boundaries and How to Choose

    This article breaks down the vague label of "AI assistant" into four distinct forms, defined by three orthogonal dimensions: interaction (advice versus state-changing execution), runtime location (local terminal versus cloud), and lifecycle (session-bound versus unattended). It explains the core contract and engineering complexity of each form, maps the cloud-resident form to generic cloud capabilities, and closes with a practical selection checklist and three common pitfalls to avoid.

    1. The Starting Problem: Why “Assistant” Is No Longer Enough

    In today’s technical discussions, “AI assistant” has become a catch-all label. Any system that accepts natural language input and returns text output gets lumped into the same category. This coarse classification leads directly to misjudgments in engineering practice: a team evaluates a long-running unattended task as if it were a conversational product, or deploys a persistent cloud execution agent onto a strictly controlled local terminal. Problems then surface all at once after release.

    The original article draws two contrasting pairs in a cartoon-like way, which is essentially a capability layering exercise. Restated in engineering terms, this layering can be reduced to three orthogonal dimensions:

    • Interaction dimension: whether the system outputs suggestions, plans, or executable changes;
    • Runtime location dimension: whether computation and execution happen on the user’s terminal or in a remote data center;
    • Lifecycle dimension: whether the task lifecycle is bound to the user session and whether it can keep running without a human present.

    Any form of “assistant” is a combination of values across these three dimensions. Once the dimensions are made explicit, selection is no longer a contest of brand impressions but a process of solving for constraints.

    2. The First Boundary: Giving Advice Versus Getting Things Done

    The core contract of the conversational form is “information delivery.” It receives a prompt and returns structured or unstructured text, without producing side effects on the external world. Its engineering value concentrates on the cognitive stage: requirement clarification, option enumeration, code drafts, log attribution, and document writing. Its output is a hypothesis to be verified, and the verification responsibility still lies with the human.

    The core contract of the execution form is “state change.” It requires three additional capabilities: read/write access to the local file system and runtime environment, the planning ability to decompose high-level intent into executable steps, and the ability to observe and roll back the result of each step. Without the third one, so-called “automatic completion” merely shifts risk from the human to a script.

    The following sample code expresses this contract difference:

    1. # Advisory: no side effects, output is for human review
    2. def advise(context: str) -> str:
    3. return model.generate(prompt=context)
    4. # Execution: has side effects, must include pre-checks, logging, and rollback
    5. def apply(plan, workspace, policy):
    6. assert policy.allows(plan) # permission and compliance pre-check
    7. snapshot = workspace.snapshot() # snapshot before changes
    8. try:
    9. for step in plan:
    10. step.run(workspace)
    11. logger.info(step.summary()) # each step is observable
    12. except Exception as e:
    13. snapshot.restore() # rollback on failure
    14. raise

    This comparison reveals a frequently overlooked conclusion: the engineering complexity of the execution form lies not in “generation” but in “constraints.” Rollback capability, auditability, and least privilege are the three factors that determine whether it can enter production.

    3. The Second Boundary: Can It Run After Shutdown

    The key to the second difference is whether the task lifecycle is decoupled from the user session.

    The local runtime form places the execution agent on the user’s terminal. Its advantages are natural proximity to the data source, low file access latency, sensitive data that stays within the internal network, and a clear compliance path. The cost is that the task lifecycle is bound to the terminal: sleep, disconnection, or shutdown can interrupt long tasks, and the terminal’s compute and concurrency capacity is limited.

    The cloud-resident form places the execution agent on a remote server, decoupling the task from the terminal, making it suitable for scheduled jobs, batch data processing, and continuous cross-time-zone inspection. It requires getting three things solid: first, hosting and rotation of credentials and keys, which cannot depend on an online terminal to distribute them; second, idempotent task design, because node restarts and retries are the norm; third, an observability system, including log services, metrics collection, and monitoring alerts, otherwise unattended means uninformed.

    A practical rule of thumb is the relationship between task duration and human presence: second-level tasks that need human confirmation go local; minute-level or longer tasks that can run unattended and need idempotent re-entry go to the cloud; if both are needed, layer them—local handles collection and pre-checks, and the cloud handles long-process orchestration.

    4. Mapping Forms to Generic Cloud Capabilities

    When implementing the cloud-resident form, you can assemble it using only generic capability categories, without binding to a specific vendor:

    • A container platform hosts the execution agent, providing elasticity and isolation;
    • Object storage holds input datasets and artifacts;
    • A message queue handles task distribution and peak shaving, ensuring retry semantics;
    • Log services and monitoring alerts form the observability foundation;
    • A key management service handles credential hosting and rotation.

    The local form emphasizes sandboxed execution, directory-level allowlists, operation trails, and human confirmation gates. In enterprise implementations, Baidu AI Cloud typically organizes solutions around this idea of “generic capability combinations plus clear permission boundaries,” rather than relying on a single feature.

    5. Selection Checklist and Common Pitfalls

    Before implementation, confirm item by item: whether the task needs to change external state; what interruption granularity is acceptable; whether data can leave the local environment; whether unattended operation is needed; how high the rollback cost is after failure; and which layer audit requirements cover.

    Three high-frequency pitfalls are worth watching. First, treating advisory output directly as an execution result and skipping the verification step. Second, granting the execution form overly broad file and network permissions without least-privilege constraints. Third, building cloud long tasks without idempotency, so a single retry produces duplicate side effects.

    6. Conclusion

    The four forms are not a matter of higher or lower capability, but of different constraints. First make the three values explicit—interaction contract, runtime location, and lifecycle—then discuss technology selection and cost, so the solution does not require rework after release.