Skip to main content
agentsSource-backed

Agent SDK Production Architect Agent

An agent prompt for taking Claude Agent SDK apps to production: choosing the SDK vs CLI vs Managed Agents surface, least-privilege tool and permission scoping, session persistence, cost tracking, OpenTelemetry, and isolated hosting.

by JPette1783·added 2026-06-05·
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://code.claude.com/docs/en/agent-sdk/overview, https://github.com/JSONbored/awesome-claude/blob/main/content/agents/agent-sdk-production-architect-agent.mdx
Safety notes
This agent advises on architecture; it does not deploy or grant access itself, and a human must approve production changes., Recommend least-privilege tool surfaces and permission modes; avoid bypassPermissions outside isolated environments, and remember subagents inherit a permissive parent mode., Treat untrusted inputs as a prompt-injection risk; recommend isolation, egress controls, and a credential proxy so the agent never sees raw secrets.
Privacy notes
Agent runs send code and context to the configured model provider; confirm the provider and data path are acceptable for the workload., If observability is enabled, content-logging options export prompts and tool data; keep them off unless the pipeline is approved., Session transcripts persist locally or in external storage; recommend retention and access controls appropriate to the data.
Author
JPette1783
Submitted by
JPette1783
Claim status
unclaimed
Last verified
2026-06-05

Decision playbook

Review trust signals before you adopt

Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.

Compare context
Selected

0

Current score

63

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Needs review

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as source-backed.

    Done
  • Metadata reviewed

    No reviewed flag detected in metadata.

    Pending

Safety and privacy checks

Complete

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    Review the listed safety guidance before running commands.

    Done
  • Privacy notes presentRequired

    Review data handling notes before connecting accounts or secrets.

    Done
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Needs review

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    No package verification flag provided.

    Pending
  • Checksum metadata

    No checksum provided for downloaded artifact.

    Pending

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

Copy & paste

Copy-ready — paste the snippet to get started.

Adoption plan

Balanced adoption plan

Current risk score 24/100. Use staged verification before broader rollout.

Risk 24

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    No review metadata found; increase manual validation.

    Pending
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Missing required evidence: Metadata review. Risk score 31.

Risk 31

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Missing

Review metadata is missing.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required gaps: Metadata review

Decision timeline

Decision timeline · balanced

Blocking gaps: Check metadata review status. Risk 28.

Risk 28

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is missing.

Pending

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

Blockers: Check metadata review status

Prerequisite readiness

Prerequisite readiness

3 prerequisites to line up before setup.

0/3 ready
Install & runtime2General1

Safety & privacy surface

Safety & privacy surface

3 safety and 3 privacy notes across 4 risk areas. Review closely: credentials & tokens, permissions & scopes, third-party handling.

4 areas
  • SafetyPermissions & scopesThis agent advises on architecture; it does not deploy or grant access itself, and a human must approve production changes.
  • SafetyPermissions & scopesRecommend least-privilege tool surfaces and permission modes; avoid bypassPermissions outside isolated environments, and remember subagents inherit a permissive parent mode.
  • SafetyCredentials & tokensTreat untrusted inputs as a prompt-injection risk; recommend isolation, egress controls, and a credential proxy so the agent never sees raw secrets.
  • PrivacyThird-party handlingAgent runs send code and context to the configured model provider; confirm the provider and data path are acceptable for the workload.
  • PrivacyData retentionIf observability is enabled, content-logging options export prompts and tool data; keep them off unless the pipeline is approved.
  • PrivacyCredentials & tokensSession transcripts persist locally or in external storage; recommend retention and access controls appropriate to the data.

Safety notes

  • This agent advises on architecture; it does not deploy or grant access itself, and a human must approve production changes.
  • Recommend least-privilege tool surfaces and permission modes; avoid bypassPermissions outside isolated environments, and remember subagents inherit a permissive parent mode.
  • Treat untrusted inputs as a prompt-injection risk; recommend isolation, egress controls, and a credential proxy so the agent never sees raw secrets.

Privacy notes

  • Agent runs send code and context to the configured model provider; confirm the provider and data path are acceptable for the workload.
  • If observability is enabled, content-logging options export prompts and tool data; keep them off unless the pipeline is approved.
  • Session transcripts persist locally or in external storage; recommend retention and access controls appropriate to the data.

Prerequisites

  • A Claude Agent SDK application or a design for one (Python or TypeScript).
  • Knowledge of the workload: single-shot vs long-running, tools needed, and trust level of inputs.
  • Access to deployment context: provider, hosting target, and observability backend.

Schema details

Install type
copy
Troubleshooting
No
Skill and platform metadata
Retrieval sources
https://code.claude.com/docs/en/agent-sdk/overviewhttps://code.claude.com/docs/en/agent-sdk/permissionshttps://code.claude.com/docs/en/agent-sdk/subagentshttps://code.claude.com/docs/en/agent-sdk/sessionshttps://code.claude.com/docs/en/agent-sdk/cost-trackinghttps://code.claude.com/docs/en/agent-sdk/hostinghttps://code.claude.com/docs/en/agent-sdk/modifying-system-promptshttps://code.claude.com/docs/en/monitoring-usage
Full copyable content
## Content

Agent SDK Production Architect Agent is a reusable agent prompt for reviewing and
designing production deployments built on the Claude Agent SDK. It brings the
SDK's own guidance to bear on the decisions that matter in production: which
surface to use, how to scope tools and permissions, how to control context and
cost, how to persist sessions, how to observe runs, and how to host securely.

Use it when taking an Agent SDK prototype to production, or when reviewing an
existing deployment for safety, cost, and reliability.

## Agent Prompt

You are a production architect for Claude Agent SDK applications. Help the user
make sound architecture decisions and find risks before they reach production.
Use the official Agent SDK documentation as your reference and recommend the
least-privilege option that meets the requirement.

Review workflow:

1. Surface choice. Confirm the simplest tier that fits: a single query, a
   code-orchestrated workflow, or an open-ended agent. Avoid reaching for an agent
   when a workflow suffices.
2. Tools and permissions. Scope `allowedTools`, use `disallowedTools` for hard
   blocks, and choose a permission mode. For headless runs prefer `dontAsk` with an
   explicit allow list. Note subagents inherit a permissive parent mode.
3. Subagents. Recommend subagents for context isolation and parallel work, with
   restricted `tools` per subagent; reserve large fan-out for dynamic workflows.
4. Context and cost. Recommend lean always-on context, structured outputs where
   the result must be machine-readable, and reading cost from the result message
   (an estimate, not billing).
5. Sessions. For multi-host deployments, recommend external session storage so any
   replica can resume; otherwise local transcripts.
6. Observability. Recommend OpenTelemetry export with content-logging off unless
   approved.
7. Secure hosting. Recommend isolation (sandbox runtime, container, gVisor, or VM),
   egress controls, and a credential proxy so the agent never sees secrets.

Output contract:

- Architecture summary: surface, tools, permission posture, context strategy.
- Findings: over-broad permissions, missing isolation, cost or context risks.
- Recommendations tied to the SDK docs, least-privilege first.
- A go/iterate/block decision for production.

## Features

- Applies the SDK's surface-selection and least-privilege guidance.
- Reviews permissions, subagents, context, cost, sessions, observability, hosting.
- Flags prompt-injection, secret-exposure, and egress risks.
- Produces an actionable production readiness decision.

## Use Cases

- Take an Agent SDK prototype to production safely.
- Review an existing deployment for permission and isolation gaps.
- Decide between a single query, a workflow, and an open-ended agent.
- Plan session persistence and observability for a multi-host service.

## Source Notes

- The Agent SDK provides the tools, agent loop, and context management that power
  Claude Code, available via CLI, Python, and TypeScript, with surfaces ranging
  from single calls to open-ended agents.
- Permissions, subagents, structured outputs, cost tracking, observability,
  session storage, and secure deployment each have dedicated SDK guidance that
  this agent applies.

## Duplicate Check

The content tree and open PRs were checked for Agent SDK architecture and
production-design agents. No Agent SDK production architect agent exists. This
entry is distinct: it is an `agents` prompt focused on architecting production
Claude Agent SDK deployments.

## Editorial Disclosure

Submitted as an independent community agent entry by `JPette1783`, based on
public Claude Agent SDK documentation. No paid placement, referral, or affiliate
relationship.

## Sources

- Claude Agent SDK overview: https://code.claude.com/docs/en/agent-sdk/overview
- Claude Code skills documentation: https://code.claude.com/docs/en/skills
- Claude Code features overview: https://code.claude.com/docs/en/features-overview

About this resource

Content

Agent SDK Production Architect Agent is a reusable agent prompt for reviewing and designing production deployments built on the Claude Agent SDK. It brings the SDK's own guidance to bear on the decisions that matter in production: which surface to use, how to scope tools and permissions, how to control context and cost, how to persist sessions, how to observe runs, and how to host securely.

Use it when taking an Agent SDK prototype to production, or when reviewing an existing deployment for safety, cost, and reliability.

Agent Prompt

You are a production architect for Claude Agent SDK applications. Help the user make sound architecture decisions and find risks before they reach production. Use the official Agent SDK documentation as your reference and recommend the least-privilege option that meets the requirement.

Review workflow:

  1. Surface choice. Confirm the simplest tier that fits: a single query, a code-orchestrated workflow, or an open-ended agent. Avoid reaching for an agent when a workflow suffices.
  2. Tools and permissions. Scope allowedTools, use disallowedTools for hard blocks, and choose a permission mode. For headless runs prefer dontAsk with an explicit allow list. Note subagents inherit a permissive parent mode.
  3. Subagents. Recommend subagents for context isolation and parallel work, with restricted tools per subagent; reserve large fan-out for dynamic workflows.
  4. Context and cost. Recommend lean always-on context, structured outputs where the result must be machine-readable, and reading cost from the result message (an estimate, not billing).
  5. Sessions. For multi-host deployments, recommend external session storage so any replica can resume; otherwise local transcripts.
  6. Observability. Recommend OpenTelemetry export with content-logging off unless approved.
  7. Secure hosting. Recommend isolation (sandbox runtime, container, gVisor, or VM), egress controls, and a credential proxy so the agent never sees secrets.

Output contract:

  • Architecture summary: surface, tools, permission posture, context strategy.
  • Findings: over-broad permissions, missing isolation, cost or context risks.
  • Recommendations tied to the SDK docs, least-privilege first.
  • A go/iterate/block decision for production.

Features

  • Applies the SDK's surface-selection and least-privilege guidance.
  • Reviews permissions, subagents, context, cost, sessions, observability, hosting.
  • Flags prompt-injection, secret-exposure, and egress risks.
  • Produces an actionable production readiness decision.

Use Cases

  • Take an Agent SDK prototype to production safely.
  • Review an existing deployment for permission and isolation gaps.
  • Decide between a single query, a workflow, and an open-ended agent.
  • Plan session persistence and observability for a multi-host service.

Source Notes

  • The Agent SDK provides the tools, agent loop, and context management that power Claude Code, available via CLI, Python, and TypeScript, with surfaces ranging from single calls to open-ended agents.
  • Permissions, subagents, structured outputs, cost tracking, observability, session storage, and secure deployment each have dedicated SDK guidance that this agent applies.

Duplicate Check

The content tree and open PRs were checked for Agent SDK architecture and production-design agents. No Agent SDK production architect agent exists. This entry is distinct: it is an agents prompt focused on architecting production Claude Agent SDK deployments.

Editorial Disclosure

Submitted as an independent community agent entry by JPette1783, based on public Claude Agent SDK documentation. No paid placement, referral, or affiliate relationship.

Sources

Source citations

Add this badge to your README

Show that Agent SDK Production Architect Agent is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/agents/agent-sdk-production-architect-agent.svg)](https://heyclau.de/entry/agents/agent-sdk-production-architect-agent)

How it compares

Agent SDK Production Architect Agent side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

2 trust signals differ across this comparison (Source provenance, Submitter).

Field

An agent prompt for taking Claude Agent SDK apps to production: choosing the SDK vs CLI vs Managed Agents surface, least-privilege tool and permission scoping, session persistence, cost tracking, OpenTelemetry, and isolated hosting.

Open dossier

Expert Claude Agent SDK custom tool authoring capability pack for designing typed in-process tools with createSdkMcpServer, allowedTools scoping, isError handling, and privacy-safe rollout checklists aligned to official custom-tools documentation.

Open dossier

Expert Claude Agent SDK subagent orchestration capability pack for designing, reviewing, and rolling out Agent SDK subagent orchestration with source-backed checklists, production rules, and privacy-safe output contracts.

Open dossier

Expert capability pack for Agent SDK OpenTelemetry export using CLAUDE_CODE_ENABLE_TELEMETRY, OTLP exporters, and monitoring-usage reference variables documented for Claude Code CLI subprocesses.

Open dossier
Next steps
Trust
Review statusNot reviewedNot reviewedNot reviewedNot reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verifiedPackage not verified
Source provenanceDiffersSource-backedSubmission linkedSource submissionSubmission linkedSource submissionSubmission linkedSource submission
SubmitterDiffersJPette1783kiannidevkiannidevkiannidev
Install riskReview firstReview firstReview firstReview first
Notes Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓
Brand
Categoryagentsskillsskillsskills
SourceSource-backedSource-backedSource-backedSource-backed
AuthorJPette1783kiannidevkiannidevkiannidev
Added2026-06-052026-06-162026-06-142026-06-16
Platforms
Harness
Source repo
Safety notesThis agent advises on architecture; it does not deploy or grant access itself, and a human must approve production changes. Recommend least-privilege tool surfaces and permission modes; avoid bypassPermissions outside isolated environments, and remember subagents inherit a permissive parent mode. Treat untrusted inputs as a prompt-injection risk; recommend isolation, egress controls, and a credential proxy so the agent never sees raw secrets.Tool descriptions and annotations are hints, not enforcement—validate destructive inputs in handlers. Wildcard mcp__server__* allowlists expand blast radius; prefer per-tool grants in production. Throwing from a handler stops the query; return isError for recoverable failures per custom-tools docs. In-process tools run inside your application whenever Claude calls them; gate writes explicitly.This skill plans Agent SDK subagent orchestration; it must not execute destructive changes without explicit approval. Browser, computer-use, and remote surfaces can access sensitive UI state; scope tests carefully. MCP and SDK integrations may exfiltrate data if tool scopes are too broad. The public `anthropics/claude-code` repository ships documentation links to code.claude.com for settings, security, and integration surfaces. Scheduled or autonomous workflows compound risk; cap blast radius in staging first.OTEL_LOG_* opt-ins can export prompts and tool payloads—enable only with approved pipelines. Do not use console exporter through the SDK per observability doc warning.
Privacy notesAgent runs send code and context to the configured model provider; confirm the provider and data path are acceptable for the workload. If observability is enabled, content-logging options export prompts and tool data; keep them off unless the pipeline is approved. Session transcripts persist locally or in external storage; recommend retention and access controls appropriate to the data.Tool schemas, inputs, and results enter model context each turn—never embed secrets in descriptions. Large tool sets increase context usage; defer rarely used tools via tool search when scaling. Structured outputs and logs may reach host telemetry—redact customer identifiers at handler boundaries. External APIs invoked by handlers may log request metadata governed by vendor retention policies.Reviews may expose integration tokens, customer metadata, and internal URLs related to Agent SDK subagent orchestration. Telemetry and analytics configs can include account emails; redact before sharing externally. Keep troubleshooting logs in internal channels unless explicitly sanitized. Third-party vendors remain outside Anthropic retention policies; document separately.Default telemetry is structural; opt-in variables add user content to exports.
Prerequisites
  • A Claude Agent SDK application or a design for one (Python or TypeScript).
  • Knowledge of the workload: single-shot vs long-running, tools needed, and trust level of inputs.
  • Access to deployment context: provider, hosting target, and observability backend.
  • Claude Agent SDK installed for TypeScript or Python with a working query loop.
  • Zod (TypeScript) or dict/JSON Schema (Python) for tool input contracts.
  • Written list of side effects each custom tool may perform and who approves them.
  • Staging environment to validate allowedTools, permissions, and error paths.
  • Access to Claude Code or Agent SDK environment where Agent SDK subagent orchestration will run.
  • Ability to read project, user, and managed settings relevant to the workflow.
  • Staging repository or sandbox account for safe validation.
  • Platform or security stakeholder available for policy-bound rollouts.
  • Agent SDK query() deployment with access to environment or options.env.
  • OTLP collector reachable from the host running the SDK.
Install
Config
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.