Anthropic's guide to an AI-native software development lifecycle
Writing code is no longer the main bottleneck. Requirements, testing, review, and operations are what slow delivery down now. Anthropic's approach leans on structured artifacts to keep agents moving in sequence, with the system validating first and humans stepping in only at the critical gates.
- Once agents speed up the build phase, the bottleneck shifts to planning, testing, review, and release. The more manual gates you keep, the more backlog and governance overhead you create.
- An AI-native SDLC runs on a chain of verifiable artifacts. Each stage leaves behind state that the next stage can read, machines provide the evidence, and humans only make judgment calls at the risky gates.
- Don't start with an unattended production loop. Pick one low-risk change type, get intent, plan, one-click validation, and a hard boundary working end to end, then use quality data to decide whether to expand agent permissions.
Anthropic recently published "The AI-Native SDLC Playbook," a guide to integrating AI agents into the software development lifecycle across six phases: Plan, Design, Build, Test, Deploy, and Maintain. The playbook draws on the daily practices of Anthropic's Applied AI team, along with lessons learned from customer engagements.
Anthropic's core thesis is that AI has compressed coding time to the point where human-driven processes around it—requirements clarification, testing, review, approval, and operations—now dominate the delivery cycle. As a result, the SDLC can no longer rely on a linear, human-relay approach. It needs to become a loop driven by structured artifacts, executed by agents, validated by systems, and gated by humans at critical decision points.
The methodology is built around a simple unit: a verifiable artifact paired with a clear gate. Model calls handle the execution, while humans shift their focus from mechanical tasks to intent, exception handling, and risk assessment.
It's important to set expectations about the evidence: this is a vendor implementation framework, not an independent effectiveness study. The playbook offers plenty of suggested metrics, but it lacks customer samples, controlled comparisons, or concrete efficiency figures. Treat it as an engineering blueprint worth testing, not a proven track record.
The big picture: code is no longer the bottleneck—waiting is
Traditional SDLC assumes Build is the most expensive phase. Requirements go through meetings and sign-offs, designs become specs, engineers spend weeks writing code, and testing, review, and release all revolve around that long cycle. When Build is slow enough, occasional waiting elsewhere doesn't stand out.
Agents change that calculus. Code can appear in hours, but requirements clarification, security review, test design, change approval, and production authorization still run at the old human pace. Build has shortened, but the surrounding processes haven't caught up.
The bottleneck thus shifts from "who writes the code" to "who clarifies intent, validates results, accepts risk, and authorizes production." If humans still review every diff line by line and approve every command, teams are just trading writing code for queuing up to watch an agent write it.
Anthropic doesn't eliminate the six phases. Instead, it transforms human handoffs into artifacts that can be read, committed, and triggered. With Git as the source of truth, the minimal loop looks like this:
Structured Markdown artifacts → commit to Git and version → trigger the next phase's agent → system validates first → humans judge at key gates → production feedback writes back to a new
intent.md.
The original turns a linear flow into a loop; the Chinese track below adds the artifacts and gates the loop actually depends on.
intent.md
Product owner accepts
spec.md
Spec and risks approved
plan.md
Engineer accepts plan
Code + test evidence
Verification passes
PR + review record
Code owner approves
Release/incident record
Control band breached
New intent.md
Production findings feed back into planning to close the loop
Markdown and Git are just implementation details. The key is that every phase has a single, traceable approval state. Early on, intent.md, spec.md, and plan.md work well. Once you hit Build, code, tests, PRs, pipeline logs, and incident records all become formal artifacts as well. You can still keep Jira, ServiceNow, or Figma as your source of truth, but the minimum requirement is that they point back to the repository via record IDs and commit SHAs.
The table below provides a high-level overview of all six phases. The rest of this article will walk through each phase in the order the playbook presents them.
| Stage | Artifact | Machine evidence | Human gate | Suggested metric |
|---|---|---|---|---|
| Plan | intent.md |
Author, time, revision history | Product owner accepts intent | Conversation-to-commit time / survival rate |
| Design | spec.md |
Skill versions, conflicts, risk markers | Product and policy owners resolve conflicts | intent-to-spec time / requirements rework |
| Build | plan.md + diff + tests |
Build, tests, plan consistency | Engineer accepts plan and implementation risk | First implementation merged / rework cycles |
| Test | Run logs + eval results |
One-click tests, screenshot diffs, regression set | Code owner reviews behavior and evidence | First CI pass / production regressions |
| Deploy | PR, approvals, release record |
AI review, hooks, branch protection | Code owner and release lead authorize | First review time / gate wait / DORA |
| Maintain | Diagnostics + new intent.md |
Deterministic control bands, read-only diagnostics, pre-approved runbooks | Service lead triages and approves actions | Incident-to-intent time / repeat recurrence |
Each phase must answer four questions: what gets handed off, what the machine uses for validation, what judgment remains with humans, and how you know the change is actually working. Miss one, and you're just automating the production of work that still sits in a queue.
Plan: turning fuzzy ideas into intent.md
Traditional planning relies on product managers conducting endless interviews, holding meetings, and organizing user stories to translate what business stakeholders said into formal requirements. Information gets lost in the back-and-forth, and the people who raised the original problem often can't see what their intent has become.
The AI-native approach has the idea originator describe the problem, the affected parties, the desired outcome, constraints, and open questions directly in natural language. An agent then asks clarifying questions and organizes the input into an intent.md file that is both human-readable and machine-actionable. Only after the product owner corrects and accepts the file does the process move to Design.
- Artifact delivered:
intent.md, capturing who raised the request, when, the problem statement, affected parties, constraints, and open questions. - Machine evidence: file version, revision history, and the lineage from the original conversation to what was committed.
- Human gate: the product owner decides whether this represents a real intent worth pursuing in the next phase.
- Suggested metrics: time from initial conversation to
intent.mdsubmission, and the percentage of submitted intents that actually move into Design.
This step is worth more than just "AI helping a PM write a PRD." It creates a machine-readable record of the original intent at the very first handoff, so later phases never have to rely on someone's memory of a meeting to fill in the context.
Design: making policy count when spec.md is generated
Traditional design tends to defer brand, security, compliance, UX, and architectural rules to late-stage review. By the time policy owners notice a conflict, the spec is already written—sometimes even the code—so rework is expensive.
The playbook recommends having the agent read the accepted intent.md while loading enterprise policies and design standards, all in the same working session, to generate spec.md. When a policy conflict surfaces, the agent flags it but doesn't make the final call for the policy owner.
- Artifact delivered:
spec.md, including requirements, design choices, boundaries, risks, and unresolved conflicts. - Machine evidence: which policies or Skills were consulted, which requirements were met, and which conflicts remain open.
- Human gate: the product owner validates that the spec fulfills the original intent; policy owners adjudicate security, compliance, or brand conflicts.
- Suggested metrics: cycle time from intent to spec, plus any requirement rework that appears after the spec is submitted.
This moves policy intervention earlier in the process. Rules shift from being a post-hoc checklist to an input during spec generation.
Build: approve plan.md before letting the agent write code
Build is the longest section of the playbook. "Let the agent write code" is only the beginning. The hard questions are what guides its actions, what it's allowed to modify, how it works in parallel, and which system has the final say.
The first step is Plan Mode. The agent reads the codebase and produces a plan.md that lists the files it intends to modify, the implementation order, the risks, and the validation method. The engineer reviews the plan before execution is allowed. This gives humans a chance to course-correct before a large amount of code exists.
The second step is distributing different types of knowledge across different control layers:
CLAUDE.mdstores build commands, architectural conventions, and recurring project gotchas. Keep it to about a page and update it as the project evolves.- Skill files encode safety standards, design guidelines, and repeatable processes, increasing the odds the agent follows organizational policy.
- Hook, tests, and CI enforce rules that must hold unconditionally—like frozen directories that can't be touched or tests that can't be modified during a bug fix.
- Settings, sandboxes, network allowlists, and short-lived credentials limit what the agent can see and reach.
Commands, architecture, conventions, common mistakes
Can go stale and may be misinterpretedSafety standards, design norms, repeatable processes
Raises compliance odds but does not guarantee executionAllow, ask, or block, and leave tool evidence
Only enforces rules that are correctly writtenRestricts file, network, tool, identity, and environment permissions
An incorrect allowlist still expands permissionsJudges intent, conflicts, high risk, and production authorization
Review capacity remains a scarce resourceThese layers can't impersonate each other. CLAUDE.md and Skills belong to the prompt and knowledge layer. Boundaries that must always hold need to be enforced by Hooks, CI, branch protection, or permission systems. Hard rules don't become correct on their own; they just reliably enforce whatever was written into them.
The third step is handling sources of truth and parallelism. The repository or a legacy business system can be authoritative, but you can't maintain two versions of "the truth" without linking them. Parallel sessions are best for complete, independent tasks in separate worktrees. Subagents are narrow-role helpers within the main session, with their own context and restricted tools. Work that shares many files should still be serial; the practical limit on parallelism is how much output a human can review.
- Artifact delivered: an approved
plan.md, the code diff, and tests. - Machine evidence: build results, test results, consistency with the plan, and Hook allow/block records.
- Human gate: the engineer approves the plan and decides whether the implementation matches the intent and whether the risk is acceptable.
- Suggested metrics: percentage of implementations merged on the first attempt, number of rework rounds, and how closely the diff aligns with the plan.
Test: making evidence independent from the writing agent
Agents should be able to run builds, tests, type checks, and visual validation on their own before handing off to a human, iterating based on failures. This is a feedback loop: failures go straight back to the executor rather than sitting in a human review queue.
But "the agent's tests passed" isn't good enough. Validation evidence can't be arbitrarily rewritten by the same execution process that produced the code. For bug fixes, write and commit a test that is known to fail first, then use Hooks or review rules to prevent the agent from modifying it during the fix. Otherwise, the agent might produce a green result by loosening an assertion, deleting an edge case, or rewriting the test.
A continuous feedback loop is different from an independent verifier. The former corrects errors quickly within the same session. The latter revalidates the result in a fresh context with independent tool permissions, avoiding inherited assumptions from the code-writing session. Run logs, screenshots, session transcripts, OpenTelemetry data, and PR check runs together form an evidence chain—not just "tests passed."
Testing should also cover agent configuration itself. The playbook suggests collecting 20–50 tasks from recent real work and running the same eval whenever the model, prompts, CLAUDE.md, Skills, or Hooks change. Every production incident should also become a permanent eval case.
- Artifact delivered: test logs, screenshot diffs, independent verification conclusions, and eval results.
- Machine evidence: a one-click validation command, protected failing tests, and a continuous regression set.
- Human gate: the code owner determines whether the evidence genuinely covers the expected behavior and the risks.
- Suggested metrics: first-pass CI rate after agent self-check, eval pass rate, and the number of production regressions.
Deploy: agents automate up to the production gate
The Deploy section covers three capabilities: AI participating in PR review, Hooks acting as approval gates, and agents running non-interactively in CI/CD. The common principle: agents can automate everything up to the production gate, but they have no path to authorize production on their own.
AI review can check PRs across passes like bug, security, and compliance. It can also respond to @claude comments by modifying code, fixing checks, and pushing updates. A REVIEW.md file defines what counts as Important, what is just a Nit, and which generated files or CI-covered content should be skipped.
Separation of duties still applies. AI review findings can inform a decision, but can't approve or block a PR on their own. Branch protection still requires code owner approval, and the agent that wrote the code has no path to approve its own changes.
Release permissions are tiered by environment. Dev gets more freedom, staging sits in the middle, and production only allows preparing a release and waiting for a named release lead to authorize. Agent jobs run in sandboxes with short-lived, scoped credentials; they don't hold standing production permissions by default.
Rollback is the most practiced path in the whole pipeline. It should ideally be a single command, rehearsed regularly in staging. Only after rollback has been proven to work can the Maintain phase safely invoke it in a serious incident.
- Artifact delivered: the PR, AI review findings, human approval records, and release/rollback logs.
- Machine evidence: a unified review pass, Hooks, branch protection, sandbox, and pipeline checks.
- Human gate: the code owner assesses code risk; the release lead authorizes production actions.
- Suggested metrics: time to first review, time to resolve review comments, wait time at each gate, and DORA metrics.
Maintain: turning production anomalies back into intent.md
Maintain is the only phase where the trigger shifts from a human starting an agent to an event waking the agent automatically. The playbook therefore puts heavy emphasis on maturity prerequisites: observability, a stable baseline, low-noise triggers, independent permission boundaries, and rehearsed rollback. Missing any one of these means automated response is a bad idea.
Anomaly detection itself stays deterministic. Versioned scripts monitor CI failure rates, 5xx errors, post-release error rates, or process metrics. Only when a control bound is breached does the agent get called in. Minor anomalies are just logged; moderate ones allow read-only diagnosis; severe ones can open a PR or trigger a pre-approved runbook.
The agent writes the anomaly, evidence, affected systems, suggested outcome, and open questions into a new intent.md, which re-enters the Plan phase. Once the fix is released, the incident is added to the eval set, and production feedback thus flows back into the development system.
The playbook demonstrates the full loop in an incident channel using Claude Tag: after an urgent message appears at night, Claude joins the discussion under its own identity, reads the channel history, checks metrics, and proposes a diagnosis. Production actions wait for explicit human authorization. Once authorized, it executes the approved rollback, uses MCP to confirm metrics return to baseline, and writes the postmortem into a versioned lessons file. Small, well-understood issues turn directly into a PR; larger-scope issues generate a new intent.md.

Original case diagram. The channel retains the full record of requests, diagnostics, human approvals, actions, and verification, making the channel itself the incident audit trail.
- Artifacts submitted: diagnosis, incident record, fix PR, versioned postmortem, and updated
intent.md. - Machine evidence: deterministic control gates, metric recovery verification, and a permanent eval tied to the incident.
- Human gate: the service lead triages, approves high-risk actions, and decides whether to fix now, schedule the fix, or reject it.
- Suggested metrics: time from anomaly to intent, rate of discoveries converted into merged fixes, and recurrence rate of similar incidents.
Implementation order: 12 plays, not a six-phase checklist
The guide is organized around six phases, but the actual rollout order is dictated by dependencies. The official dependency graph contains 12 plays, and you can't simply work mechanically from Plan automation all the way to Maintain.
Arrows indicate adoption dependencies, not the runtime order of the six stages.
-
Foundation layer · can start in parallel
Capture intent · CLAUDE.md · Feedback loop · Hooks · Plan mode
Get readable input, runnable evidence, and action boundaries first
-
Reuse layer · expand once foundations exist
Skills · Subagents · Evals
Make policies reusable, validation independent, and configuration regression-friendly
-
Organization layer · integrate into formal delivery
Requirements & design · PR review
Connect artifacts and evidence to cross-role decisions and code approval
-
Autonomy layer · open last
CI/CD · Closing the loop
Run non-interactively up to production gates, and feed production events back into planning
The first layer can start in parallel: Capture intent, CLAUDE.md, Feedback loop, Hooks, and Plan Mode. Together, these establish readable input, project context, runnable evidence, action boundaries, and a planning step before any code is written.
The second layer adds Skills, Subagents, and Evals, making policies reusable, verification more independent, and configuration subject to regression testing. The third layer wires those capabilities into Requirements & design and PR review. Only in the fourth layer do you move into non-interactive CI/CD and Closing the loop.
The principle is straightforward: prove an agent can leave trustworthy evidence in a scoped task before giving it a longer runtime; prove boundaries can't be bypassed before granting more tools and permissions. Jumping straight to automated fixes for production anomalies skips every prerequisite around intent, testing, approval, permissions, and rollback.
What this guide doesn't prove, and where teams should start
This Playbook is practical, but three limits shouldn't be diluted by vendor narrative.
First, a blueprint is not evidence of effectiveness. The original text suggests tracking cycle time, first-pass CI rate, PR review, DORA, and incident recurrence, but it doesn't publish before-and-after customer results. Teams must validate with their own pilot data.
Second, traceability is not the same as compliance. Git and PRs leave records, but reliable auditing also requires identity, non-bypassable permissions, source-of-truth mapping, log retention, separation of duties, and organizational buy-in.
Third, determinism is not correctness. Hooks will consistently execute the rules that are written, and CI will consistently run existing tests. If a rule or test is poorly designed, the system simply executes that flawed judgment more reliably. Incidents must be able to feed back and revise tests, evals, Skills, and permission policies.
So don't start by building a large platform that spans all six phases. Pick a low-risk, high-frequency change that's easy to verify—such as a copy fix, an internal tool, or a scoped bug with mature existing tests—and run through the following four steps.
-
01
Limit scope
Pick a low-risk, high-frequency change that is easy to verify
Accept: task boundaries and prohibited items are clear -
02
Harden artifacts
Fix the minimal fields for intent, spec, plan, and PR
Accept: downstream never needs verbal clarification -
03
Close the verification loop
Provide one-click tests, plus a non-bypassable hook or CI gate
Accept: failures reproduce and boundaries actually block -
04
Measure results before expanding access
Track cycle time, first CI pass, review rework, and escaped defects
Accept: quality holds and review burden does not rise
When evaluating, don't ask how much code the agent wrote. Instead, look at the cycle time from intent acceptance to PR, the first-CI pass rate after the agent's self-checks, human review time and rework rounds, and the number of escaped defects or rollbacks after merge. Only after cycle time improves without degrading quality or review burden should you gradually expand task scope, parallel sessions, and permissions.
The entire guide ultimately distills to three questions: what evidence does each phase leave behind, what boundaries can't be bypassed, and who is accountable for the final judgment. Get one change to flow completely, verifiably, and traceably through to PR first—then talk about letting the whole loop run itself.
AI-NATIVE SDLC · CONTROL LOOP
AI-native SDLC: turning a six-stage relay into one verifiable control loop
Once coding speeds up, waiting, handoffs, and approvals start dominating delivery time. Anthropic's approach pushes all six stages forward with structured artifacts, lets machines verify the results, and keeps humans only at high-risk decision points.
Faster code, slower everything else
Local speedups just move the bottleneck downstream. The SDLC has to be reworked as a whole.
Six-stage artifact track: every step leaves a versioned input
PLANPlan → DesignBusiness intent goes into intent.md. The design phase locks constraints, boundaries, and risks into spec.md.
BUILDBuild → Testplan.md first lists the change scope and risks. Code, tests, and visual results together form a verifiable implementation.
RUNDeploy → MaintainReview records and release evidence enter production. Monitoring anomalies then generate diagnostics, fix intent, and regression tests.
Git stores more than code. It also captures intent, specs, plans, reviews, and incident learnings, forming an audit trail that spans the whole lifecycle.
Four-layer control stack: from guidance to real enforcement
Guidance layerCLAUDE.md, Skills, and REVIEW.md carry architecture, brand, safety, and review rules.
Enforcement and environment layerHooks, CI, permissions, sandboxes, and isolated environments stop test tampering, credential leaks, and unauthorized releases.
Human gateProduction releases, high-impact changes, rollbacks, and exceptions keep a clear owner and approval record.
Prompts can express rules, but actual red lines need system and permission enforcement.
One incident becomes reusable evidence for the next round
1Monitoring triggersAnomalous metrics wake up the agent, which collects logs, change records, and relevant runtime context.
2Diagnosis and decisionThe agent outputs candidate causes and suggested actions. High-risk fixes or rollbacks still need human approval.
3Permanent write-backFixed incident samples go into intent.md, rules, or CI evaluation sets, so the same problem can't slip through again.
Knowledge from the maintenance phase feeds back into Plan, turning the linear lifecycle into a closed loop.
Start with one minimal loop, use four metrics to decide when to expand
Pick one sliceChoose a task that's repetitive, verifiable, and safe to roll back. Connect intent, implementation, testing, deployment, and monitoring.
Measure four outcomesTrack delivery cycle time, first-pass yield, defect escape rate, and human wait time.
Expand on evidenceOnly after verification coverage and traceability improve, increase agent permissions, parallelism, and production scope.
The completion criteria for AI-native SDLC: faster end-to-end delivery, errors blocked, and accountability traceable.
AI-NATIVE SDLC · SIX SCENES
Code took minutes. Why does shipping take days?
A Lan stands at the left end of a long track. Six desks are labeled Plan, Design, Build, Test, Deploy, Maintain. A single work order gains attachments at each desk, and every station shows a "waiting" sign.
A LanEveryone is busy, but the customer still sees only waiting.
Traditional SDLC passes work linearly between roles. Queueing and context switching spread waste across the whole pipeline.
A blue agent cart speeds out of Build. Its code box has been timed for just a few minutes, but the track ahead is blocked by yellow queues at Test and Deploy, and the Plan station behind is piled with clarification sticky notes.
A LanFaster coding just moves the bottleneck.
Local automation just exposes waiting elsewhere. End-to-end cycle time is the real target.
A Lan and the team remove the paper stacks between desks and lay three blue sleepers: intent.md, spec.md, plan.md. The agent cart reads version numbers from the sleepers, moves through Plan, Design, and Build, and leaves a complete audit trail.
A LanIf the previous station leaves verifiable artifacts, the next one can start work immediately.
Structured artifacts reduce handoff friction. Intent, constraints, plans, and results become versioned and traceable.
A blue agent cart approaches a black gate. A CLAUDE.md signpost points the way. The gate posts say TEST and HOOK; the ground is SANDBOX. A code box is blocked by a red bar because its changed tests failed. A Lan presses "Rework" at an amber approval console.
A LanClear rules are not enough. The guardrail has to actually stop the cart.
High-risk actions must be locked down with Hooks, CI, sandboxing, and permissions. Keep a human gate for production releases.
In a night operations room, a monitor suddenly shows a red 5xx spike. The blue agent cart is woken by the alert and drags in logs, recent changes, and candidate causes. A Lan checks the evidence and confirms the action before pulling the rollback authorization lever.
A LanLay out the evidence and options first, then decide what to touch in production.
Automation in maintenance should shorten time to detection and diagnosis. High-risk fixes and rollbacks still need a named approver.
After the fix, the 5xx incident card is pressed into a new intent.md sleeper and copied into the CI regression box. The cyan return track from Maintain loops back to Plan. A Lan lowers an "expand permissions" ruler, and the blue agent cart starts another lap.
A LanEvery failure should make the next lap faster and prevent the same mistake.
When operational evidence feeds back into planning, rules, and evaluation, the SDLC becomes a learning loop rather than a linear handoff.
Members can copy or download the full Markdown, and let their AI subscribe and ask.
Found this useful? Leave your email — every new explainer, the moment it's out. Unsubscribe anytime.
