← Back to Blog

Agentic Golden Paths: From Paved Roads to AI Agents That Walk Them With You

Platform Engineering AI Agents Spec Driven

A golden path used to be a template, a pipeline and a good README. In an AI-native team, the path can also have guides: agents that know the rules, do the boring steps, and hand the work to the next agent. This post explains how.

1. The Classic Golden Path, in One Minute

A golden path is the recommended, ready-made way to do a common engineering task, such as creating a service, setting up CI/CD or deploying. It bundles tested templates, tools, config and good practice into one flow.

Sources

2. Why the Classic Path Is Not Enough Anymore

The classic path is static. Someone writes the template and the docs, and then they slowly go stale. Developers still have to read, search and ask. AI-native teams work differently:

Classic golden pathAgentic golden path
FormTemplates, scripts, docsTemplates + agents that use them
Who walks the pathThe developer, aloneThe developer with role-based agents
KnowledgeSpread across READMEs and wikisOne structured knowledge base
Starting pointA templateA spec
OnboardingRead docs, ask peopleTalk to an onboarding agent
Keeping it freshPlatform team updates docsAgents report gaps, the knowledge base gets updated
FeedbackSurveys, ticketsAgent logs, metrics, and surveys
End pointDeployed to productionDelivered to the customer and observed

The principles stay the same. The path is still optional, transparent, extensible and customizable. What changes is that the path now talks back.

3. The Big Picture

There are three layers:

  1. Supply: a knowledge base that feeds every agent.
  2. Agents: role-based agents that each own one part of the path.
  3. Flow: a spec-driven process that moves work from idea to customer.
flowchart LR
    DEV([Developer]) --> AG
    KB[(Knowledge Base)] --> AG
    subgraph AG[Role-based Agents]
        direction LR
        ON[Onboarding] ~~~ SP[Spec] ~~~ BU[Builder] ~~~ RV[Reviewer]
        QA[QA] ~~~ RT[Release Test] ~~~ DE[Deployer] ~~~ OB[Observability]
    end
    AG --> CUS([Customer])
    AG -. lessons .-> KB
                

4. The Supply: A Knowledge Base

Every agent is only as good as what it knows. The knowledge base is the single source of truth that all agents read from.

Out of scope: how to build the knowledge base (storage, indexing, retrieval, access control) is not covered in this post. We assume it exists and is well structured.

What it should hold:

SectionExamplesMain readers
Engineering standardsCoding rules, naming, review rulesBuilder, Reviewer
ArchitectureService map, trunk vs. leaf code, APIsSpec, Builder, Reviewer
SpecsProduct specs, ADRs, acceptance criteriaSpec, QA, Release Test
TemplatesService skeletons, pipelines, IaC modulesBuilder, Deployer
RunbooksDeploy steps, rollback steps, on-call guidesDeployer, Observability
EnvironmentsDev, staging, prod config and access rulesOnboarding, Deployer
Quality barsTest coverage rules, performance budgets, SLOsQA, Release Test, Observability
HistoryPast incidents, postmortems, known issuesObservability, Reviewer
People and ownershipTeams, CODEOWNERS, who to askOnboarding, Reviewer

Rule of thumb: if an agent had to guess, the knowledge base has a gap. Agents should report those gaps.

5. The Agents and Their Roles

Each agent has one job, a clear input and a clear output. Small, focused agents are easier to trust, test and replace.

AgentJobInputOutput
OnboardingGet a new engineer productive on day oneNew hire profile, team, repo accessLocal setup done, access requested, first task picked, learning plan
SpecTurn an idea into a clear specTicket, product notes, architectureSpec with goals, acceptance criteria, risk level, rollout plan
BuilderWrite the code from the specApproved spec, templates, standardsSmall PRs with tests, behind a feature flag
ReviewerReview with fresh eyesPR, spec, standardsReview comments, spec-match check, risk notes
QAProve the change worksSpec, PR, test dataTest results, edge cases, missing-test report
Release TestCheck the release as a wholeRelease candidate, staging envSmoke tests, regression results, go/no-go report
DeployerShip safelyApproved release, runbooksCanary rollout, flag changes, rollback if needed
ObservabilityWatch production and explain what happensLogs, traces, metrics, SLOsHealth report, alerts, incident summary, lessons for the knowledge base

The Observability Agent and Its Sub-Agents

Production is noisy, so the Observability Agent splits the work:

flowchart LR
    P[Production signals] --> SUB
    subgraph SUB[Observability Agent]
        direction TB
        L[Logs] ~~~ T[Trace] ~~~ M[Metrics]
        S[SLO] ~~~ C[Cost] ~~~ U[User Impact]
    end
    SUB --> R[Health report + rollback advice]
                
Sub-agentWatchesRaises a flag when
LogsError logs, new log patternsA new error type appears after a release
TraceDistributed tracesA request path gets slower or starts failing
MetricsLatency, throughput, error rateA metric crosses its threshold
SLOError budgetThe budget burns faster than planned
CostCloud spendA release makes a service much more expensive
User ImpactTickets, feedback, product analyticsUsers report the same problem, or key metrics drop

The coordinator combines their signals into one answer: is this release healthy, and should we roll back?

Other Agents You Can Add

6. How the Agents Work Together

You have two main options.

Option A: Composable Agents in One Framework

All roles live in one system and share skills and workflows. Mitra is an example: a set of agent personas (Analyst, Architect, Engineer, Designer and more), each with its own skills and review workflows, running inside Claude Code and similar tools.

Option B: Standalone Agents That Talk to Each Other

Each role is its own agent, for example a separate Claude Code session per role. Agents pass work along through a messaging layer, such as Claude Code channels or a team chat. An orchestrator, either a dedicated Claude agent or another model like Grok, controls the order and the handoffs.

flowchart LR
    subgraph A[Option A: Composable]
        direction TB
        F[Framework e.g. Mitra] --> AP
        subgraph AP[Personas]
            A1[Spec] ~~~ A2[Builder] ~~~ A3[Reviewer]
        end
    end

    subgraph B[Option B: Standalone + orchestrator]
        direction TB
        O[Orchestrator: Claude or Grok] <--> CH{{Message channel}} <--> BP
        subgraph BP[Agents]
            B1[Spec] ~~~ B2[Builder] ~~~ B3[Reviewer]
        end
    end
                
Composable (Mitra-style)Standalone + orchestrator
SetupOne frameworkMany agents + a channel
Shared contextBuilt inPassed in messages
ScalingGrow the frameworkAdd or scale one agent
OwnershipOne teamEach team owns its agent
FailureCan affect all rolesStays inside one agent
Best forGetting startedLarge, multi-team setups

Tip: start with Option A. Move a role out as a standalone agent once it is stable and needs to scale on its own.

Handoff Rules (for Both Options)

Every handoff should carry the same basic package:

FieldExample
Spec linkspecs/checkout-retry.md
What was done"Added retry with backoff to payment client"
ProofTests, logs, screenshots
Risk levelTrunk / leaf
Open questions"Unsure about timeout value for EU region"
Next agentQA Agent

Agents should never pass "trust me". They pass proof.

7. The Spec-Driven Flow: From Day One to the Customer

The spec is the spine of the agentic path. Every agent reads it, checks against it, and updates it if reality changes. For more on this, see Spec Driven Development Part 1 and Part 2.

flowchart LR
    A[Onboard] --> B[Spec] --> G1{{Human ✅}} --> C[Build + Review] --> G2{{Human ✅}} --> D[QA + Release Test] --> G3{{Human ✅}} --> E[Deploy] --> F[Observe] --> CUS([Customer])
    F -. lessons .-> B
                

Step by Step

StageAgentHuman roleGate to pass
1. OnboardOnboardingMentor checks inDev can run, test and deploy a sample service
2. SpecifySpecApproves the specClear goals, acceptance criteria, risk level
3. BuildBuilderAnswers questionsSmall PRs, tests, behind a flag
4. ReviewReviewerApproves the mergeCode matches the spec, proof attached
5. VerifyQAChecks edge casesTests fail if the feature breaks
6. Release checkRelease TestReads the reportSmoke and regression tests green
7. ShipDeployerApproves the releaseCanary healthy, rollback ready
8. ObserveObservability + sub-agentsOn-call reviews alertsSLOs held, no new errors
9. LearnObservability → KBOwns the postmortemLessons saved to the knowledge base

Humans Stay in Charge

Agents do the work. Humans own the decisions. Three gates always need a person:

  1. Spec approval: are we building the right thing?
  2. Merge approval: is this the right code, and can someone explain it?
  3. Release approval: is it safe to ship now?

For trunk code, the risky shared parts, add stricter human review. For leaf code, agents can carry more of the load. See How to Review Code When AI Writes Most of It.

8. Onboarding: The Biggest Quick Win

Onboarding is where the agentic path pays off first.

WhenClassic pathAgentic path
Day 1Read the wiki, ask for accessOnboarding Agent sets up the machine, requests access, explains the service map
Day 2–3Clone repos, fight local setupAgent runs a guided "hello world" deploy on the golden path
Week 1Find a starter ticketSpec Agent picks a small leaf-code ticket and drafts the spec with the new hire
Week 2First PR, many review roundsFirst change in production, behind a flag, with proof from QA and Release Test

The new hire learns the path by walking it, with an agent explaining each step, not by reading about it.

9. Keeping the Classic Principles

The four classic principles still apply. Here is how they look with agents:

PrincipleClassic meaningAgentic meaning
OptionalTeams can leave the pathTeams can skip or swap any agent
TransparentYou can see what the pipeline doesEvery agent logs what it did and why
ExtensibleAdd steps to the pipelineAdd new agents or sub-agents
CustomizableChange settings without forkingChange agent rules through the knowledge base, not by forking agents

10. Measuring the Agentic Path

Keep the classic metrics and add a few agent-specific ones.

AreaMetricWarning sign
Adoption% of services and changes that use the agentsTeams turn agents off
OnboardingTime to first production changeNot faster than before
DeliveryCycle time, deployment frequencyFlat or getting worse
QualityChange failure rate, rollbacks, escaped bugsRising after adding agents
Agent trust% of agent output accepted without big reworkHumans redo most of the work
Knowledge base healthGaps reported by agents, time to fix themSame gaps reported again and again
CostAgent cost per shipped changeRising faster than value
SatisfactionDeveloper surveys and interviews"The agents slow me down"

Dashboards show what happened. Talking to developers shows why.

11. How to Start

Do not build eight agents at once.

  1. Pick one painful path. "New service to first deploy" is a good first choice.
  2. Write the knowledge base pages for it: standards, template, runbook, environments.
  3. Add two agents: Onboarding and Deployer.
  4. Add the Spec Agent and make specs the starting point.
  5. Add Reviewer and QA once the specs are stable.
  6. Add Observability with one or two sub-agents (Logs and Metrics first).
  7. Measure, listen, and grow one agent at a time.
flowchart LR
    V1[v1: KB + Onboarding + Deployer] --> V2[v2: + Spec] --> V3[v3: + Reviewer + QA] --> V4[v4: + Release Test + Observability] --> V5[v5: + Security, Docs, Incident]
                

12. Risks to Watch

RiskWhat it looks likeHow to reduce it
Stale knowledgeAgents follow old rulesAgents report gaps, owners review the KB regularly
Over-trustPeople merge agent work without reading itHuman gates, proof in every handoff
Black-box agentsNobody knows why an agent did somethingAgent logs, decisions linked to spec and KB pages
Too much accessDeployer can do anything in prodLeast privilege, approvals for risky actions
Agent sprawlMany agents with overlapping jobsOne job per agent, one owner per agent
Cost creepAgent runs cost more than they saveTrack cost per change, cap long runs
Skill lossEngineers cannot work without agentsAuthors must explain every change in their own words

Many of these risks are about the system around the model, not the model itself. Harness Engineering covers that side in more depth.

13. Takeaways

14. Read More