Configure & operate

Configuration reference

Campaign YAML selects a task, researchers and execution limits. Reusable user TOML selects credential sources and researcher profiles. Task manifests own the scientific protocol. Start from a Campaign template, copy it into ignored runs/ and validate it with myxos run --config PATH --check.

This reference follows the current launcher, user configuration loader and core contracts. Interfaces are pre-release; use fresh myxos state when replacing older installations.

Files and precedence

SourceSelection and resolution
Campaign YAMLExplicit --config PATH; relative filesystem paths resolve from the command's working directory
User TOML--user-config PATH, then MYXOS_CONFIG_FILE, then the OS default from authentication
Named researcher profileagents.slots[].profile expands a user profiles.researchers entry; fields explicitly supplied in that slot override the profile
Single-harness selectionWith no slots, agent.harness/model/credential_profile is used for the parallel researchers
Credential file pathRelative paths inside user TOML resolve from the TOML directory; values remain outside both configuration files
State/cache locationcampaign.state_dir selects private Campaign state; MYXOS_HOME/preparation cache selection is independent of the user TOML

There is no general project-config search, .env loading or implicit native-home credential fallback. Explicitly selecting a missing user config is an error. Changing execution selectors while recovering a Run can invalidate its binding.

Campaign and task

FieldMeaning/default
campaign.nameRequired persistent Campaign identity
campaign.objectiveShared research goal; defaults to the Campaign name
campaign.state_dirPrivate root; DB is state.sqlite3 directly below it. Prepared-task Campaigns can default to a name-derived root under myxos home; explicit roots are easier to operate
task.folderClean local Harbor task; use with optional revision and prepare
task.revisionauto pins the current clean task checkout during preparation; explicit source revisions must match
task.prepared_idReuse an already prepared task instead of a new folder/preparation mapping
task.prepare.resource_optionsAudited resource/image declarations; see recipe options
task.prepare.cache_rootOptional non-default preparation cache root
task.prepare.approve_stepsExplicit recipe/build step approvals; only set after reviewing the preparation plan

Preparation resolves the task path/revision and separate audience bindings before Run startup. A prepared identity cannot be changed underneath an existing Campaign. Legacy campaign.task_dir/task_revision and store: {provider: local, root: ...} remain compatibility paths; conflicting state roots are rejected.

Run limits

Duration, capacity and grace values are positive integers. The optional Session ceiling can be null. The absolute deadline is persisted at first start; restarting does not reset it.

FieldDefaultMeaning
run.duration_secondsRequiredElapsed wall-clock research time
run.max_active_sessionsRequiredHard concurrent Session ceiling; independent of GPU count
run.session_max_seconds3600Optional Session ceiling; null disables it, while Run/request deadlines still apply
run.session_reminder_seconds600Positive reminder threshold; shorter effective Sessions skip the paired mechanism
run.session_wrapup_seconds300Reserved fresh-wrap-up window; must be below reminder seconds; 0 disables both actions
run.session_min_seconds60Minimum Run time at launch admission; 0 disables; deliberately short Runs of at most this duration are exempt
run.shutdown_grace_seconds120Stop/cleanup grace; research still ends at cutoff

These are Run settings, not a live-resize API. Use operations for continued Runs, compatible recovery and resource accounting.

Eligibility uses the persisted total effective Session budget after Run/request clamping. Exactly 600 seconds is eligible with an immediate startup reminder; 599 seconds is not. Setup and stopping/starting the fresh agent consume the same budget. The admission floor is checked before launch preparation; actual agent execution always rechecks the original deadline.

Current one-shot Harbor agents receive startup guidance and reminders in bound tool responses. They do not support live input injection during long reasoning. Fresh wrap-up is implemented for the Compose Docker single-step path behind agent.experimental_session_controls: true; its default is false until native qualification. Opt-in requires Codex/Claude with pinned kwargs.version and a nonprivileged private PID namespace. Independent Docker/Apptainer adapters retain hard cutoff and budget guidance. --check reports this capability distinction.

Orchestration and budget

orchestration.policy defaults to stateless_agent, version to 1, and options to an empty mapping. Its options.concurrency defaults to run.max_active_sessions; options.handoff defaults to latest_best and also accepts none. Every successor is fresh and receives only the explicitly selected verified candidate, with normal communication permissions. Task score/objective rules cannot be overridden here. Explicit independent retains options.outcome: latest_ready|none and checkpoint handoff. Existing benchmark templates select it until native ranking qualification. A desired target can exceed the hard cap; queued slots take fair turns.

run.parallel_agents remains a compatibility alias for max_active_sessions; conflicting values fail. Legacy provider and communication bundle selectors remain normalized aliases for canonical backend / policy fields.

campaign.budget.max_wall_seconds sets supported Campaign wall-time reservations. Each admitted Run reserves its full duration without early-finish refund. GPU-hour, LLM-token and extension hard budgets are rejected. See orchestration for accounting, explicit resource grants, Run-owned jobs and Session context.

Researchers

FieldMeaning/default
agent.backendharbor is the standard launcher's execution integration
agent.harnessHarbor identifier; defaults to codex for the single-harness path
agent.modelHarness-specific model identifier; select one supported by your account
agent.credential_profileNamed user credential source, required explicitly for built-in live Codex/Claude execution
agent.kwargsPublic harness constructor options, validated/copied like explicit slot kwargs; native CLI names depend on the selected Harbor adapter
agent.experimental_session_controlsfalse; explicitly enable the implemented Compose fresh-wrap-up path for native acceptance; not a qualification claim
agent.instructionOptional common guidance appended to the shared objective
agent.networkDefaults to no-network; model API use needs an explicitly permitted network path
agent.allowed_hostsCompose allowlist destinations; independent Docker/Apptainer backends do not implement allowlist mode
agents.slotsOptional policy profiles; length matches desired concurrency, defaulting to the runtime Session cap
agents.slots[].profileReusable user researcher profile; can be overridden with explicit slot fields
agent.trusted_pluginsOperator allowlist for custom installed module:Class Harbor agents

Slots contain harness, model, credential_profile and public kwargs after profile expansion. They choose execution profiles, not research roles. Researchers covers advanced binary/runtime settings and authentication covers source isolation. Prepared mode rejects agent.data_dir and agent.runtime_env overrides; use prepared resources. Session GPU fields and agent.parallel_instructions have been removed.

Compute

Omitted compute means backend: none. The standard launcher accepts none or local; a disabled provider cannot contain options/limits. Local experiment jobs select their executor independently of the researcher sandbox choice.

Local optionDefaultMeaning
executordockerdocker or apptainer; local execution remains on the authorized Linux host
executor_optionsBackend-specific defaultsApptainer executable, fakeroot and gpu_mode; see compute
devicesautoAvailable physical GPU UUID pool, or an explicit list of distinct UUIDs
sharingfalseExclusive allocation by default
max_consumers_per_device2Bounded consumer count when sharing is explicitly enabled
pool_root/tmp/myxos-gpu-leasesShared coordination root for Controllers using the same devices
imageResolved prepared/task development imageAlready-present Docker image or typed digest-verified SIF for Apptainer; startup does not build/pull

Options live under compute.options. The following positive limits live under compute.limits:

LimitDefault
max_outstanding_jobs_per_account2
default_job_seconds600
max_job_seconds900
leases.max_outstanding_per_account1
leases.default_seconds600
leases.max_seconds900

A default duration must not exceed its maximum. Job/lease time is also bounded by the Run deadline. See compute for requests and selected outputs.

Communication, sandbox and evaluation

SelectionMeaning
communication.policyshared_artifacts by default; also shared_workspace, message_board or none
communication.version1 for the shipped bundles
communication.optionsEmpty mapping for shipped bundles
Omitted sandboxExisting Compose Docker execution, including task-specific Compose/allowlist behavior
sandbox.backend: dockerExplicit portable local Docker backend
sandbox.backend: apptainerExplicit prepared-SIF Linux Apptainer backend
sandbox.optionsBackend-specific executable, runtime/image policies; see sandbox reference
Installed Linux bundleOmit Campaign sandbox; the installation selects tmux/bubblewrap and a native task profile
evaluation.sealed_final_onlyMust remain true; does not automatically launch final evaluation

Formal development evaluation is configured in the task's task.toml, not as agent-selected verifier parameters in Campaign YAML. See evaluation. Storage uses the Campaign root for local retained objects without requiring another user-facing storage service or metrics schema.

Mac control profile

A Mac Campaign's desktop section selects control_image, volume, name and optional observer_port. Execution state lives in the Linux Docker volume; campaign.state_dir is replaced by that controlled layout. The current profile requires explicit Docker sandbox, compute disabled and a legacy Codex agent.auth_file. Named/env credential profiles and explicit user-config forwarding are rejected. Use the Mac runbook for the complete image/auth/recovery contract and supply a matching local control image.

Validate and diagnose

run --check parses configuration, resolves profile references and validates the supported structural selections. It does not prove asset availability, namespace isolation, model authorization, GPU capacity or scientific correctness. doctor, auth check, task preparation and native acceptance each have a narrower explicit purpose; see CLI reference and troubleshooting.