CPU quickstart
Run Kernel Builder, a CPU VLIW/SIMD optimization task, then inspect and continue its Campaign. This path uses a Linux/WSL2 host with Docker Engine and Compose, uv, and a working Codex or Claude model connection. For macOS use the Mac runbook; container-free Linux requires an explicitly ported native task.
Run all commands from the repository root. Relative YAML paths resolve from the command's working directory. Allow at least 4 CPUs, 8 GiB and space for the task images.
1. Install
git clone https://github.com/RyanWangZf/myxos.git
cd myxos
uv sync --locked --no-dev --extra harbor
uv run --no-dev myxos doctor --config examples/kernel_builder/campaign.yaml
Doctor reports dependencies and outstanding runtime checks. A detected Docker CLI does not prove a working daemon. See installation.
2. Configure credentials
mkdir -p runs
cp examples/kernel_builder/user.example.toml runs/user.local.toml
export MYXOS_CONFIG_FILE="$PWD/runs/user.local.toml"
Keep the openai-personal credential reference and supply its MYXOS_OPENAI_KEY variable through your shell/secret manager. A selected Codex login file is another option; see authentication. Configuration files contain references to credentials, never key values.
3. Configure the Campaign
cp examples/kernel_builder/campaign.yaml runs/kernel.local.yaml
Edit the copy:
| Field | First-run setting |
|---|---|
agent.harness | codex |
agent.model | A model supported by your account/harness |
agent.credential_profile | openai-personal |
run.duration_seconds | 600 |
run.parallel_agents | 1 (alias for max_active_sessions) |
run.session_max_seconds | 300 |
Keep the template's task and CPU compute settings. Formal development scoring uses CPU jobs with compute.backend: local and devices: []. A short wiring run checks integration; it is not a benchmark. See configuration.
4. Prepare the task
uv run --no-dev myxos prepare --config runs/kernel.local.yaml --plan
Review the plan, then approve its image builds explicitly:
uv run --no-dev myxos prepare --config runs/kernel.local.yaml --apply \
--approve-step build-development --approve-step build-verifier
uv run --no-dev myxos prepare --config runs/kernel.local.yaml --status
uv run --no-dev myxos auth check --config runs/kernel.local.yaml
uv run --no-dev myxos run --config runs/kernel.local.yaml --check
Use the actual step IDs from the plan. Preparation should report READY and a prepared_id. auth check inspects local sources; run --check validates configuration. Neither calls a model. Task preparation explains inputs, images and cache reuse.
5. Run and observe
The next command starts real model work:
uv run --no-dev myxos run --config runs/kernel.local.yaml
The launcher prints Campaign/Run IDs, the fixed deadline and state_db. In another terminal, install and start the separate Observer:
uv tool install --python 3.12 ./observer
myxos-observer --db runs/kernel_builder/state.sqlite3 --workspace --port 8765
Open localhost:8765 for recorded Sessions, artifacts and evaluations. The agent can submit candidates through myxos evaluate; see evaluation. At cutoff, research stops and finalization retains available work and cleans up owned resources.
6. Recover or continue
Repeat the same run command after a controller interruption to recover the unfinished Run with its original deadline. Ctrl+C requests stop and finalization. After finalization, start another bounded Run explicitly:
uv run --no-dev myxos run --config runs/kernel.local.yaml --resume
Keep the Campaign identity, state directory and prepared task binding stable. Next: scale researchers and compute, choose another example, or read the architecture.