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
| Source | Selection and resolution |
|---|---|
| Campaign YAML | Explicit --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 profile | agents.slots[].profile expands a user profiles.researchers entry; fields explicitly supplied in that slot override the profile |
| Single-harness selection | With no slots, agent.harness/model/credential_profile is used for the parallel researchers |
| Credential file path | Relative paths inside user TOML resolve from the TOML directory; values remain outside both configuration files |
| State/cache location | campaign.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
| Field | Meaning/default |
|---|---|
campaign.name | Required persistent Campaign identity |
campaign.objective | Shared research goal; defaults to the Campaign name |
campaign.state_dir | Private 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.folder | Clean local Harbor task; use with optional revision and prepare |
task.revision | auto pins the current clean task checkout during preparation; explicit source revisions must match |
task.prepared_id | Reuse an already prepared task instead of a new folder/preparation mapping |
task.prepare.resource_options | Audited resource/image declarations; see recipe options |
task.prepare.cache_root | Optional non-default preparation cache root |
task.prepare.approve_steps | Explicit 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.
| Field | Default | Meaning |
|---|---|---|
run.duration_seconds | Required | Elapsed wall-clock research time |
run.max_active_sessions | Required | Hard concurrent Session ceiling; independent of GPU count |
run.session_max_seconds | 3600 | Optional Session ceiling; null disables it, while Run/request deadlines still apply |
run.session_reminder_seconds | 600 | Positive reminder threshold; shorter effective Sessions skip the paired mechanism |
run.session_wrapup_seconds | 300 | Reserved fresh-wrap-up window; must be below reminder seconds; 0 disables both actions |
run.session_min_seconds | 60 | Minimum Run time at launch admission; 0 disables; deliberately short Runs of at most this duration are exempt |
run.shutdown_grace_seconds | 120 | Stop/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
| Field | Meaning/default |
|---|---|
agent.backend | harbor is the standard launcher's execution integration |
agent.harness | Harbor identifier; defaults to codex for the single-harness path |
agent.model | Harness-specific model identifier; select one supported by your account |
agent.credential_profile | Named user credential source, required explicitly for built-in live Codex/Claude execution |
agent.kwargs | Public harness constructor options, validated/copied like explicit slot kwargs; native CLI names depend on the selected Harbor adapter |
agent.experimental_session_controls | false; explicitly enable the implemented Compose fresh-wrap-up path for native acceptance; not a qualification claim |
agent.instruction | Optional common guidance appended to the shared objective |
agent.network | Defaults to no-network; model API use needs an explicitly permitted network path |
agent.allowed_hosts | Compose allowlist destinations; independent Docker/Apptainer backends do not implement allowlist mode |
agents.slots | Optional policy profiles; length matches desired concurrency, defaulting to the runtime Session cap |
agents.slots[].profile | Reusable user researcher profile; can be overridden with explicit slot fields |
agent.trusted_plugins | Operator 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 option | Default | Meaning |
|---|---|---|
executor | docker | docker or apptainer; local execution remains on the authorized Linux host |
executor_options | Backend-specific defaults | Apptainer executable, fakeroot and gpu_mode; see compute |
devices | auto | Available physical GPU UUID pool, or an explicit list of distinct UUIDs |
sharing | false | Exclusive allocation by default |
max_consumers_per_device | 2 | Bounded consumer count when sharing is explicitly enabled |
pool_root | /tmp/myxos-gpu-leases | Shared coordination root for Controllers using the same devices |
image | Resolved prepared/task development image | Already-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:
| Limit | Default |
|---|---|
max_outstanding_jobs_per_account | 2 |
default_job_seconds | 600 |
max_job_seconds | 900 |
leases.max_outstanding_per_account | 1 |
leases.default_seconds | 600 |
leases.max_seconds | 900 |
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
| Selection | Meaning |
|---|---|
communication.policy | shared_artifacts by default; also shared_workspace, message_board or none |
communication.version | 1 for the shipped bundles |
communication.options | Empty mapping for shipped bundles |
Omitted sandbox | Existing Compose Docker execution, including task-specific Compose/allowlist behavior |
sandbox.backend: docker | Explicit portable local Docker backend |
sandbox.backend: apptainer | Explicit prepared-SIF Linux Apptainer backend |
sandbox.options | Backend-specific executable, runtime/image policies; see sandbox reference |
| Installed Linux bundle | Omit Campaign sandbox; the installation selects tmux/bubblewrap and a native task profile |
evaluation.sealed_final_only | Must 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.