Templates and Examples
Two directories ship under config/ in the repo:
config/templates/— minimal pattern templates. Each one demonstrates one deployment pattern with the smallest YAML that exercises it. Copy-and-adapt is the intended workflow.config/examples/— concrete real-world configs that document specific operator decisions (e.g.newbie-docker.yamlcarries the Hawthorne-effect-free design notes from the 2026-04-12 contamination incident).
Both directories are validated by tests/test_templates_v3_valid.py.
Every YAML must round-trip through load_config cleanly; the SLURM
template additionally renders a valid sbatch script so YAML-key drift
from SlurmSpec / SlurmHooks fails loudly in CI rather than at a
user’s first sac start.
Pattern Templates
Template |
Runtime |
When to use |
|---|---|---|
|
claude-code (no container) |
Default. Agent shares the operator’s environment — skills, MCP,
venv, |
|
claude-code in Docker |
Local isolation. Container is the boundary;
|
|
claude-code in Apptainer/Singularity |
HPC compute nodes or locked-down hosts where Docker is
unavailable. Pair with |
|
claude-code via SSH |
Cross-machine fleet member. |
|
SLURM |
Long-running compute on a shared cluster. Wraps the agent in
|
|
claude-code with MCP wiring |
Agent that needs MCP tool access. Demonstrates the
|
Instantiating a Template
The v3 loader uses dir-as-SSoT — the agent name is derived from the
parent directory of the YAML, not from a metadata.name field. To
instantiate:
mkdir -p ~/.scitex/orochi/agents/my-agent
cp config/templates/local.yaml ~/.scitex/orochi/agents/my-agent/my-agent.yaml
# Edit fields you want to customize, then:
scitex-agent-container start my-agent
For SSH and SSH+SLURM patterns, also drop sibling src_CLAUDE.md and
src_mcp.json files into the agent directory; sac copies them to
/tmp/ on the remote and materializes them into the workspace at
agent start.
Examples
Example |
What it documents |
|---|---|
|
Hawthorne-effect-free naive-user simulation. Zero skills, zero
fleet identity, |
|
Opus-powered researcher with |