Skip to content

What is the structured approach for an Agentic Coding? #22

@udapy

Description

@udapy

1. Master Context Engineering to Escape the "Dumb Zone"

AI struggles with complex ("brownfield") codebases because overloading the context window leads to hallucinations and diminishing returns—the "Dumb Zone." The solution is Context Engineering: actively curating the information fed to the model. By prioritizing "better tokens in," you ensure the AI remains objective and effective rather than getting lost in the noise of a large codebase.

2. Use Sub-Agents for "Intentional Compaction"

To keep the main context window lean, employ sub-agents to explore the codebase and return only concise summaries. This strategy, called Intentional Compaction, prevents the parent agent from absorbing unnecessary raw data. It ensures that the context remains highly relevant and compressed, allowing new interaction turns to start efficiently without carrying the baggage of the entire file history.

3. Enforce the RPI Workflow (Research, Plan, Implement)

Do not outsource the actual thinking to the AI.

Instead, use the RPI Workflow to amplify "human intent" :

  • Research: The AI generates a concise research document on the system.
  • Plan: The AI creates a specific plan with file names and logic (a "compression of intent").
  • Implement: The AI executes the code. Crucially, a human must review the Research and Plan phases to ensure alignment before implementation begins.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions