Evaluating and Deploying AI Agents for Multi-Source, Multi-Step Professional Tasks
This article explores the transition from basic conversational AI to reliable agents capable of executing complex professional workflows. It highlights the inherent challenges of multi-source, multi-step tasks—such as error amplification, context management, and the need for auditability—and outlines a comprehensive framework for evaluating and deploying these systems. Topics include evaluation design, common failure modes, a reference architecture for reliability, context engineering, execution guardrails, and a pragmatic path to production deployment.
1. From “Answering Questions” to “Completing Professional Work”
In the past, agent evaluations primarily focused on short-chain tasks: answering questions, calling a few tools, performing a single search, or generating a block of text. While these benchmarks reflect foundational capabilities, they struggle to answer a critical question: When a task requires traversing multiple information sources, undergoing multiple rounds of verification, and producing deliverables reviewable by professionals, is the agent still reliable?
Recently, a new class of benchmarks targeting real-world professional workflows has emerged. Instead of abstract brain-teasers, these tests reference typical work from lawyers, consultants, and bankers, requiring systems to gather information across multiple documents, emails, business spreadsheets, policy guidelines, and records. The systems must compare, calculate, reason, and synthesize to ultimately form conclusions, evidence explanations, or action recommendations. Public results show that top-performing systems achieve an accuracy of around 24% and 23%, with most systems scoring no higher than 20%. A year ago, similar tests yielded only about 5% to 10%. This indicates clear progress, yet a significant gap remains before agents can handle professional work unattended.
The significance of these numbers lies not in leaderboard rankings but in revealing an engineering reality: Professional workflows demand much more from agents than single-turn Q&A. Models must understand goals, manage constraints, maintain state, select evidence, handle conflicts, control risks, and maintain consistency over long execution horizons. A failure in any single link can render the final deliverable unusable.
Below, we explore how to build more reliable agent systems across five dimensions: the nature of the task, evaluation design, key failure modes, reference architecture, and deployment practices.
2. Why Multi-Source, Multi-Step Tasks Are Significantly Harder
1. Multi-Step Chaining Amplifies Errors
Assume the reliability rate of a single step is p, and a task requires n critical steps to be completed consecutively without error. The end-to-end success rate approximates p^n. For instance, if the single-step reliability is 0.85 and there are 8 critical steps, the overall success rate is roughly 27%. If the critical steps expand to 20, even with a single-step reliability improved to 0.95, the overall success rate might still only be around 30%. Professional tasks often involve numerous steps such as retrieval, filtering, comparison, calculation, review, writing, and formatting checks. Therefore, “looking good at each step” does not equate to “completing the task.”
2. The Challenge Goes Beyond Context Length
“Insufficient context processing capability” is often cited as the key bottleneck, but the solution isn’t simply expanding the context window. In real tasks, information sources may be redundant, conflicting, outdated, or incomplete. Agents must determine which information is relevant to the goal, which requires cross-verification, which serves only as weak evidence, and which must be disclosed to the user as an unresolved issue. Stuffing more material into the context often introduces noise, causing attention and constraint drift.
A more rational understanding is that context is an engineering resource requiring active management, including task state, evidence ledgers, constraint checklists, action history, tool outputs, and uncertainty markers. The system must selectively retain, structurally compress, retrieve on demand, and maintain source citations.
3. Professional Deliverables Require Auditability
Professional workflows demand not just “giving an answer” but ensuring the answer can be reviewed, verified, and held accountable. If a conclusion lacks evidence sources or fails to state applicable conditions and conflicting information, it cannot enter actual production even if the direction is correct. Therefore, evaluations must simultaneously focus on the final result, evidence chain, process constraints, and risk behaviors, rather than merely comparing the similarity of the final text.
3. Evaluation Design: Shifting from “Right or Wrong Answers” to “Task Completion”
Evaluating professional workflows requires a clear task definition. A reusable task description should include at least the goal, information sources, tool permissions, mandatory constraints, deliverables, and acceptance criteria. For example:
Task Definition:Role: Professional Analysis AssistantGoal: Form an analysis memo based on provided materialsInformation Sources: [Policy Documents, Emails, Business Spreadsheets, Records, System Logs]Tool Permissions: Read-only retrieval, restricted calculation, draft generation, citation organizationMandatory Constraints: Must cite sources; conflicts must be disclosed; original records cannot be modified; external sending is prohibitedDeliverables: Conclusion + Evidence Table + Pending IssuesAcceptance Criteria: Factual accuracy, evidence coverage, constraint compliance, controllable steps, zero unauthorized actions
1. Balancing Outcome and Process Metrics
Focusing solely on the final answer overlooks critical issues. It is recommended to cover at least the following dimensions:
| Evaluation Dimension | Focus | Typical Metrics |
|---|---|---|
| Task Success Rate | Does the deliverable meet acceptance criteria? | Pass rate, manual review pass rate |
| Facts & Evidence | Are conclusions backed by evidence? | Evidence coverage rate, percentage of unsupported conclusions |
| Constraint Adherence | Are permissions, formats, deadlines, and compliance met? | Constraint pass rate, count of unauthorized actions |
| Long-Horizon Consistency | Is goal and state maintained over multiple rounds? | Constraint drift rate, replanning count |
| Execution Efficiency | Is the task completed in a reasonable number of steps? | Average step count, tool call count, latency |
| Risk Control | Are high-impact misoperations avoided? | High-risk action interception rate, manual intervention rate |
| Recoverability | Can it recover after tool failure or data conflict? | Failure recovery rate, repeated failure rate |
Among these, unauthorized actions, unauthorized writes, and sensitive information leaks should be treated as zero-tolerance or hard constraint metrics. In real business scenarios, it is better to trigger more manual confirmations than to allow irreversible actions to execute without approval.
2. Evaluation Sets Must Cover the “Non-Ideal World”
Real-world data is rarely clean, complete, or uniformly formatted. Evaluation sets should include conflicting documents, missing fields, outdated policies, erroneous spreadsheets, irrelevant emails, malicious injection text, and temporary tool unavailability. Multiple acceptable paths should also be defined for the same task to avoid rewarding only a single fixed trajectory.
3. Public Benchmarks Do Not Replace Internal Evaluations
Public benchmarks provide horizontal references, but enterprise task distributions, terminology systems, permission boundaries, and acceptance criteria vary widely. A more effective approach is to extract desensitized tasks from real workflows to build an internal regression set. Maintain acceptance checklists and failure samples for each task. When models, prompts, tool configurations, or workflow strategies change, automatically run regression tests to prevent “improving on new samples while regressing on old scenarios.”
4. Common Failure Modes and Mitigation Strategies
1. Infinite Loops and Repetition Without Progress
Agents may repeatedly perform similar searches, re-read the same file, or continuously call the same tool when conditions are unmet. Causes typically include a lack of clear stopping conditions, unparseable tool outputs, un-updated state, or a planner that fails to recognize “no progress.” Engineering solutions require introducing action fingerprints, progress evaluation, and budget control. For example, generate a summary fingerprint for the tool name, parameters, and current state. If it repeats within a certain window without significant state change, trigger replanning or request human intervention.
2. Unauthorized and Uncontrolled Behavior
Uncontrolled behaviors include attempting actions beyond permissions, bypassing approvals, modifying original records, sending drafts to external parties, or providing high-risk conclusions with insufficient evidence. The response should not rely solely on prompt constraints but must enforce permissions at the tool layer: expose only necessary tools, validate parameters, separate reads from writes, set manual approvals for irreversible actions, support draft and dry-run modes, and maintain complete audit logs.
3. Losing Track in Long-Horizon Planning
With many steps, systems may forget the original goal, ignore intermediate constraints, or over-invest in a sub-task. Hierarchical planning should be used, breaking the main goal into phase goals with milestone checkpoints. At each checkpoint, re-verify the goal, constraints, completed items, evidence gaps, and remaining budget. Conditions triggering replanning should be explicitly defined, such as new conflicts emerging, consecutive failures, budget nearing limits, or manual rejections.
4. Context Fragmentation and Evidence Drift
After multiple execution rounds, critical conditions read early on may be compressed out, causing subsequent conclusions to reference outdated summaries, forming “evidence drift.” The solution is to maintain a structured evidence ledger rather than relying solely on natural language conversation history. Each key fact should record its source, timestamp, scope of applicability, confidence level, and conflict relationships with other evidence, and be traceable in the final deliverable.
5. Premature Convergence and Insufficient Verification
Models tend to generate seemingly complete answers as quickly as possible, but professional tasks often require repeated verification. A separate verification phase should be established using checklist validation: Do facts have sources? Were key numbers recalculated? Are constraints met? Are conflicts disclosed? Are actions unauthorized? The verifier can be rule-based, an independent checking process, or manual review, and should not be entirely intertwined with the generation phase.
5. A Reference Architecture for Reliability
A deployable professional workflow agent should typically not be just “one large model plus a prompt,” but an execution system composed of multiple controlled modules:
User Goal-> Task Intake & Constraint Parsing-> Hierarchical Planner-> Executor (Retrieval/Calculation/Document Drafting/Restricted Operations)-> Evidence Ledger & Task State Machine-> Verifier (Facts/Constraints/Permissions/Conflicts)-> Human Approval & Delivery-> Observation, Audit, & Regression Sample Accumulation
Responsibilities of each part:
- Task Intake Layer: Parses the goal, delivery format, deadline conditions, permission scope, and non-negotiable constraints.
- Planner: Generates hierarchical plans, maintains phase goals and budgets, and identifies when replanning is necessary.
- Executor: Calls retrieval, calculation, and text organization capabilities according to the plan. All calls must pass parameter validation and permission checks.
- Evidence Ledger: Records key facts and sources, supporting conflict annotation, citation generation, and final verification.
- Verifier: Independent of the generation process, checks factual support, constraint adherence, risk actions, and pending issues.
- Human Approval Layer: Sets approval gates for high-risk writes, external sending, and irreversible operations.
- Observation & Audit Layer: Records step trajectories, tool calls, errors, manual interventions, and final quality for monitoring and iteration.
6. Control Loop and Infinite Loop Prevention Example
The following pseudocode demonstrates a basic control loop with budgeting, replanning, and risk approval:
function run_task(task):state = init_state(task)plan = make_plan(task.goals, task.constraints)evidence = new_evidence_ledger()while not state.done and state.step < task.budget.max_steps:action = select_next_action(plan, state, evidence)if is_repetitive(action, state.recent_actions)and progress_score(state) <= task.progress_epsilon:state = replan(state, reason="no_progress")continueif not allowed_by_policy(action, task.permissions):state = request_approval_or_abort(action)continueresult = execute_with_timeout(action)evidence = update_evidence(evidence, extract_claims(result))state = update_state(state, result)if state.reached_checkpoint:verdict = verify(plan, state, evidence, task.constraints)if verdict.reject:state = replan(state, reason=verdict.reason)if is_irreversible_or_high_impact(action):require_human_approval(action)deliverable = compose_deliverable(state, evidence)return verify_final(deliverable, task.constraints, evidence)
The key points are: every step is bound by permissions and budgets; every checkpoint re-verifies goals, evidence, and constraints; proactive replanning occurs when there is no progress for an extended period; irreversible actions require approval. This ensures that even if the underlying model exhibits unstable behavior, the system does not directly pass risks to real business operations.
7. Context Engineering and the Evidence Ledger
The core of context management is not “remembering more,” but “remembering correctly, being searchable, and being traceable.” It is recommended to maintain at least three categories of information:
- Task State: Goals, phases, completed items, to-dos, budget, constraints, pending issues.
- Evidence Ledger: Fact content, source, timestamp, confidence, scope, conflict relationships, and whether it has been cross-verified.
- Work Log: Key actions, tool output summaries, failure reasons, and replanning rationales. Sensitive data should be desensitized and access-controlled before logging.
The evidence ledger can adopt the following structured format:
Evidence Record:claim_id: C-001content: A certain condition applies to the current tasksource: Document ID or Record Identifiertimestamp: Time of information generation or updateconfidence: High/Medium/Lowscope: Applicable scope and prerequisitesconflicts_with: [C-003]verified_by: [Cross-referenced sources]
When generating the final conclusion, the system should retrieve supporting material from the evidence ledger rather than relying on random recollection from compressed summaries. For conflicting evidence, the deliverable should explicitly disclose the conflict rather than forcing a seemingly definitive conclusion. For unresolved critical gaps, they should be added to the “pending issues” list with an explanation of their impact.
8. Long-Term Planning and Budget Control
Long-horizon tasks require treating the “plan” as a maintainable object. A three-tier structure can be adopted:
- Total Goal: The final deliverable and acceptance criteria.
- Phase Goals: Data collection, fact comparison, calculation verification, conclusion formation, evidence organization.
- Next Action: One retrieval, one calculation, one spreadsheet read, or one draft update.
Each phase should have checkpoints and budgets, including step count, time, call count, manual approval count, and cost limits. Conditions triggering replanning should be explicit, such as missing critical evidence, consecutive tool failures, discovery of new high-priority constraints, repeated verifier rejections, or budget depletion. Replanning should not mean “starting over,” but rather retaining existing evidence and completed items, only adjusting the subsequent path.
Additionally, the system should avoid investing infinitely in low-value sub-tasks. Priority rules can be applied: complete mandatory items before supplementary ones; resolve high-weight facts affecting conclusions before handling formatting and phrasing.
9. Execution Guardrails and Security Boundaries
Professional workflows typically involve sensitive information and real operations. Execution guardrails must be placed at the tool and system layers, not just written into prompts.
- Least Privilege: Only open the read scope and operational capabilities necessary to complete the task.
- Parameter Validation: Tool calls must adhere to structured parameter constraints, rejecting out-of-bounds paths and abnormal batch operations.
- Read/Write Separation: Separate retrieval from writes. Writes should first generate drafts, with manual approval if necessary.
- Dry Runs and Idempotency: High-risk actions should be dry-run first; repeated calls must have idempotent protection to prevent duplicate writes.
- Untrusted Content Isolation: Treat retrieved document content as data processing; do not treat embedded instructions as system instructions.
- Audit and Desensitization: Log critical actions and approval trails; avoid retaining unnecessary sensitive raw text in logs.
- Rate Limiting and Circuit Breaking: Limit high-frequency calls and batch operations; automatically halt and request manual intervention upon anomalies.
These measures significantly reduce “rogue behavior” risks, provided the enterprise integrates the agent into existing permission, audit, and security governance systems rather than treating it as a standalone text generation tool.
10. Evaluation Loop and Release Gates
Before an agent system goes live, at least three layers of evaluation should be established:
- Unit Layer: Are tool calls correct, parameters valid, permissions effective, and errors handled?
- Task Layer: End-to-end task success rate, evidence coverage rate, constraint pass rate, average step count, and manual intervention rate.
- Regression Layer: Specialized sets including historical failure samples, conflicting data, malicious injections, tool anomalies, and long-task drift.
Release gates should not look at a single average score but should combine critical scenario checklists. For example, scenarios involving external sending, financial operations, contract modifications, or sensitive data processing require stricter manual review. Any unauthorized action, unapproved write, or sensitive information leak should be treated as a blocking issue.
After deployment, trajectories and failure reasons should be continuously recorded. Manual rejections, replanning, tool anomalies, and user corrections should be accumulated as new evaluation samples. This ensures the evaluation set evolves continuously with business changes rather than becoming obsolete shortly after creation.
11. Deployment Path: Starting with Limited Automation
Given the just-over-20% accuracy in public benchmarks, a more pragmatic attitude is not to wait for a fully automated professional assistant to arrive overnight, but to gradually deploy in scenarios with clear boundaries, verifiability, and manual review capabilities.
Phase 1 can focus on read-only tasks, such as data summarization, clause comparison, spreadsheet verification, evidence summaries, and draft reports. The system outputs include evidence and pending issues, which are confirmed by professionals before use.
Phase 2 adds restricted write capabilities, such as generating drafts, filling templates, and proposing to-dos, but high-risk actions still require approval. The focus here is on building the evidence ledger, verifier, and audit trails.
Phase 3 can then consider more complex workflow orchestration, such as cross-sub-task scheduling, automatic replanning under anomalies, and the gradual introduction of finer-grained permissions and cost controls.
The key to this path is “limited autonomy” rather than “unlimited autonomy”: letting the agent handle repetitive information processing and initial synthesis within clear boundaries, while keeping high-risk judgments, irreversible operations, and final accountability within controlled environments.
12. Conclusion
Multi-source, multi-step professional tasks clearly expose the shortcomings of AI agents. Low accuracy is not due to a single point of capability deficiency, but rather the combined effect of context management, long-term planning, tool constraints, evidence verification, and risk governance. The current state—where leading systems achieve about 24% and 23% accuracy, and most remain under 20%—shows a generational gap between demonstration and production. While a significant improvement from the 5% to 10% seen a year ago, it is still insufficient to support unsupervised, high-value work.
For developers and enterprises, the truly actionable direction is not pursuing longer answers or flashier automation, but building an auditable, verifiable, and rollback-capable agent engineering system: using structured state to manage context, hierarchical plans to control long-horizon execution, evidence ledgers to ensure traceability, tool permissions and manual approvals to safeguard boundaries, and regression evaluations with online observation to drive continuous improvement. Only by bridging these engineering capabilities can agents transition from “appearing to work” to “reliably delivering in real workflows.”
