| 1 | --- |
| 2 | type: idea |
| 3 | id: ida-f1b39e8 |
| 4 | status: exploring |
| 5 | title: "Mediate agent actions on external systems through an actuator" |
| 6 | created: 2026-07-25 |
| 7 | source: design conversation, 2026-07-25 |
| 8 | supersedes: [ida-53ec742] |
| 9 | --- |
| 10 | |
| 11 | # Mediate agent actions on external systems through an actuator |
| 12 | |
| 13 | An agent run could request external actions from a service called an **actuator**. The actuator |
| 14 | would hold the credentials, check the run's delegated permissions, perform permitted operations, and |
| 15 | record their results. The run would receive the response without receiving the credential. |
| 16 | |
| 17 | This is an exploratory design for controlling changes to external systems and making those changes |
| 18 | auditable. |
| 19 | |
| 20 | ## Why the external action needs its own check |
| 21 | |
| 22 | A run can perform an unwanted action using valid credentials without escaping its sandbox. For |
| 23 | example, a proposing agent with approval credentials can approve its own work through the intended |
| 24 | API. |
| 25 | |
| 26 | Many workspace edits can be discarded before publication. An integrated change can immediately |
| 27 | trigger deployment and further actions. Permission checks must account for those consequences at the |
| 28 | point that can refuse the external action. |
| 29 | |
| 30 | Local isolation remains necessary, especially on workstations holding private keys and other |
| 31 | sensitive data. It addresses what the run can access locally. It does not revoke authority carried |
| 32 | by credentials the run can use elsewhere. |
| 33 | |
| 34 | ## Permissions and credential handling |
| 35 | |
| 36 | The actuator enforces the delegation bundle described in |
| 37 | [[ida-a8243d2]](ida-a8243d2-agent-runs-act-under-delegated-authority.md). A general proxy that |
| 38 | injects credentials into arbitrary requests would not provide the required control. |
| 39 | |
| 40 | The operation vocabulary must be explicit enough for policy to constrain it and for a reader to |
| 41 | understand the resulting audit records. Hiding a credential while honoring every request would leave |
| 42 | the same authority available to the run. |
| 43 | |
| 44 | Credential non-disclosure also matters because an agent's observations may be stored, summarized, |
| 45 | replayed, and copied into later artifacts. A credential revealed in tool output can spread through |
| 46 | that trajectory. |
| 47 | |
| 48 | Scoped, short-lived credentials can complement this approach. The actuator could obtain and use them |
| 49 | without exposing them to the run. |
| 50 | |
| 51 | ## Audit records |
| 52 | |
| 53 | Credential mediation and recording are separate capabilities. The proposal combines them so that all |
| 54 | actions within the mediated scope can have a record. |
| 55 | |
| 56 | That completeness depends on preventing bypass and defining failure behavior around recording. If |
| 57 | intent is recorded before execution, the record can describe an action that never happened. If |
| 58 | execution occurs first, a recording failure can leave an action unrecorded. The design needs to |
| 59 | represent that uncertainty. |
| 60 | |
| 61 | Cryptographic transparency is a further property. It helps detect a log operator changing entries or |
| 62 | showing different histories to different readers. A complete operational record does not |
| 63 | automatically require or provide that protection. |
| 64 | |
| 65 | ## Human approval |
| 66 | |
| 67 | [[ida-b7025b5]](ida-b7025b5-human-decisions-are-signed-acts.md) requires physical presence for |
| 68 | particular approvals. Properly enforced hardware presence prevents a process from silently producing |
| 69 | such an approval on its own. |
| 70 | |
| 71 | The system still needs to bind that gesture to the intended action and present the action |
| 72 | accurately. Host compromise does not make those surrounding questions disappear. |
| 73 | |
| 74 | ## Open questions |
| 75 | |
| 76 | - Which external systems and actions require mediation? |
| 77 | - Are permissions declared before a run, checked as actions are requested, or both? |
| 78 | - Which actions can be adequately controlled with scoped credentials alone? |
| 79 | - What isolation can be assumed on contributor-owned machines? |
| 80 | - How are intent, attempted execution, observed result, and uncertain outcome recorded? |
| 81 | - Which reads require recording, and what latency is acceptable? |
| 82 | - How does the operation vocabulary grow without becoming an unrestricted forwarding API? |
| 83 | - How much logic can the actuator contain while remaining small enough to review? |
| 84 | - Can it constrain data disclosure, or only credential use and named actions? |
| 85 | |
| 86 | The integrator already mediates one important action: landing a change. |
| 87 | [verification.md](../../design/verification.md) distinguishes pure and effectful checks, and |
| 88 | [Phase 5](../../design/roadmap.md#phase-5--effectful-reactions) covers effectful reactions. |