Install OptPilot¶
Choose the public Python Core for scripts and custom experiments, or Desktop for a graphical workspace. Core is Apache-2.0 licensed; Desktop is a separately distributed closed-source client.
Development checkout: new first-run commands¶
You need Git, Python 3.10 or newer and uv. Installing dependencies requires internet access; the bundled document-search experiment itself runs offline.
git clone https://github.com/MINDS-THU/OptPilot.git
cd OptPilot
uv sync
uv run optpilot --help
uv run optpilot demo ./my-first-experiment
The init and demo commands are new in the development checkout. They are not in the published 0.2.0 package. Run commands with uv run from the checkout so they use its environment. An existing installation elsewhere on your PATH may still be 0.2.0.
The demo runs two local rankers on five shared questions and keeps the evidence in the created project. It needs no model account, API key or Docker. Inspect the first result
Published Core 0.2.0¶
Install in a Python virtual environment:
The released CLI supports experiment, validate and schema. The manual first-experiment workflow uses commands available in that release and project files from a source checkout. PyPI package
Do not assume a command shown in the development documentation exists in an installed release. Check command help and release notes when versions differ.
Desktop installers¶
Download the current release for macOS Apple Silicon, Windows x64 or Linux x64. Desktop 0.2.0 includes a managed Python runtime; installing Core separately is not required for the bundled example.
Read the platform instructions and signing status before installing: English · 中文. English/Chinese language selection is a development feature and is not included in the 0.2.0 installer.
Requirements for other workflows¶
| Workflow | What to prepare |
|---|---|
| Simulated display calibration | A macOS or Linux shell and the Core checkout. The bundled driver uses a POSIX file lock and starts the simulated instrument locally. Resource tutorial |
| Harbor agent evaluation | A working Harbor executable, Docker and credentials required by your chosen agent/model. Hosted calls may incur provider charges. Execution options |
| Native grading on another machine | A reachable POSIX SSH host, a verified host key, non-interactive login, and Python with the grader's dependencies on that host. Operations |
| Project-specific dependencies | Check the project's setup instructions for simulator libraries, solvers or model credentials its grader or generator requires. |
Native graders execute project code with the permissions of their runtime. Use trusted projects and appropriate isolation. For setup failures or version mismatches, see troubleshooting.