# Try ModalityDance/MICA: dry-run matched MCP and CLI agent configurations

**Agent Signal · 31 October 2026**

**Tested status: documentation-reviewed only.** No dependency was installed, no CLI command was executed and no GitHub Actions or model experiment ran for this edition. The steps below are reproducible instructions, not measured results.

## Goal: compare interfaces without changing the task

[ModalityDance/MICA](https://github.com/ModalityDance/MICA) builds MCP and CLI tool interfaces from a shared semantic action contract. This lab checks **configuration parity** between its two modes before you commit to a full agent benchmark. MICA's original source commit is 23 October 2026; the original [preprint](https://arxiv.org/abs/2610.34298) was submitted on 25 October. The authors report interface-dependent behavior, but the dry-run below does **not** establish a performance difference.

## Prerequisites and cost limits

- Python **3.10–3.12**, Git, `pip`, internet to install the open-source dependencies, and an isolated personal test directory. The package declares MIT license and dependency requirements in [pyproject.toml](https://github.com/ModalityDance/MICA/blob/main/pyproject.toml).
- No model API key, credit purchase, GPU or external benchmark dataset is needed just to **attempt the configuration dry-run**. Installation downloads Python packages and may use disk space. A full ALFWorld/WebShop/ScienceWorld run requires additional datasets, setup and either a local model/hardware or a separately paid API.
- Never use work accounts, real client data or secrets. **Do not** remove `--dry-run` for this exercise.

## Step 1 — obtain the official source and confirm requirements

```sh
python3 --version
git --version
git clone https://github.com/ModalityDance/MICA.git
cd MICA
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
cp -n .env.example .env
mica --help
```

Before installing, inspect `pyproject.toml` and `LICENSE`. For a maximally reproducible follow-up, pin the repo to a reviewed commit rather than using a moving `main`. No authentication should be needed merely to read its public repository.

## Step 2 — inspect both configurations without running agents

The following is the maintainer's published dry-run shape, repeated with **only the interface and output path changed**. Dry-run validation can still report missing benchmark/model environment settings; record those as setup failures, not as model outcomes.

```sh
mica run --benchmark configs/benchmarks/alfworld.yaml \
  --model configs/models/qwen3_4b.yaml --interface mcp --policy base \
  --output outputs/check_mcp --dry-run

mica run --benchmark configs/benchmarks/alfworld.yaml \
  --model configs/models/qwen3_4b.yaml --interface cli --policy base \
  --output outputs/check_cli --dry-run
```

**Safety boundary:** A real run (without `--dry-run`) might start benchmark episodes and model inference. Do not perform that for this quick lab.

## Step 3 — record the no-inference comparison

```sh
python3 - <<'PY'
from pathlib import Path
for name in ("check_mcp", "check_cli"):
    p = Path("outputs") / name
    print(name, "directory exists:", p.exists())
    print(name, "files:", sorted(x.name for x in p.iterdir()) if p.is_dir() else [])
PY
```

This filesystem check does not prove an agent ran. If the CLI prints configuration summaries, save them in separate text notes and compare benchmark, model, policy and any task manifest settings. Only the interface and output path should differ.

## Expected results — not observed here

The CLI should either report a successfully validated dry-run plan for each interface or produce an actionable missing-configuration error. Files under `outputs/check_mcp` and `outputs/check_cli` may be absent when dry-run validation stops early; a directory's existence is not success. No task success percentages, token counts, latency or MCP-vs-CLI superiority should be inferred from these steps.

## Scoring (0–5, one point each)

1. Both modes use the **same** benchmark YAML and task-selection assumptions.
2. Both use the **same** model YAML, endpoint, generation settings and policy.
3. `--dry-run` is present in **both** commands; no model job or workflow started.
4. Successful plans or exact errors are captured separately and attributed to the right mode.
5. You can state which mode, if any, is configuration-ready and which missing settings need attention before a fair paired experiment.

A 0–2 score signals an incomplete setup, **not** evidence that MCP or CLI performs badly.

## Troubleshooting

- `python3` outside 3.10–3.12: use a supported interpreter in a fresh venv.
- `mica: command not found`: confirm the venv is active, package installation completed, and `python -m pip show mica-interface-study` returns the package.
- Missing benchmark or model path: inspect repo-relative `configs/benchmarks/alfworld.yaml` and `configs/models/qwen3_4b.yaml`; run from repository root.
- Missing `.env` setting or endpoint: the dry-run may validate environment paths without contacting the endpoint. Record the missing setting and **stop** rather than buying API access.
- Package version/output mismatch: inspect the canonical README and commit you used; release tags are not published. Treat changed CLI syntax as a documentation-version discrepancy.
- Missing output directory: look at the CLI exit code and printed errors. Do not equate absent artifacts with a failed model run.

## What was verified and what remains untested

Verified **from source**: public MIT code, stated Python requirement, published dry-run syntax, config file paths and the original paper's submission date. **Not executed**: package installation, CLI dry run, benchmark data download, MCP or CLI episode execution, LLM inference, performance measurement or comparison. A future empirical study needs held-fixed task seeds, matched model parameters, independent success checks, repeated paired trials and uncertainty estimates; none were produced for this report.
