Forge Workspace, Files & Human Controls
On this page
Ariax Forge sessions run native scientific software inside isolated containers connected to your Ariax browser workspace. This guide explains the filesystem contract, container networking and isolation, multi-GPU execution, browser review tools, human controls, and crash-safe recovery.
1 Container Isolation & Filesystem Contract#
Every Forge command executes inside an isolated container as non-root UID/GID 10001 with a read-only root filesystem and four standard mount points:
| Path | Mode | Behavior |
|---|---|---|
/inputs |
Read-only | Immutable during an active session. Populated via ariax forge inputs add (local file upload or remote --url). Retained across resumed sessions; upload updated files under a new path (for example v2/script.py). |
/models/... |
Read-only | Prepackaged shared model weights, chemical libraries, and reference databases (including UniRef90, Foldseek PDB and AlphaFold SwissProt, and BioPhi OASis) mounted automatically for each selected tool. |
/workspace |
Read-write (auto-synced) | Persistent project files synchronized continuously in the background to Ariax Project Files and visible live in the browser. |
/scratch |
Read-write (local NVMe) | Fast disposable local storage for raw trajectories, ensembles, and intermediate files. Never auto-synced; discarded when the session closes. |
The Scratch → Curate → Pack → Finish Pattern#
Keep /workspace focused on curated outputs so background sync stays fast and project browsing remains snappy:
- Scratch: Write bulk intermediate outputs (thousands of PDB/CIF/NPZ files, diffusion trajectories) to
/scratch/<run>/. - Curate: Copy compact summary tables (
.csv,.json) and top candidate structures (uncompressed.pdb,.cif, or.mmcifup to 10 MB for 3D preview) into/workspace/results/. - Pack: Archive large output folders from
/scratchinto a verified, auto-shardedtar.zstarchive + manifest under/workspace/archives/:ariax forge pack SESSION --src /scratch/run1 --dest /workspace/archives/run1.tar.zst --wait --json - Finish: Drain active commands, flush final
/workspacechanges, and release GPUs cleanly:ariax forge finish SESSION --wait --json
Run ariax storage suggest PROJECT --json to inspect large or high-file-count saved directories when cleaning up completed projects.
2 Container Networking and Isolation#
Forge command containers enable constrained public IPv4 egress (TCP/UDP) by default, so commands that call external MSA servers (--use_msa_server), install Python dependencies (pip install), or fetch public data work out of the box without extra flags.
At the same time, container isolation blocks access to the host, private networks, instance metadata endpoints, inter-container traffic, IPv6, and raw or privileged socket families. Host credentials and control-plane journals stay outside the workload.
To stage immutable remote inputs cleanly into /inputs/ before running commands, use:
ariax forge inputs add SESSION --url https://... --path targets/input.cif --wait-ready
3 Multi-GPU Execution Inside One Session#
Keep one scientific campaign inside one Forge project. Request multiple GPUs with --gpu-count N and control device assignment explicitly with --gpus:
- Concurrent independent workers: Pass disjoint GPU indices (
--gpus 0and--gpus 1) to run separate 1-GPU commands in parallel on the same machine, writing to distinct output directories. Overlapping GPU reservations returngpu_busy. - CPU tools: Omit
--gpuswhen invoking CPU-only tools (antibody-qc,interface-scores,design-qc,structure-tools,foldseek,mmseqs2,lab-feedback,base). - Multi-GPU commands: Pass comma-separated indices (for example
--gpus 0,1). Never overrideCUDA_VISIBLE_DEVICESinside your script (--gpusrestricts visible devices automatically); local loopback collectives (NCCL/GLOOoverlo) work by default.
4 Browser Workspace & Human Controls#
Open any Forge project in your browser (/projects/forge/<project-id>) while the agent is working or after compute has stopped:
- Turn-based You ↔ Agent banner: Shows clearly whether compute is starting, actively running commands, stopping, paused for human review, or stopped and ready to resume.
- Project Files & 3D Structure Viewer:
- Browse
/workspaceand/inputslive alongside sync status indicators. - Click any uncompressed
.pdb,.cif, or.mmciffile up to 10 MB to inspect it in the interactive 3D viewer, with clickable residue identification (Chain A, VAL 1317). - Click text,
.csv,.tsv,.json,.yaml,.fasta,.sh,.py, or.logfiles up to 1 MB to preview inline. - Click Copy path to copy the exact
/workspace/...path to paste directly into your agent chat.
- Browse
- Activity timeline: Filter between All, Commands, and Controls to inspect every tool invoked, exact command
argv, GPU assignment, exit status, tailed logs, and control actions.
Governance & Stop Controls#
| Action | Where | What it does |
|---|---|---|
| Pause | Web UI or ariax pause PROJECT |
Stops compute after a final save and sets a human-only hold (human_resume_required). API keys cannot clear a human hold. |
| Finish and release | Web UI or ariax forge finish SESSION --wait |
Lets currently accepted commands drain (up to 1 hour by default), flushes /workspace, and releases GPUs cleanly. |
| GPU-hour cap | Web UI (Edit GPU-hour cap) or ariax forge limit SESSION --gpu-hours H |
Replaces the total GPU-hour allowance counted from original allocation (including preparation and idle time). Applied caps are enforced directly on the workspace host even if the control plane is unreachable. Note that an authorized full-access API key can also call ariax forge limit while a session is active; use Pause when you want a human-only lock. |
| Resume workspace | Web UI or ariax forge resume PROJECT |
Starts a fresh session in the same project and restores saved /workspace and /inputs files (optionally hydrating only selected paths up to 64 via --hydrate). Never replays prior scientific commands. |
| Allow agent to resume later | Web UI overflow menu (⋯) |
Clears a human Pause hold while keeping compute stopped, allowing your agent to choose hardware and resume when instructed. |
| Abort / Delete | Web UI or ariax abort / ariax delete |
Terminal actions. Abort stops compute permanently while keeping saved files readable. Delete removes compute and saved project files irreversibly. |
5 Durability, Emergency Close & Recovery#
- No silent scientific replay: Every create, resume, run, pack, finish, and file mutation writes a durable operation journal locally under
.ariax/forge/before dispatch. If a network drop leaves an outcome uncertain, inspect and reconcile withariax forge operationsandariax forge recover OPERATION_ID --waitinstead of blindly resubmitting. - Emergency close (
ariax forge close): Intended for immediate teardown (75-second final sync ceiling). By defaultcloserefuses if commands are active or unsynced files remain pending; pass--forceonly when intentionally interrupting active commands or discarding unsaved files. Preferariax forge finish --waitfor normal shutdown. - Local interrupts never stop remote compute: Pressing
Ctrl-Cor hitting a local--wait-timeoutonly stops local polling; the remote Forge session keeps running and billing until finished, paused, or capped.