SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.20821 · 2026

Compass: Optimizing Compound AI Workflows for Dynamic Adaptation

Milos Gravara, Juan Herrera, Stefan Nastic

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2603.20821.json · badge: /api/ran/2603.20821.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
polaris-slo-cloud/compass canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_thresholds Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/planner/aqm.py
pointer only (licence: NONE) · get_code("3b7bac006153d975")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_work_thresholds Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/planner/aqm.py
pointer only (licence: NONE) · get_code("01c2dbd88db084d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

config_key Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/search/parameter_space.py
pointer only (licence: NONE) · get_code("3d8b927ec7e90a7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_pareto Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/planner/pareto.py
pointer only (licence: NONE) · get_code("44693da873c6f1ba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_dominated Ran
ran, violated the contract we drafted
polaris-slo-cloud/compass/compass/planner/pareto.py
pointer only (licence: NONE) · get_code("accb76fb10cba33a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_pareto Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/planner/aqm.py
pointer only (licence: NONE) · get_code("14f5101cad673081")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_questions Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/experiments/run_baseline.py
pointer only (licence: NONE) · get_code("75cfc0af9f628d6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

select_operating_points Ran
ran; our contract draft was wrong, not the code
polaris-slo-cloud/compass/compass/planner/pareto.py
pointer only (licence: NONE) · get_code("0f77efe6090e1806")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, polaris-slo-cloud/compass when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Compound AI is a distributed intelligence approach that represents a unified system orchestrating specialized AI/ML models with engineered software components into AI workflows. Compound AI production deployments must satisfy accuracy, latency, and cost objectives under varying query loads. However, many deployments operate on fixed infrastructure where horizontal scaling is not viable. Existing approaches optimize solely for accuracy and do not consider changes in workload conditions. We observe that compound AI systems can switch between configurations to fit infrastructure capacity, trading accuracy for latency based on current load. This requires discovering multiple Pareto-optimal configurations from a combinatorial search space and determining when to switch between them at runtime. We present Compass, a novel framework that enables dynamic configuration switching through offline optimization and online adaptation. Compass consists of three components: COMPASS-V algorithm for configuration discovery, Planner for switching policy derivation, and Elastico Controller for runtime adaptation. COMPASS-V discovers accuracy-feasible configurations using finite-difference guided search and a combination of hill-climbing and lateral expansion. Planner profiles these configurations on target hardware and derives switching policies using analytical queuing theory based model. Elastico monitors queue depth and switches configurations based on derived thresholds. Across two compound AI workflows, COMPASS-V achieves 100% recall while reducing configuration evaluations by 57.5% on average compared to exhaustive search, with efficiency gains reaching 95.3% at tight accuracy thresholds. Runtime adaptation achieves 90-98% SLO compliance under dynamic load patterns, improving SLO compliance by 71.6% over static high-accuracy baselines, while simultaneously improving accuracy by 3-5% over static fast baselines.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2603.20821")
get_code_for_paper("2603.20821")
have("2603.20821")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2603.20821.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2603.20821.svg)](https://syntology.ai/paper/2603.20821)

Connect an agent — have() is free.