Autonomous Multi-Agent Workflow

Automated RAG Evaluation Benchmarks

DatasetOps Autopilot automatically creates RAG evaluation benchmarks using specialized AI agents. Transition from manual scripting to autonomous test generation.

2
HITL Checkpoints
≥ 0.85
Faithfulness Pass
≤ 0.25
Hallucination Risk
autopilot_session.log
RUNNING
Active AgentSystem
API Calls0 / 150
EST. COST$0.0000
Ingestion
Source Scanner
Planner
Generator
Evaluator
Repair Loop
Exporter
Live Console
[SYS] Initializing Autopilot workflow session...
[SYS] Ingested 5 document files (markdown/text).
[SYS] Formed 142 semantic text chunks.
[SYS] Document ingestion completed successfully.
$ executing_agents
Core Workflow

How Autopilot Works

Autopilot coordinates specialized agents to analyze documents, blueprint evaluation scopes, generate QA datasets, and audit/repair errors with human-in-the-loop control.

PHASE 01

Source Discovery

Upload raw markdown, PDF, or text files. The Source Understander runs hierarchical scans to build semantic topic categories and extract grounding facts.

Ingested Chunks142 total
knowledge_base_v2.md
api_reference.txt
Source Map Built
PHASE 02

Interactive Planning

The Intake Planner compiles slot allocations. Human Plan Approval is required to validate the category targets and token budgets before generation starts.

Plan Details Approved
Troubleshooting slots:20 (50%)
Conceptual slots:10 (25%)
API Integration slots:10 (25%)
40 SLOTS CONFIRMED
PHASE 03

Synthesis & Audit

The Generator drafts single/multi-hop QAs. The Quality Evaluator audits every sample against Faithfulness, Relevance, and Hallucination Risk metrics.

QA Auditor GROUNDED
Q:
How is the token authentication configured?
A:
Using the --auth-token flag inside the command.
PHASE 04

Repair & Export

If audits fail, a bounded Generator ↔ Evaluator Repair Loop automatically retries failing samples. The Exporter packages all verified files.

Package ExportReady
rag_eval.jsonlData
answer_key.jsonlKeys
quality_report.mdAudit
Download export.zip
System Architecture

Multi-Agent Collaboration

Instead of linear scripts, DatasetOps Autopilot runs specialized agents that collaborate dynamically to build, audit, and repair.

INGESTIONUploaded Docs
UNDERSTANDINGSource ScannerCoverage Report
PLANNINGIntake PlannerBenchmark Plan
HUMAN GATEPlan Approved
SYNTHESISGeneratorCandidate QA
QUALITY AUDITEvaluator / CriticVerified QA
EXPORTSExporterexport.zip
AGENT_01
Online

SourceUnderstanding

Document Ingestion & Categorization

Performs hierarchical text chunking and extracts topics, category distributions, and semantic relationships to map the source context.

INPUT:Raw Documents (MD/PDF/TXT)
OUTPUT:Source Coverage Report
AGENT_02
Online

IntakePlanner

Benchmark Blueprinting

Defines slots covering target topics, splits counts by difficulty (easy, medium, hard), and maps target reasoning pathways.

INPUT:Source Coverage Report, User Requirements
OUTPUT:Benchmark Plan (Awaiting Approval)
AGENT_03
Online

Generator

Grounded QA Synthesis

Synthesizes diverse RAG question-answer pairs (single-hop, multi-hop, unanswerable, edge case) grounded strictly in evidence context.

INPUT:Approved Benchmark Plan, Source Context Chunks
OUTPUT:Candidate QA Pairs
AGENT_04
Online

QualityEvaluator

Faithfulness & Grounding Audit

Evaluates candidate pairs against strict criteria: Faithfulness (>=0.85), Answer Relevance (>=0.75), and Hallucination Risk (<=0.25). Participates in a self-repair loop.

INPUT:Candidate QA Pairs, Source Context Chunks
OUTPUT:Evaluation Audit Report
AGENT_05
Online

Exporter

Benchmark Package Compiler

Assembles passed QA pairs, answer keys, quality sheets, and markdown cards into a clean, downloadable production export.

INPUT:Verified QA Pairs
OUTPUT:ZIP Package (JSONL & MD)
Industry Standard

Why Automated RAG
Evaluation Matters

Modern LLM systems depend on precise semantic retrieval. Without high-quality, ground-truth benchmarks, measuring drift, precision, and alignment is impossible.

Evaluation TargetsCodebase Validation
Faithfulness Score (Groundedness)≥ 0.85
Answer Relevance Score≥ 0.75
Hallucination Risk Score≤ 0.25
Overall Score≥ 0.80
Verified QA Sample
Grounded
Source Context (cluster_config.md)

"...Auto-scaling thresholds are managed by the orchestrator daemon. The system scales up nodes automatically when average CPU utilization remains above 80% for a continuous period of 5 minutes."

Generated Question

Under what utilization threshold and duration will the orchestrator daemon scale up nodes?

Audited Answer Key

Nodes scale up when average CPU utilization stays above 80% for 5 minutes.

rag_eval.jsonl
UTF-8 / JSON
{"id": "3dac4f21-77ae-49fb-8d3a-9429cec1e26f", "sample_type": "single_hop", "question": "Under what utilization threshold and duration will the orchestrator daemon scale up nodes?", "source_chunk_ids": ["chunk_658cdfea-1944-40f6-b610-1c6a7e582504"], "evidence": [{"chunk_id": "chunk_658cdfea-1944-40f6-b610-1c6a7e582504", "text": "...Auto-scaling thresholds are managed by the orchestrator daemon. The system scales up nodes automatically when average CPU utilization remains above 80% for a continuous period of 5 minutes."}]}
{"id": "8fa3c11d-2831-4be6-a192-1c6a7e582504", "sample_type": "multi_hop", "question": "How do you configure authentication key rotations for cluster daemons?", "source_chunk_ids": ["chunk_c85598f2-c20c-4816-9119-6d3d5e54c6f4", "chunk_658cdfea-1944-40f6-b610-1c6a7e582504"], "evidence": [{"chunk_id": "chunk_c85598f2-c20c-4816-9119-6d3d5e54c6f4", "text": "Authentication secrets are defined under /etc/cluster/daemon.conf."}, {"chunk_id": "chunk_658cdfea-1944-40f6-b610-1c6a7e582504", "text": "Run daemon-reload with SIGHUP to trigger safe key rotation."}]}
{"id": "b91f1a23-45c1-4822-a9b0-9831a293c12a", "sample_type": "unanswerable", "question": "What is the maximum number of external nodes allowed in a hybrid multi-cloud configuration?", "source_chunk_ids": ["chunk_a7b4582f-e1c2-482d-8812-7d2d3e582504"], "evidence": [{"chunk_id": "chunk_a7b4582f-e1c2-482d-8812-7d2d3e582504", "text": "Hybrid cluster limits are described in cloud-provider manuals, not local configs."}]}
Capabilities

Product Capabilities

Explore the core features designed to automate and guarantee RAG evaluation dataset quality.

Intelligent Source Analysis

Ingests raw markdown, PDF, or text files, running semantic scans to build topic concept maps, identify chunk density, and evaluate category coverage.

Why it matters: Ensures evaluation is grounded in actual document coverage rather than random guesses.

Benefit: Creates a structured profile of your knowledge base, preventing uneven test distribution.

System ComponentSource Scanner

Human-in-the-Loop Planning

Generates an interactive benchmark blueprint outlining topic coverage, difficulty distributions, and sample counts, requiring human review before running.

Why it matters: Gives developers complete control over the evaluation scope before spinning up expensive model generation calls.

Benefit: Prevents API waste and guarantees the generated test suite aligns with project requirements.

System ComponentPlanner Agent

Autonomous Generation

Runs an autonomous generation agent that drafts custom single-hop, multi-hop, unanswerable, and edge-case question-answer pairs.

Why it matters: Replaces slow, error-prone manual scripting of test suites with high-speed autonomous generation.

Benefit: Delivers diverse, production-grade test cases covering all potential query pathways.

System ComponentGenerator Agent

Quality Evaluation & Repair

Audits every generated sample against strict metrics (Faithfulness, Relevance, Hallucination Risk) and auto-repairs failed entries.

Why it matters: Enforces strict hallucination-risk thresholds without requiring human review for every line.

Benefit: Maintains high benchmark integrity by recursively fixing incorrect references.

System ComponentEvaluator Agent

Rich Artifact Viewer

Provides a clean visual interface to inspect evaluation logs, agent traces, and individual question metrics.

Why it matters: Allows transparent debugging of agent decision-making and quality auditing steps.

Benefit: Allows deep-diving into individual test cases before committing to production export.

System ComponentMission Control

Production Benchmark Export

Compiles verified samples into structured test packages including datasets, answer keys, and quality reports.

Why it matters: Saves hours of formatting and wrangling, producing plug-and-play evaluation files.

Benefit: Delivers standard .jsonl and .md formats compatible with any RAG testing framework.

System ComponentExporter Agent