Building an Evaluation-First Development Strategy for AI Service Agents
monday · Tech · 2026 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.4 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: Enterprise service-management AI agents
monday needed to build AI service agents whose quality could be developed, deployed, and monitored with evaluation as a Day 0 engineering requirement rather than a final manual check.
Constraints:
- Role-based agents needed reliable behavior across multi-turn service-management workflows.
- Offline evaluation had to be fast enough for development feedback loops.
- Production traces needed ongoing quality monitoring.
- Evaluation logic had to be versioned and deployable like application code.
Architecture
monday built a LangGraph-based ReAct service agent with an evaluation-first workflow. Offline evaluations run as code through LangSmith/Vitest-style CI experiments, online multi-turn evaluators monitor production traces, and evaluation deployment is handled through version-controlled GitOps-style commands.
Diagram confidence: explicit (topology described by the source).
flowchart LR developer[Developer] --> git-repository[Git Repository] git-repository --> ci-evaluation-runner[CI Evaluation Runner] ci-evaluation-runner --> langgraph-react-agent[LangGraph ReAct Agent] ci-evaluation-runner --> langsmith-experiments[LangSmith Experiments] langgraph-react-agent --> production-traces[Production Traces] production-traces --> multi-turn-evaluator[Multi-Turn Evaluator] git-repository --> evaluation-deployment[Evaluation Deployment] langgraph-react-agent --> knowledge-base[Knowledge Base]
Components
| Component | Role | Interacts with |
|---|---|---|
Developer |
Builds service agents and evaluation logic. | Git Repository |
Git Repository |
Source of truth for agent and evaluation code. | CI Evaluation Runner, Evaluation Deployment |
LangGraph ReAct Agent |
Role-based service-management agent. | Production Traces, Knowledge Base |
Knowledge Base |
Grounding content used by the service agent. | LangGraph ReAct Agent |
CI Evaluation Runner |
Runs offline evaluations and logs experiments. | LangSmith Experiments, LangGraph ReAct Agent |
LangSmith Experiments |
Stores distinct CI evaluation experiments and results. | CI Evaluation Runner |
Production Traces |
Runtime traces for online quality monitoring. | Multi-Turn Evaluator |
Multi-Turn Evaluator |
LLM-as-judge quality monitor over production conversations. | Production Traces |
Evaluation Deployment |
GitOps-style deployment path for evaluation code. | Git Repository |
Data flow
Developers author agent and evaluation logic in code. CI runs offline evaluation experiments, production traces flow into online multi-turn evaluators, and version-controlled evaluation deployments keep repository code as the source of truth.
Why this architecture
monday moved evaluation to Day 0 because agent reliability could not be managed through last-mile checks. Treating evals as code gave fast local/CI feedback, production trace monitoring, and deployable evaluation logic with the repository as source of truth.
Models used: LangGraph ReAct agent · Multi-Turn Evaluator · LLM-as-a-judge
Scale
- Evaluation feedback loops became 8.7x faster, dropping from 162 seconds to 18 seconds.“* Speed: 8.7x faster evaluation feedback loops (from 162 seconds to 18 seconds). * Coverage: Comprehensive testing across hundreds of examples in minutes instead of hours.”article, stated
- The framework runs hundreds of examples in minutes instead of hours.“* Coverage: Comprehensive testing across hundreds of examples in minutes instead of hours. * Agent observability: Real-time, end-to-end quality monitoring on production traces, using Multi-Turn Evaluators.”article, stated
- The article reports concrete timing of 162.35 seconds before optimization.“4.1x faster Sequential 162.35s Baseline ### Pillar B: Online Evaluations — "The Monitor””article, stated
- The optimized evaluation loop reached about 18.60 seconds.“18.60s”article, stated
Alternatives considered (roads not taken)
Treat evaluation as a final QA check.
Rejected because: monday made evaluation a Day 0 requirement for agent development.
Run offline evaluations serially.
Rejected because: Serial evaluation was too slow for tight feedback loops.
Manage evals outside the production codebase.
Rejected because: The team wanted version-controlled eval logic and GitOps deployment.
Patterns
eval-driven-development (quality)
Evaluation is required from Day 0 and runs in CI and production monitoring.
llm-as-judge (evaluation)
Multi-turn evaluators judge production traces.
observability-tracing (operations)
Production traces are monitored end-to-end for agent quality.
prompt-versioning (release)
Evaluation logic is versioned and deployed like production code.
Tradeoffs
Evaluation timing
Chose Day 0 evaluation over Last-mile evaluation.
Rationale: Agent quality had to shape development from the beginning.
Evaluation execution
Chose Distributed workers and remote API calls over Serial offline evaluation.
Rationale: The distributed approach reduced feedback-loop time by 8.7x.
Eval operations
Chose GitOps-style eval deployment over Ad hoc evaluator configuration.
Rationale: Versioned code kept evaluation behavior auditable and deployable.
Gotchas (what bit them)
Slow evals break development velocity.
Root cause: Serial offline evaluation made feedback loops too long.
Resolution: Distribute evaluation load across local workers and remote API calls.
Offline checks alone miss production conversation quality.
Root cause: Service agents operate across real multi-turn production interactions.
Resolution: Add online multi-turn evaluation over production traces.
Evaluation
The system is itself evaluation-centric: offline CI experiments, LangSmith experiment logging, production trace monitoring, multi-turn evaluators, and KB grounding/citation checks form the release discipline.
Metrics: Feedback-loop time · Coverage examples · Production trace quality · KB grounding · Citation correctness
Outcomes
- Evaluation feedback loops improved 8.7x.
- Hundreds of examples can be tested in minutes rather than hours.
- Evaluation logic is version-controlled and deployed through GitOps-style workflows.
The article reports feedback-loop time dropping from 162 seconds to 18 seconds and comprehensive testing across hundreds of examples in minutes.