Mabl Engineering Blog
Read post

Three Years of Building Agents in Production (Part 2)

A mabl engineer shares lessons from three years building AI agents in production for software testing. After a successful demo exposed infrastructure fragility, the team paused feature development for a winter sprint to build a unified Agent Framework. The framework rests on three pillars: shared context compaction strategies to manage LLM token limits, composable shared tool definitions with a message handling layer that catches hallucinations and enforces self-correction loops, and evals-as-code with LLM-as-a-judge suites to prevent regressions. The result is an ecosystem of six agents (authoring, recovery, results analysis, failure diagnosis, application modeling, session review) that can be assembled rather than hand-crafted. Key insight: scaling AI is not about better prompts but about returning to foundational software engineering practices — reusability, error handling, and standardized testing become more critical, not less, when non-deterministic tools are involved.

    #testing#llm#ai-agents#rag
Jul 08•11m read time•From mabl.com
Post cover image
Table of contents
The Demo That Changed EverythingThe Winter Sprint: Building the FactoryA Complementary Transformation: The 75-Repo ShiftThe Cultural TransformationThe Flywheel Spins UpEscaping the Magic BoxPillar 1: Shared Context and Compaction StrategiesPillar 2: Shared Tool Definitions and a Cohesive Message FrameworkPillar 3: Evals-as-Code and Measurable SafetyThe Payoff: An Ecosystem of AgentsConclusion: The AI-Native Engineering Team
765 Impressions1 Comment
Mabl Engineering Blog's image
Mabl Engineering Blog

0 Followers

•

7 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard