Airavat: An Agentic Framework for Internet Measurement
Organizations: University of California, Irvine · KAIST
Abstract
Internet measurement faces twin challenges: complex analyses require expert-level orchestration of tools, yet even syntactically correct implementations can have methodological flaws and can be difficult to verify. Democratizing measurement capabilities thus demands automating both workflow generation and verification against methodological standards established through decades of research. We present Airavat, the first agentic framework for Internet measurement workflow generation with systematic verification and validation. Airavat coordinates a set of agents mirroring expert reasoning: three agents handle problem decomposition, solution design, and code implementation, with assistance from a registry of existing tools. Two specialized engines ensure methodological correctness: a Verification Engine evaluates workflows against a knowledge graph encoding five decades of measurement research, while a Validation Engine identifies appropriate validation techniques grounded in established methodologies. Through four Internet measurement case studies, we demonstrate that Airavat (i) generates workflows matching expert-level solutions, (ii) makes sound architectural decisions, (iii) addresses novel problems without ground truth, and (iv) identifies methodological flaws missed by standard execution-based testing.
Figures & tables
| Case Study | Problem | LoC | Key Capability | Results |
|---|---|---|---|---|
| 1: Cable Impact | SeaMeWe-5 failure | 850 | Expert Solution Replication | Matches the expert solution |
| 2: Disaster | Earthquake/hurricane | 700 | Workflow Simplicity | Appropriate expert-level minimal solution |
| 3: Cascading | Europe-Asia cables | 1600 | 9-function orchestration | Multi-layer integration framework |
| 4: Prefix2Org | Prefix-to-org mapping | 1500 1700 | Domain Transferability + | 0% 70-75% (vague query); |
| (w/ verification) | Verification capabilities | 0% 90.9% tags (improved query) |
| Component | Cost per Run | Notes |
|---|---|---|
| Agent 1 (QueryMind) | 0.15 | Query decomposition |
| Agent 2 (WorkflowScout) | 0.60 | Workflow specification |
| Agent 3 (SolutionWeaver) | 0.60 | Code generation |
| Agent 4 (RegistryCurator) | 0.40 | Quality assessment |
| Standard Workflow | 1.70 | Agents 1-3 only |
| Verification Synthesizer | 0.70 | Standard mode |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Case Study | Registry Functions by System |
|---|---|
| Cable Impact | nautilus_system: (1) get_nautilus_link_to_cable_mapping (2) get_lp_id_to_country_dict (3) get_ip_to_geolocation_mappings (4) get_ip_to_asn_mappings |
| Disaster Impact | nautilus_system: (1) get_nautilus_link_to_cable_mapping (2) get_lp_id_to_country_dict (3) get_ip_to_geolocation_mappings (4) get_ip_to_asn_mappings xaminer_system: (5) generate_cable_segments_to_all_info_map (6) generate_cable_segment_to_country_as_maps (7) process_single_event |
| Cascading Effects | nautilus_system: (1) get_nautilus_link_to_cable_mapping (2) get_lp_id_to_country_dict (3) get_ip_to_geolocation_mappings (4) get_ip_to_asn_mappings xaminer_system: (5) generate_cable_segments_to_all_info_map (6) generate_cable_segment_to_country_as_maps (7) process_single_event submarine_system: (8) get_country_to_cable_graph as_dependency_system: (9) get_as_dependency_graph |
| Prefix2Org | bgp_system: (1) download_bgp_dumps whois_system: (2) parse_whois_dump rpki_system: (3) get_rpki_snapshot as2org_system: (4) get_as2org_mappings |
| Parameter | Value | Component | Purpose |
|---|---|---|---|
| Novelty threshold (high) | 0.7 | Evaluator - Stage 2 | Problems above classified as novel |
| Novelty threshold (low) | 0.4 | Evaluator - Stage 2 | Problems below classified as well-studied |
| Infeasibility threshold | 60 | Evaluator - Stage 2 | Sub-dimension scores below this trigger rejection |
| Excellence threshold | 85 | Selector | Workflows above approved directly |
| Good range lower bound | 80 | Selector | Workflows below always require synthesis |
| Structural diversity threshold | 0.4 | Selector | Triggers complementarity analysis |
Agentic Workflows
Agentic workflows coordinate AI agents, tools, and humans across multi-step tasks, emphasizing reliable execution, efficiency, and oversight.
See all 218 papers