Abstract
Workflows are well-established automation mechanisms for business and scientific applications. Traditionally, they are specified in declarative or imperative languages and executed by users on distributed computing infrastructures. With the emergence of agentic AI, workflow systems are becoming external capabilities that an agentic delegate, a controlled operational actor between the user/model side and the workflow/tool side, can invoke to execute simulations, run data-analysis pipelines, or coordinate distributed services. Through protocols such as the Model Context Protocol (MCP), delegates may also access workflow descriptions, logs, provenance records, and runtime interfaces to inspect executions, diagnose failures, propose modifications, and trigger runtime actions. These capabilities introduce new operational and security risks, particularly when sensitive data, untrusted inputs, and privileged execution coexist within the same agentic loop.This paper revisits coordination languages for distributed systems through the lens of agentic AI. Building upon KLAIM and type-based access control for mobile code, we investigate how locality, mobility, and typed interactions can be used to strengthen the security boundary around LLM-based delegates operating over workflow systems. We introduce the notion of an agentic delegate as a model-mediated operational actor that combines an LLM, execution context, tool interfaces, policy constraints, and dynamically evolving authority.We propose Hard-KLAIM, a type-and-effect framework for controlling delegated agentic actions across distributed workflow localities. Hard-KLAIM explicitly distinguishes observation, proposal, commitment, and execution, ensuring that transitions between these phases satisfy explicit effect, locality, policy, and commitment constraints, thereby preventing unauthorized or silent escalation from analysis to execution.