Technical document

Designing the Experience and Execution Foundation for Safely Delegating AI Automation

We will organize how to design an experience where AI automation doesn't end with just chat or a single model, but involves receiving, judging, delegating, observing execution, and reviewing, along with designing typed tool APIs, policies, and audits separately.
AI Development / Automation Design~16 minPublication Date September 22, 2026Update date September 22, 2026
Designing the Experience and Execution Foundation for Safely Delegating AI Automation

Summary

Key points of this document

  • Chat UI and LLMs alone do not make for safe automation
  • Designing the Automation Experience in 5 Stages
  • Separating Responsibilities for Judgment, Execution, Permissions, and UI

Overview

The value of AI-powered automation isn't just in the model generating answers. It becomes safely usable automation only when it includes the human ability to receive situations, verify the basis of judgments, decide how much to delegate, and audit/correct the execution process and results. Here, we will organize a design that integrates the tool execution foundation and the UI for "judgment to delegation" while maintaining their respective responsibilities.

Chat UI and LLMs alone do not make for safe automation

Chat UIs are effective as an entry point for AI functions because they can convey ambiguous requests verbally. However, when delegating tasks like updating business systems or operating external services, confining judgments, permissions, and execution results solely within the conversation flow makes it difficult to ascertain what happened later. If the model misunderstands the intent, it becomes ambiguous who authorized which operation, what data was changed, and how much can be rolled back.

LLMs probabilistically generate text and plans, so their output can vary even in the same situation. On the other hand, permission judgments and update processes require reproducibility. If access tokens or update permissions are directly given to the LLM here, the model's output becomes directly executable commands. A configuration that relies solely on prompt warnings for safety is too weak as a permission boundary.

What is needed is to separate judgment and execution, and to leave information on the screen that allows humans to participate in the judgment. AI creates candidates and plans for "what to do," and the decisive execution foundation checks "who can execute which operation under what conditions." The UI connects these two, becoming the place where humans can adjust the scope of delegation.

Designing the Automation Experience in 5 Stages

Safe automation is not completed with a single instruction and execution. It is a continuous experience where users receive information, interpret its meaning, decide the scope of delegation, observe execution, and review afterwards. If any part of this flow is missing, even if convenient, it becomes difficult for users to continue using it responsibly.

In the initial "Receive" stage, notifications, deadlines, anomalies, and information awaiting input are presented with their importance and basis. In the next "Judge" stage, AI shows not only a summary of the situation but also options, expected impacts, and information used for judgment. In "Delegate," users confirm targets, deadlines, operation scope, budget, etc., and explicitly approve only when necessary.

In "Observe Execution," whether it's running, waiting, or failed can be tracked down to individual tool calls. In the final "Review" stage, execution results, basis, approvals, before/after changes, and the possibility of cancellation or correction are retained as history. It's not necessary to cram all 5 stages into one screen, but designing so that information is not lost between stages is crucial.

  • Receive: Show situation, importance, conditions, and reasons for pending status in a situation card.
  • Judge: Show not only recommendations but also basis, options, and scope of impact in a judgment card.
  • Delegate: Confirm target, operation, deadline, and permissions with execution preview and approval UI.
  • Observe Execution: Track plan, calls, waiting, completion, and failure in an execution timeline.
  • Review: Retain basis, approval, results, before/after changes, and revision history for audit and memory.

Separating Responsibilities for Judgment, Execution, Permissions, and UI

In the architecture, LLMs are limited to the judgment and planning layer. Here, they organize situations, select possible operations, and return structured execution plans including dependencies. If plans are treated not just as natural language descriptions but as data including tool names, input candidates, expected results, risk levels, and required approvals, they can be reused by both the UI and the inspection layer.

Execution is handled solely by typed tool APIs. Each tool explicitly states its input schema, output schema, side effects, cancellability, and required permissions. For example, update tools should accept not only the target ID but also the pre-update version number or expected state, and stop if the state changes midway. We do not create paths for LLMs to directly manipulate databases or external APIs.

The policy layer verifies the user, organizational role, target data, delegated scope, time of day, and risk level before execution. Whether a tool can be executed is determined by this layer's judgment, not by the LLM's proposal. The UI is responsible for displaying and editing plans, approvals, execution status, and history, and does not make execution permissions dependent on the presence or absence of screen display.

  • LLM: Interpretation of situation, generation of options, creation of execution plans.
  • Typed Tool API: Input/output validation, target updates, return of results.
  • Policy Layer: Inspection of permissions, delegation scope, conditions, approval status.
  • UI: Visualization of plans, approvals, progress observation, entry point to audit history.

UI Components Supporting Judgment to Delegation

The situation card contains what is happening, affected targets, urgency, and update time of the information source. Next, the judgment card displays AI recommendations, alternatives, reasons for not recommending, and the basis for judgment separately. Since users may not notice incorrect assumptions from summary text alone, provide links back to the underlying records.

The execution preview shows a fixed form of "which tool to call, in what order, to which target" just before approval. Displaying diffs before and after updates, content sent externally, estimated waiting times, and stop points in case of failure allows users to judge what they are delegating in exchange for convenience. The approval UI does not simply have an execute button, but records the approver, approval time, and version of the approved plan.

After execution, the timeline shows the sequence of plan creation, approval, start and completion of each tool, input validation, policy rejection, retries, and cancellations. Audit/memory is not a place to save conversation history as is. It is designed as a place to store related information necessary for later verification: situation summary, basis ID, plan, approval, tool input/output summary, results, and corrections.

Divide Delegation Scope by Risk and Cancellability

If every operation requires approval every time, automation will not be used. Conversely, if everything is automated, users will overlook unintended changes. The necessity of approval is classified by whether the operation only views information, affects external systems, is reversible, or if its scope can be determined in advance.

Viewing/summarizing can generally skip per-operation approval within the scope of authorized information. Drafts become easier to delegate by explicitly specifying the save destination and separating sending or publishing as distinct operations. Reversible operations can consider conditional automatic execution after showing diffs and cancellation deadlines. High-impact or irreversible operations should lean towards explicit approval with fixed targets and results, sometimes requiring multiple approvals or re-confirmation after a delay.

  • View/Summarize: Automatically execute within read permissions, retain information source and time.
  • Draft: Limit save destination, separate sending/publishing/finalizing as human operations.
  • Reversible Operations: Show diffs, cancellation method, deadline, execute only when delegation conditions are met.
  • High-Impact/Irreversible Operations: Fix execution preview, require explicit approval and strong auditing.

Separate Inference Foundation into Public Entry Point and Private Processing

Public APIs receiving external requests serve as the entry point for authentication, input validation, rate limiting, and auditing. Here, user permissions and delegation status are resolved, and only the minimum context required for inference is passed internally. By not placing inference credentials or broad execution permissions on the public path, the scope of impact between the external exposure and execution can be separated.

The inference foundation operates in a private network as needed, accessible only from public APIs. The inference side handles context organization, model calls, and plan structuring, without touching execution credentials. Only structured plans that have passed the policy layer are passed to typed tool APIs.

Models are not assumed to be fixed; lightweight models and high-quality models are distributed based on the nature of the processing. Sending short classifications, input normalization, and conversion to known formats to lightweight models, and sending basis comparisons and multi-stage plans to high-quality models, makes it easier to control response time and cost. Retaining the reason for model selection, input size, and quality metrics of results in audits allows for later review of routing.

Failure-Prone Designs and How to Avoid Them

The most important thing to avoid is giving direct permissions to the LLM. Instead of letting the model judge permissions, the policy layer and tool API must inspect them every time an execution occurs. Instructing "do not perform this operation" in a prompt is not access control.

Next is a design that hides execution details from the user. The more tools automation calls, the less a simple completion notification reveals about the cause of failure or its scope. Provide execution previews, timelines, and result diffs, and display rejections, interruptions, and failures with the same granularity as successes.

Not showing the basis or cancellability also makes user judgment difficult. For proposals, provide references to the basis; for updates, show before/after changes and how to revert; for irreversible operations, explicitly state that fact. Also, tightly coupling planning and execution based on a specific model's response format or performance can compromise safety when the model changes. Model differences should be encapsulated in inference adapters, and tool contracts and policies should be independent of the model.

In Validation, Confirm Stopping as Well as Correct Execution

Testing is not enough if the LLM only returns plausible plans. The execution foundation must be verified to stop as expected, including cases of insufficient permissions, expired delegation, target state changes, input schema mismatches, modification of approved plans, tool timeouts, partial failures, and cancellation requests. Policy judgments and tool APIs can have extensive deterministic unit tests that do not use models.

In integration tests, confirm that execution does not occur when plan versions and approval versions do not match, that the same update is not duplicated on retry, and that the execution timeline and audit records are consistent. For operations with external integrations, separate simulated execution in a validation environment from read-only confirmation in production, keeping the scope of validation on actual data narrow.

In operation, observe failure rates per model, policy rejection rates, cancellation rates after approval, manual correction rates, and execution times per tool. Instead of simply summarizing numbers into a success rate, by looking at which stage user judgment is stalled, you can determine where to fix the model, UI, or tool contract.

Decision Axes to Take Away for Implementation

When designing AI automation, decide "what the user sees, where they delegate, and what they can verify after execution" before "what the model can do." Separating the LLM responsible for judgment/planning, typed tool APIs for execution, the policy layer for permission inspection, and the UI for approvals and history makes it easier to maintain safety boundaries even when changing each component.

Specifically, the initial criteria should be classifying operations by risk and reversibility, fixing approved plans as versions, making all execution stages auditable, and allowing models to be swapped out. Automation is not designed to eliminate human judgment, but rather to clarify where judgment is needed and to create a system that allows for responsible handling even after delegation.

Technical documents

We will continue to increase technical documentation.

We will continue to organize our thoughts on AI, cloud, business app development, requirements definition, and operational design into documents.

Go to technical documentation list