Why Execution Agents Struggle to Build Reliable Workflows Through Conversation

    Execution agents are effective at runtime interaction: interpreting user intent, extracting parameters, invoking predefined tools, requesting confirmation, and presenting results. They are not, however, a substitute for development-time workflow engineering. This article examines the capability boundary between runtime execution and workflow development, explains four engineering gaps that make conversational workflow customization unreliable, presents a contract-first pattern with a YAML example, and provides a deployment checklist for using execution agents with versioned, testable, auditable workflows.

    1. The Core Problem: Mistaking Development-Time for Runtime

    When discussing execution agents, a common misconception is to conflate “triggering a task through chat” with “developing a workflow through chat.” The former belongs to runtime interaction: users enter parameters, confirm actions, and view results. The latter belongs to development-time engineering: requirement decomposition, workflow orchestration, tool integration, exception handling, test acceptance, and version release. The two have completely different requirements for determinism.

    Execution agents are usually strong at runtime. They can connect a natural language entry point, tool calls, result presentation, and human confirmation, enabling non-programmers to trigger already-defined workflows with a lower barrier to entry. But once an execution agent is asked to “remember” requirements through multi-turn dialogue and generate a reliable workflow on the spot, problems emerge: dialogue is probabilistic, while workflow execution requires determinism; dialogue context can drift, while workflow contracts must have boundaries; dialogue lacks regression testing, while workflows must be acceptable, rollback-capable, and auditable.

    Therefore, for users without programming skills, the reasonable value of an execution agent is not “replacing developers to build workflows from scratch,” but “consuming workflows that have already been engineered.” It can lower the trigger barrier, but it cannot replace workflow engineering itself. If a runtime entry point is treated as a development-time tool, the result is often automation that looks flexible but is actually unpredictable.

    2. Capability Boundary: Executing Debugged Workflows, Not Generating Complex Ones

    Execution agents are typically good at three things: first, understanding user intent and extracting parameters; second, calling tools according to predefined steps; third, returning results in a readable form and requesting human confirmation at key points. These capabilities are valuable when a workflow is already defined, inputs and outputs are clear, and exception policies are explicit. For example, when a user says “generate this week’s operations report,” the agent only needs to extract the period parameter, validate the format, call the published report workflow, and request confirmation before publishing.

    However, customizing complex workflows involves many engineering details: dependencies between steps, timeouts and retries, idempotency design, failure compensation, permission boundaries, audit logs, canary releases, and version compatibility. These are difficult to produce reliably through a few rounds of natural language dialogue. The “memory” formed during dialogue is often a summary or fragment, lacking versioning, scope, expiration policies, and conflict resolution mechanisms. If a user says today “query metrics first, then generate the report,” adds tomorrow “approval is required before publishing,” and says the day after “notify the owner on failure,” these constraints will conflict during execution unless they are solidified into a contract.

    More critically, execution agent platforms usually emphasize runtime entry points and tool invocation, while development-time capabilities such as debugging, single-step execution, type checking, test cases, and version comparison are relatively weak. Among common industry technical approaches, mature AI coding tools have deeper accumulation in code generation, debugging, testing, and engineering closed loops; adding a chat entry point to an execution agent platform does not automatically fill these gaps. This leads to a typical phenomenon: with AI coding tools assisting workflow construction, execution agents are barely usable; without AI coding tools, customizing workflows directly through conversation is almost uncontrollable.

    3. Why Conversational Workflow Customization Is Unreliable: Four Engineering Gaps

    First, memory is not auditable. Conversational customization relies on context memory, but memory is not a database transaction and lacks an explicit schema, version, and lifecycle. Once a workflow fails, it is difficult to answer “why was it defined this way at the time,” “which conversation changed the steps,” and “is the old version still in effect.”

    Second, contracts are missing. Reliable workflows require explicit inputs, outputs, preconditions, failure policies, and permission declarations. Natural language descriptions easily omit boundaries, such as empty parameters, out-of-range periods, tool timeouts, duplicate submissions, and missing approvers. If an execution agent invokes tools only through semantic understanding, it can easily take unexpected actions in boundary scenarios.

    Third, debugging and regression are missing. Workflow development is not a one-time generation but continuous iteration. Without single-step debugging, simulated inputs, fault injection, and regression cases, it is impossible to prove that a change has not broken existing logic. Adding “also add a notification” in a multi-turn conversation may change the entire execution path without any test protection.

    Fourth, permission and security boundaries are blurred. Once an execution agent connects to tools, it naturally involves actions such as data reading, file writing, and message sending. If a workflow is temporarily generated through dialogue, the permission scope, approval nodes, and audit fields are often incomplete. A reliable approach is to write permissions into the workflow contract and enforce them strictly at runtime, rather than hoping the model “understands not to exceed authority.”

    4. Correct Engineering Pattern: Build the Workflow First, Then Let Execution Agents Run It

    A more stable division of labor is: at development time, AI coding tools or low-code orchestration capabilities build the workflow, producing a versioned, testable, auditable workflow definition; at runtime, the execution agent handles the natural language entry point, parameter extraction, confirmation, and result presentation. The natural language entry point only performs “slot filling” and “human confirmation”; it does not generate workflows. This preserves low-barrier triggering while limiting uncertainty to the entry layer.

    Below is a neutral workflow contract example. The point is not the specific tools, but solidifying inputs, steps, retries, approvals, and observability:

    1. workflow: weekly_ops_report
    2. version: 1.2.0
    3. owner: ops_team
    4. inputs:
    5. - name: period
    6. type: string
    7. required: true
    8. pattern: "^\\d{4}-W\\d{2}$"
    9. outputs:
    10. - name: report_url
    11. type: string
    12. preconditions:
    13. - permission: report.read
    14. steps:
    15. - id: fetch_metrics
    16. tool: metrics_query
    17. args:
    18. period: "${inputs.period}"
    19. timeout: 30s
    20. retry:
    21. max_attempts: 3
    22. backoff: exponential
    23. - id: render_report
    24. tool: template_render
    25. args:
    26. template: weekly_ops
    27. data: "${steps.fetch_metrics.output}"
    28. - id: publish
    29. tool: object_store_put
    30. args:
    31. key: "reports/${inputs.period}.html"
    32. content: "${steps.render_report.output}"
    33. requires_approval: true
    34. observability:
    35. trace: true
    36. log_fields: [workflow, version, step_id, status]
    37. failure_policy:
    38. on_step_failure: stop_and_notify
    39. notify_channel: ops_alert

    In this pattern, the execution agent’s responsibilities are very clear: parse “this week’s report” into the period parameter and validate the format; ask a follow-up question if it is missing; call the published workflow; prompt for approval before publishing; and finally return the report URL. It does not need to “remember” the entire workflow or invent steps on the spot. Workflow correctness is guaranteed by the versioned contract and tests, while the entry point only handles interaction experience.

    5. Deployment Checklist: Making Execution Agents Truly Usable

    1. Classify workflow maturity. Divide workflows into three levels: “published,” “canary,” and “experimental.” Execution agents are allowed to trigger only published and canary workflows; experimental workflows are exposed only in isolated environments. This prevents a single user sentence from triggering unverified logic.

    2. Decouple the entry point from the workflow. The natural language entry point is responsible only for intent recognition, parameter extraction, confirmation, and result explanation; workflow definitions, tool calls, retries, and compensation are handled by the orchestration layer. Entry point failures should not affect the workflow itself, and workflow upgrades should not require retraining the entry point.

    3. Enforce contracts and validation. All workflows must have input schemas, output schemas, permission declarations, timeouts, retries, failure policies, and audit fields. After parameter extraction, type and range validation must be performed; model output must not be passed directly to tools.

    4. Establish acceptance and regression. Each workflow should cover at least normal paths, missing parameters, unauthorized access, tool timeouts, duplicate submissions, and human rejection. After modifying a workflow, run regression first, then release it as a canary. The execution agent’s conversational entry point should also have fixed test cases to prevent the illusion that “the more it chats, the better it understands you.”

    5. Observability and rollback. Record workflow, version, step_id, status, duration, and key parameter summaries; when a failure occurs, locate the specific step; versions must be rollback-capable. On Baidu AI Cloud, for example, container platforms can host orchestration services, serverless functions can handle short tasks, object storage can save intermediate artifacts, and logging and monitoring/alerting can form an observability loop. These general capabilities still need to be designed around workflow contracts; they do not replace workflow engineering.

    6. Least privilege. Tool calls are authorized by workflow, not granted unlimitedly based on the chat user; high-risk actions such as publishing, deleting, and external sending must require human confirmation; audit logs must answer “who triggered which version at what time and changed which parameters.”

    6. Conclusion: Opening an AI Coding Tool Is Not Difficult

    Execution agents are not without value. Their value lies in making debugged workflows easier to trigger and easier for non-programmers to use. But expecting them to customize reliable workflows through multi-turn dialogue alone is to build results on unpredictable probabilities. The number of conversations does not equal test coverage, and semantic understanding does not equal an engineering contract.

    A more reasonable path is: when a new workflow needs to be customized, return to AI coding tools or a low-code orchestration environment to build it, test it, and version it; when it needs to run, hand it to the execution agent. In this way, non-programmers get a stable entry point, and the development team retains engineering control. Opening an AI coding tool is not difficult; the real difficulty is engineering the workflow. Build first, execute later—only then can execution agents be usable in practice, and only then are they truly usable.