Architecture
myxos separates research decisions from execution. Agents explore in private CPU sandboxes, submit experiments when they need compute, evaluate candidates and share selected findings. The runtime manages time, state and recovery around that loop.
Three lifetimes
| Concept | Owns | Ends when |
|---|---|---|
| Campaign | Objective, task binding and retained research history | The operator retires the project |
| Run | Absolute deadline, Session cap and execution bindings | Research stops and owned resources are finalized |
| Session | One agent invocation and private working state | The invocation finishes, is replaced or reaches cutoff |
A Campaign spans multiple Runs. Recovering an unfinished Run preserves its original deadline; --resume starts a new Run after finalization.
Research flow
Research-flow definition
flowchart TD
Task["Prepared task and objective"] --> Runtime["Run runtime and policy"]
Runtime --> Sessions["Private researcher Sessions"]
Sessions --> Jobs["CPU / GPU experiments"]
Jobs --> Sessions
Sessions --> Evaluation["Development evaluation"]
Evaluation --> Best["Verified best candidate"]
Best --> Runtime
Sessions <--> Sharing["Campaign communication"]
Runtime --> State["Recorded state and artifacts"]
State --> Observer["Read-only Observer"]Task preparation pins code, images and public/private input bindings before research starts. The policy chooses which Sessions to launch and which retained inputs they receive. Sessions research independently; GPU admission happens at experiment submission, so researchers can continue while jobs queue.
Formal development evaluation runs the task's pinned verifier on a frozen candidate. Valid results can update Runtime best. A separate sealed final replay uses final inputs and stays outside development feedback.
Components
| Component | Responsibility | Guide |
|---|---|---|
| Runtime | Session admission, fixed deadline, state, recovery and finalization | Operations |
| OrchestrationPolicy | Research scheduling and selected candidate/context handoff | Orchestration |
| AgentBackend | Execute the selected Codex, Claude or custom Harbor agent | Researchers |
| SandboxBackend | Isolated execution, file transfer and owned cleanup | Sandboxes |
| ComputeBackend | Admit and execute experiment jobs independently of agents | Compute |
| CommunicationPolicy | Control how researchers share information | Communication |
| EvaluationBackend | Run task-defined verification and record results | Evaluation |
| Storage / Observer | Retain content and expose recorded progress | Storage, Observer |
These contracts stay independent. A new research policy does not require a new sandbox; a new compute backend does not define how agents collaborate.
Current capabilities
The current runtime is local: SQLite records coordination state and local object storage retains content. It supports parallel researchers and multi-GPU jobs on the configured host. Slurm/cloud scheduling, distributed controllers and an S3 storage backend remain future work.
Research executes in Linux: Docker/Compose, prepared-image Apptainer or the install-time tmux/bubblewrap bundle. macOS has a Docker Desktop CPU control profile; Windows research uses a compatible Linux environment such as WSL2. See the platform matrix for limits.
The default policy starts fresh agents with an explicitly selected verified best candidate. Existing benchmark YAMLs explicitly select independent; changing a policy is a research choice requiring task/backend validation.
Native execution must be checked on the target host. Offline tests establish contracts and recovery behavior; they do not establish model access, site GPU isolation or a scientific score. See verification scopes.
For implementation ownership and dependency rules, use the agent architecture reference and interface contracts.