community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Building at Scale: Long-Running AI Agents for Real Development

A three-phase agentic orchestration system (Building, Reviewing, Improving) for developing large-scale Business Central ecosystems using AI agents. The author demonstrates the pattern by creating 38 applications across 700+ AL files while managing dependencies, quality standards, and model drift through comprehensive instructions, JSON progress tracking, pattern-based reviews, and strategic model selection.

post Jeremy Vyska

Jeremy Vyska · 2026-02-10 · 1,997 words · about 9 min

Key points

  • Use different Claude models strategically: Opus for planning and instruction creation, Sonnet or Haiku for mechanical implementation execution
  • Implement three-phase workflow with stateful JSON progress tracking and dependency-aware task identification to enable AI agents to self-direct and avoid rework
  • Pattern-based review across nine architectural dimensions (naming, data model, business logic, performance, security, error handling, extensibility, UX, sustainability) scales better than line-by-line code review
  • Combat model gravity through comprehensive explicit instructions, validation checkpoints, and multiple correction passes since models have behavioral tendencies that persist despite clear guidance
  • Leverage parallel task execution once dependencies map and instructions stabilize, achieving initial implementation in approximately two hours for 19 applications

Heads up

  • warning: “Single-pass corrections often revert in later sessions. Need validation layers to catch systematic drift.”
  • gotcha: “Trying to do too much causes context loss. Better to do one category thoroughly than many superficially.”

Context

  • Features: agentic orchestration system, pattern-based code review, dependency-aware task management, JSON progress tracking, architectural validation, parallel task execution, model selection strategy, instruction-driven development

Source: Jeremy Vyska, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.