Skip to navigation

Agent Blueprint Patterns

View as MarkdownOpen in Claude

Blueprints are repeatable workflow templates that ride on top of the workspace. Each blueprint is explicitly configured with its goal, required tools, allowed services, data scope, write permissions, review gate and logging expectations.

Input provenance. Preserve trusted integration-supplied provenance for tool-response fields and distinguish application-authenticated source metadata from externally authored content. A payload’s claimed origin is not trusted provenance; provenance alone does not establish factual truth. Before a low-trust claim about permissions or environment state changes a consequential action, verify it against trusted evidence or use the declared review gate.

LLMs are nondeterministic and can be jailbroken or hijacked by untrusted input. A prompt is therefore not a security boundary: autonomous behavior must be constrained by the environment and the release controls around the prompt / skill, not by assuming the instructions themselves are sufficient.

Posture Rules

  • Start narrow. Default tools are least-privilege - read-only scopes where the service supports them; no write-capable tools attached unless the blueprint explicitly requires one. Direct writes are the exception.
  • Writes to systems of record require explicit human review and approval. Logged as OCSF events to enterprise SIEM.
  • Static policy. Allowed services, data scopes, and write boundaries are declared up front in the signed policy bundle. Neither agent nor user widens scope at runtime; changes require a bundle re-issue.
  • Defense in depth. Hard (deterministic) controls form the security boundary — Phase I workspace-perimeter controls (network allowlist, per-service authentication, human review of writes) and additive Phase II enforcement around the agent runtime (OS-level process, filesystem and network controls, together with credential/action mediation). Soft controls (LLM-as-judge, prompt hardening) may complement but never replace the hard layer. The agent cannot reach services or data outside its declared scope, regardless of agent prompt. For multimodal blueprints, evaluate the composed input and generated output, including links or tool requests exposed to a user or another agent. Apply the blueprint’s explicit output contract before release. Passing an input filter, output filter or content review does not grant tool authority, widen delegation or replace required human approval.
  • Lifecycle ownership. Each blueprint has an owner, a review cadence, an incident contact, and a deprecation path — managed as versioned products, not ad-hoc scripts.
  • Always-on by default. Blueprints assume the workspace stays running while the user is offline; the human-review gate is asynchronous, not in-session.

Writes are conservatively gated for three convergent reasons, not one:

  • Last line of defense. The exfiltration path runs through two channels: outbound traffic and writes. Outbound traffic — including parameter smuggling under prompt injection — is constrained upstream by the network allowlist and credential proxy. Writes are constrained by the human-review gate, the last line of defense after the upstream controls (sandbox, allowlist, signed policy, credential proxy). Writes are also the hardest to roll back: reads are repeatable; approved writes often aren’t (un-merging a commit, retracting a published doc).
  • Accountability and provenance. Record the responsible principal or sponsor, executing agent and task, delegation, approver, and resulting action. Human approval does not change the identity actually presented to the downstream service; preserve the correlation between the approval and the executed request. The human reviewer is accountable for the approval; where no human review is required, accountability remains with the registered owner or sponsor. Preserve the distinction between human-authored and agent-generated work for provenance and future input-trust policies.
  • Deployable under stricter governance. Some environments require human sign-off on consequential actions as an external mandate rather than an architectural choice. The conservative write posture lets the same blueprint catalogue deploy unchanged whether or not such a mandate applies — without claiming conformance to any specific regime.

Realization pattern. Agents write to a private staging surface and propose the change for human approval rather than committing directly to a shared system of record — a branch with a merge request or pull request (MR/PR) for code, a draft or unpublished revision for documents, a proposed state change for tickets. The staged artifact is the human-review gate; agents do not write directly to a protected integration branch or another shared source of truth.

Table 4: Agent Blueprint Patterns

BlueprintGoalTypical ServicesPermissions Gate
Coding assistantRead code, explain, draft patches, run testsSource control, package repos, CI logs, ticketingFeature / single-owner branch commits automatable; Human review before protected-branch merge or write
Documentation assistantSearch docs, summarize systems, draft updatesDocs system, enterprise search, source-controlled docsHuman review before publish
Issue triage assistantAnalyze tickets, cluster themes, propose actionsTicketing, docs, source control, logsHuman review before state change or assignment
Developer onboarding assistantHelp new engineers understand repos and workflowsSource control, docs, chat history, package reposRead-only by default; reviewed drafts only
Research notebook assistantRun notebooks, inspect data, draft analysisNotebook environment, data store, package reposHuman review before publishing or writing shared data
Operations assistantSummarize alerts, correlate logs, draft remediationLogs, tickets, runbooks, chatHuman review before executing remediation
Knowledge worker assistantSearch mail, chat, docs, tickets; summarize contextMailbox, chat, docs, ticketingHuman review before send, forward, publish, or delete

Note on reversibility. The review gate scales on two axes: blast radius (who the write affects) and reversibility (how easily it can be undone). Writes to personal or ephemeral targets — single-owner branches, scratch space, personal notes, workspace-local drafts — are self-limiting and may be automated without review. Writes to shared sources of truth — protected branches, published docs, tickets, shared data — affect other workflows and require human review; the gate tightens further when the shared write is also irreversible (protected-branch merge, send, publish, delete, state change). Any exception for direct writes to a shared versioned target must be explicitly defined in enterprise policy and its blueprint; reversibility alone does not waive a required human-review gate.

Note on code execution. Any blueprint that runs code executes it inside the approved workstation domain. Phase II adds the validated runtime sandbox and its supported session or per-command lifecycle. Autonomous code execution must remain inside the selected workspace boundary, never directly on the worker host, hypervisor or user endpoint.