Run Your Own Custom Question
The hosted Online Demo is limited to 20 Build MAS runs per 5 hours per visitor.
For unlimited custom tasks, clone the Skill_MAS
repository and run demo_inference.py on your machine — full three-stage build plus MAS execution in one command.
Run locally with demo_inference.py
- Clone the Skill_MAS repository and enter the project root.
-
Activate your conda environment (example):
source /path/to/miniconda3/etc/profile.d/conda.sh conda activate skill_mas python --version -
Install dependencies (if needed):
pip install openai httpx aiohttp tiktoken -
Set API credentials via environment variables (recommended — do not commit keys into
model_config.json):export OPENAI_API_KEY="your-key" export OPENAI_API_BASE="https://your-endpoint/v1" # optional export SKILL_MAS_DEMO_MODEL="deepseek-v4-flash" # optional, model id in skill_mas/model_config.json -
Pick a skill file (5 available):
init_skill/SKILL.md— generic init skilloptimized_skill/hlemath.md— HLE-Mathoptimized_skill/drb.md— Deep Research Benchoptimized_skill/bcp.md— BrowseComp-Plus (needs BM25 index)optimized_skill/vitabench.md— VitaBench
-
Run inference on your custom question (build + execute):
Or use the shell launcher (model, skill path, question as arguments):cd Skill_MAS # repository root containing demo_inference.py python demo_inference.py \ --skill init_skill/SKILL.md \ --question "Your custom task description here" \ --model deepseek-v4-flash \ --dataset hlemath
Optional flags:bash demo_inference.sh deepseek-v4-flash init_skill/SKILL.md "Your question here"--save-mas-code path/to/workflow.py,--verbose -
The script prints each build stage, generated MAS code, and the final answer to stdout.
Use
--datasetwhen auto-inference from the skill filename is insufficient (hlemath,drb,bcp,vita). -
Full dataset / batch runs: when evolving or evaluating on an entire dataset
(e.g.
run_hlemath.sh,run_drb.sh,run_bcp.sh), increase--max-concurrency— the second argument to those shell scripts, or the flag onpython -m Skill_MAS evolve. Higher concurrency (within your API quota) shortens total wall-clock time substantially compared to running one sample at a time.
Browse pre-computed builds in the Gallery. Try a quick browser build on the Online Demo (Build MAS, then Run MAS separately).