CCode Story: Insights from Startup Tech Leaders
← All frameworks
StrategyPatrick Vuong

Three-Stage Agentic Development Journey

Move from AI-ready code to effective agents and autonomous factories

Difficulty
Advanced
Time to result
~months to results
Steps
3
Confidence
96%

The journey separates agentic software development into three maturity stages. First, an organization prepares its foundations by upgrading frameworks, fixing vulnerabilities, and reducing technical debt so agents receive reliable inputs. Second, it equips coding agents with better search, architectural context, and portfolio awareness, improving their accuracy and efficiency on an AI-ready codebase. Third, it introduces autonomous factories in which agents plan and execute repeatable modernization work while humans enter the loop for judgment, approval, and exceptions. The mechanism is sequential: cleaner code improves agent output, stronger tools make agents dependable, and dependable agents make governed autonomy practical. Teams should identify their current stage rather than adopting the most advanced operating model prematurely.

Origin

Extracted from Code Story: Insights from Startup Tech Leaders during Patrick Vuong's explanation of how Moderne supports customers across successive stages of agentic development.

Core principles

  • 01Modernize the codebase before scaling agent use
  • 02Improve agent effectiveness before pursuing autonomy
  • 03Match tooling to the organization's current maturity
  • 04Keep humans involved where judgment or governance is required

How to run it

  1. 1

    Prepare the codebase

    Upgrade frameworks, remediate vulnerabilities, and clean up technical debt. Treat code quality as an input that directly affects agent output.

    Pro tip Prioritize changes that improve both maintainability and machine comprehension.

    Watch out Do not expect agents to compensate reliably for a highly inconsistent or fragile codebase.

  2. 2

    Make agents effective

    Provide agents with precise search, precomputed architectural context, and awareness of work already in flight. Track whether these tools reduce reasoning time, tool calls, and token consumption.

    Pro tip Measure performance on representative repository tasks rather than isolated demos.

    Watch out A successful single-repository demo does not prove that the approach will scale.

  3. 3

    Introduce governed autonomy

    Assign repeatable goals to orchestrated agents and use deterministic tools for execution. Bring humans into the loop for exceptions, approvals, and consequential decisions.

    Pro tip Begin with bounded goals such as a framework upgrade or vulnerability-remediation campaign.

    Watch out Do not remove human oversight before workflows are observable and auditable.

In the wild

Enterprise Java modernization

An enterprise first removes obsolete dependencies and standardizes build configurations across its Java repositories. It then gives coding agents semantic search and architectural context before assigning a factory-level goal to migrate services to Java 25, with humans reviewing exceptions and high-risk changes.

→ The organization progresses toward fleet-wide automation without asking probabilistic agents to navigate an unprepared estate.

Common mistakes

Jumping directly to autonomy

Deploying autonomous agents before cleaning the codebase and improving their context amplifies existing complexity and uncertainty.

Treating maturity as binary

Organizations may need different stages for different repositories; forcing the whole portfolio into one model can create unnecessary risk.

Is it for you?

Best for

Engineering organizations progressing from legacy-code modernization to governed, large-scale agent automation.

Not ideal for

Greenfield teams with no meaningful existing codebase or immediate need for fleet-scale automation.

From the transcript

“So essentially, we meet customers wherever they are in their journey and we help them move forward with modern to get to those three different…”

Patrick Vuong · 12:45

“This is where modernization becomes autonomous.”

Patrick Vuong · 16:18

“Big about dark factories, where agents are fully operating and then bringing human in the loop when it's needed.”

Patrick Vuong · 12:38

From the episode

Making AI Deterministic for Developers and their Agents, with Patrick Vuong of Moderne

Patrick Vuong

→