About ASAREE
ASAREE is an MCP server published by EpistasisLab in the Agents category: a visual analytics platform for engineering, executing, and evaluating reproducible agentic AI teams using experimental design methods. Conduid read 27 tools from its source: accept_stage, apply_coercions, art_anova, build_features, check_class_balance, check_stage_gate and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 9 stars and 1 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include bioinformatics, experiment-management, fastapi, k01da063751, p30ag094848 and react.
Install
git clone https://github.com/EpistasisLab/ASAREETools (27)
accept_stageAccept a stage's output and advance HEAD to it (critic-gated).| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of this cell's workspace the call is about. Optional — omit it when the cell holds one dataset (the usual case) and it resolves to that one. With several open, omitting it is an error listing them, because picking one would be a guess; the slot keys are in your prompt and in workspace_status(). |
| stage * | string | a stage id from this workspace's stage plan — ``dc``, ``fte`` or ``fs`` unless the experiment declared its own pipeline, in which case ``workspace_status()`` reports the ids. |
| workspace_id | string | ``"{experiment_id}/{cell_label}"``. Optional — resolved from _meta. |
apply_coercionsCoerce integrity violations AND implausible outliers to NaN.| Parameter | Type | Description |
|---|---|---|
| rules_json | string | JSON list of rules, each {"feature", "type"?: "numeric"|"categorical", "min"?, "max"?, "nonneg"?: bool, "allowed"?: [..]|"from_train", "reason"?}. A rule with only a bound (min/max/nonneg) and no type defaults to numeric (the outlier/range case). An unrecognized ``type`` skips just that rule (reported in ``warnings``); every other rule still applies. When empty, rules are auto-inferred (numeric coercion; categoricals restricted to the train value set) — a safety net that also clears numeric-as-string columns without the agent enumerating them. |
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
art_anovaAligned Rank Transform ANOVA for factorial repeated-measures designs.| Parameter | Type | Description |
|---|---|---|
| response_col | string | Name of the response variable column (default 'balanced_accuracy'). |
| results_json * | string | JSON string — list of result records with factor columns and response column. Example: '[{"subject": 1, "knowledge": "rag", "quality": "ifa", "balanced_accuracy": 0.72}, ...]' |
| within_factors * | string | Comma-separated column names for the within-subject factors. |
build_featuresMaterialize an engineered-feature recipe on the FTE working matrix.| Parameter | Type | Description |
|---|---|---|
| recipe_json * | string | JSON array of recipe entries (see above). |
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
check_class_balanceClass distribution and imbalance in the target (training fold). Read-only.| Parameter | Type | Description |
|---|---|---|
| workspace_id | string |
check_stage_gateRun the structural post-stage assertions on a committed stage version.| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of this cell's workspace the call is about. Optional — omit it when the cell holds one dataset (the usual case) and it resolves to that one. With several open, omitting it is an error listing them, because picking one would be a guess; the slot keys are in your prompt and in workspace_status(). |
| stage * | string | a stage id from this workspace's stage plan — ``dc``, ``fte`` or ``fs`` unless the experiment declared its own pipeline, in which case ``workspace_status()`` reports the ids. |
| workspace_id | string | optional; resolved from _meta when omitted. |
compute_correlationsFeature-target and high feature-feature correlations on the training fold.| Parameter | Type | Description |
|---|---|---|
| method | string | |
| workspace_id | string |
drop_and_imputeDrop the agent-chosen sparse columns, impute every remaining NaN.| Parameter | Type | Description |
|---|---|---|
| drop_json | string | JSON list of feature names to drop (or {"feature": ...} objects). Empty drops nothing (impute-only). |
| protect_json | string | Optional JSON list of columns that must never be dropped (e.g. a group/id column). The target is already excluded structurally. |
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| strategy_json | string | Optional JSON list of {"feature", "strategy": "mode"|"mean"| "median"}; aliases accepted (average/avg->mean, most_frequent->mode), unrecognized values rejected. Unlisted columns are auto-assigned. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
fit_preprocessorFit an impute/scale/encode pipeline on the FTE working matrix.| Parameter | Type | Description |
|---|---|---|
| encode_columns | string | Comma-separated columns to encode; empty auto-detects string/object columns. |
| encode_method | string | 'onehot', 'ordinal', 'target', or 'none' (default). |
| encoding_map_json | string | Optional JSON list of PER-COLUMN encoding decisions (the FTE encoding_map); supersedes encode_method/encode_columns. Each entry: {"feature", "encoding": leave-numeric|binarize|ordinal|onehot|bin, "order_or_bins"?}. |
| impute_strategy | string | 'median' (default), 'mean', or 'mode'/'most_frequent' (aliases average/avg->mean accepted; any other value is rejected). |
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| scale_method | string | 'standard' (default), 'minmax', 'robust', or 'none'. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
friedman_testNon-parametric Friedman test for comparing k conditions with repeated measures.| Parameter | Type | Description |
|---|---|---|
| scores_json * | string | JSON string mapping condition names to lists of scores. Example: '{"cond_a": [0.71, 0.73, ...], "cond_b": [0.68, 0.70, ...]}' All lists must have the same length (number of replicates). |
get_data_dictionaryFetch the data dictionary for a registered dataset, on demand.| Parameter | Type | Description |
|---|---|---|
| columns | string | Comma-separated column names to return in FULL detail. If empty, returns a COMPACT INDEX (name + type + truncated description) so you can scan what exists, then call again for the few you need. |
| name | string | Dataset name as registered via POST /api/datasets. Optional — resolved from the ambient request _meta when the run has exactly one dataset wired, and unused entirely when the open workspace already carries a published copy (the usual case). |
get_dataset_infoDescriptive statistics and metadata for the workspace HEAD (training fold only).| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of the cell's workspace to read. Optional -- omit it when the cell holds one dataset (the usual case). With several open, omitting it is an error listing them, because reading whichever came first would silently be the wrong dataset. |
| workspace_id | string | optional; resolved from the ambient request _meta when omitted. |
get_feature_distributionsDistribution statistics (moments/cardinality/missingness) for every training| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of the cell's workspace to read. Optional -- omit it when the cell holds one dataset (the usual case). With several open, omitting it is an error listing them, because reading whichever came first would silently be the wrong dataset. |
| workspace_id | string | optional; resolved from the ambient request _meta when omitted. |
inspect_columnsOne read-only per-column report for the DC agent — the single inspection call.| Parameter | Type | Description |
|---|---|---|
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
open_workspaceOpen (create if absent) the on-disk workspace for one pipeline cell.| Parameter | Type | Description |
|---|---|---|
| cell_label | string | Safe per-cell label. Optional, as above. |
| experiment_id | string | The experiment this cell belongs to (workspace namespace). Optional — with cell_label, resolved from the ambient workspace_id. |
| name | string | Registered dataset name (must be a pre-split train/test registration, and owned by the user who started this run). Optional — resolved from _meta when the run has exactly one dataset wired; with several, this picks between them and the error lists the candidates. Inside an ASAREE run an explicit name must be one of those wired candidates; outside a run any owned registration may be named. |
| slot | string | Which slot of the cell's workspace to open this dataset into. Optional and rarely needed — it defaults to a slot named for the dataset, so opening two datasets into one cell gives each its own lineage, target column and HEAD without you naming anything. The response echoes the slot to pass to later staging calls. |
| stage | string | For a stage that hands off through a scratch directory (the default for every stage — see the stage-plan flags at the top of this module), (re)materializes that stage's current working matrix into its scratch directory, so the calling domain server's tools have a clean starting point. Omit for stages still on the old shared-library flow. The response's ``stages`` lists this workspace's stage ids, which are ``dc``/``fte``/``fs`` unless the experiment declared its own pipeline. |
| target_column | string | Override target column; defaults to the registry's. |
pairwise_posthocPairwise post-hoc comparisons with multiple testing correction.| Parameter | Type | Description |
|---|---|---|
| correction | string | 'benjamini-hochberg' (BH FDR) or 'bonferroni'. |
| method | string | 'dunn' (Dunn's test) or 'wilcoxon' (pairwise Wilcoxon signed-rank). |
| scores_json * | string | JSON string mapping condition names to lists of scores (same format as friedman_test). |
pingHealth check — returns 'pong' to verify the server is running.read_scratch_learnedReturn a scratch stage's current in-progress attempt's learned| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of this cell's workspace the call is about. Optional — omit it when the cell holds one dataset (the usual case) and it resolves to that one. With several open, omitting it is an error listing them, because picking one would be a guess; the slot keys are in your prompt and in workspace_status(). |
| stage * | string | a stage id from this workspace's stage plan — ``dc``, ``fte`` or ``fs`` unless the experiment declared its own pipeline, in which case ``workspace_status()`` reports the ids. |
| workspace_id | string | optional; resolved from _meta when omitted. |
read_stage_manifestReturn a committed stage's provenance manifest (learned params + rationale).| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of this cell's workspace the call is about. Optional — omit it when the cell holds one dataset (the usual case) and it resolves to that one. With several open, omitting it is an error listing them, because picking one would be a guess; the slot keys are in your prompt and in workspace_status(). |
| stage * | string | a stage id from this workspace's stage plan — ``dc``, ``fte`` or ``fs`` unless the experiment declared its own pipeline, in which case ``workspace_status()`` reports the ids. |
| workspace_id | string | optional; resolved from _meta when omitted. |
reset_sessionNo-op compatibility shim (the split servers hold no in-process session).reset_stageDiscard a stage's in-progress attempt so a re-run starts clean.| Parameter | Type | Description |
|---|---|---|
| slot | string | Which dataset slot of this cell's workspace the call is about. Optional — omit it when the cell holds one dataset (the usual case) and it resolves to that one. With several open, omitting it is an error listing them, because picking one would be a guess; the slot keys are in your prompt and in workspace_status(). |
| stage * | string | a stage id from this workspace's stage plan — ``dc``, ``fte`` or ``fs`` unless the experiment declared its own pipeline, in which case ``workspace_status()`` reports the ids. |
| workspace_id | string | ``"{experiment_id}/{cell_label}"``. Optional — resolved from _meta. |
run_model_scriptExecute an approved modeling script that NEVER sees the test split.| Parameter | Type | Description |
|---|---|---|
| code | string | Python source. Must define predict_proba(X); (binary) chosen_threshold. OPTIONAL, and best omitted: when a Script is wired into the step, its source is read straight off disk from ambient run context. Omitting this is not a shortcut -- it is what guarantees the script executes byte-for-byte as written, since nothing retypes it. Pass this only to run a script that isn't the wired one. |
| default_n_trials | integer | n_trials used when a sanitized payload gives none. |
| param_spec_json | string | optional closed vocabulary of tunable parameters and their hard bounds, ``{"param": {"low": num, "high": num}, ...}``. When given, payload_json is read as the ``{search_space, fixed_params, n_trials}`` contract and every suggestion outside the spec is dropped (the script's default stands) before binding ``hp`` -- so a malformed suggestion still scores. What was dropped comes back as ``sanitize_notes`` / ``n_sanitize_notes``, and the payload actually bound as ``sanitized_payload`` / ``sanitized_payload_sha256``. A missing or non-object payload then scores with all defaults instead of failing. |
| payload_json | string | optional typed hyperparameter payload; bound as ``hp`` (its SHA-256 -- of the string exactly as received -- is returned as payload_sha256). |
| positive_label | string | binary positive-class label (coerced to y's dtype). |
| random_seed | integer | Seed exposed to the code and used for permutation importance. |
| selection_metric | string | scores permutation importance ('average_precision' -> PR-AUC drop; otherwise ROC-AUC drop). |
| slot | string | Which dataset slot of the cell's workspace to read. Optional -- omit it when the cell holds one dataset (the usual case). With several open, omitting it is an error listing them, because reading whichever came first would silently be the wrong dataset. |
| task_type | string | 'binary' or 'multiclass'. |
| workspace_id | string | Cell workspace id; when omitted, resolved from ambient _meta. The matrices are read from the accepted HEAD version on disk. |
run_wired_scriptExecute the Python script wired into this step; return its output.| Parameter | Type | Description |
|---|---|---|
| code | string | Python source to run INSTEAD of the wired script. Only for a genuine one-off; when a script is wired, omit this. |
| script | string | Configured name or node id of the wired script to run. Omit when exactly one script is wired. |
| timeout_seconds | integer | Kill the script after this long (default 300, max 900). A timeout returns whatever it printed before it was killed. |
summarize_experimentDescriptive statistics per experimental condition for reporting.| Parameter | Type | Description |
|---|---|---|
| factor_cols * | string | Comma-separated column names for the experimental factors. |
| response_col | string | Name of the response variable column (default 'balanced_accuracy'). |
| results_json * | string | JSON string — list of result records, each with factor columns and response column. Example: '[{"knowledge": "rag", "quality": "ifa", "safety": "timeout", "balanced_accuracy": 0.72}, ...]' |
supervised_filterRank features by a supervised univariate filter and keep the top-k; writes the selection.| Parameter | Type | Description |
|---|---|---|
| features_json | string | Optional JSON list of feature names to restrict scoring to (e.g. the survivors after variance/correlation filtering). |
| k | integer | Number of top-ranked features to keep. |
| method | string | 'f_classif' or 'mutual_info_classif'. |
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
variance_filterDrop low/near-zero-variance features on the training fold; writes the selection.| Parameter | Type | Description |
|---|---|---|
| run_id | string | Optional ASAREE run id, recorded alongside this attempt's provenance. |
| threshold | number | Variance threshold; features with variance <= threshold are dropped. |
| workspace_id | string | Optional explicit workspace id; else resolved from _meta. |
workspace_statusReport a cell workspace's on-disk state, for orchestration and resume.| Parameter | Type | Description |
|---|---|---|
| workspace_id | string | ``"{experiment_id}/{cell_label}"``. Optional — resolved from the ambient request ``_meta`` when omitted. |
Security checks
6 checks have not been run yet.