ZMOS
an offline operating system · Z-Mall Incorporated
The complete operator guide & cheatsheet
version 0.0.1.1 · codename AURORA · build 2026.11.29
Z-Mall Incorporated · Offline Systems Division
synthetic world · sandboxed filesystem · complete formats
DeepSeek and web fetching are optional

A format is a contract; honour the whole contract.

Contents

Start hereInstall and launchSplash, standard and formatsMedia and large imagesCore conceptsThe workspaceThe generated worldMachines and peopleScanning and browsingFiles, edit, transferRuntime and live manipulationCasework and craftNarrow terminals and mobileViews and dashboardsDeepSeek intelligenceThe offline generatorDeepSeek world synthesisEffects and interactionsmshesh hash terminalMemory and notesTab completionScripts, aliases and envComplete command referenceCheatsheetTroubleshootingSafety and limitsAppendix

Start here

ZMOS is the Z-Mall Operating System: a personal, sandboxed operating system. It generates a complete world — networks, computers, ordinary people, devices, services, files, images, logs and synthetic secrets — inside one workspace. You are uid 0. Everything is readable, editable and yours, but nothing touches a real network or machine.

The short loop. world → scan → hosts → enter → ls → view/edit → leave. Everything else extends that loop.

The most useful first commands

zmos
world
scan all --fast
civilians
hosts --civilian
enter pocket-aster
ls -R
view home/*/Notes/*
image home/*/Pictures/*
leave
ask "what should I do next?"
dash

What is real and what is not

Sandbox rule. Every IP is RFC 5737/RFC 3849 or private space. Every name uses fictional TLDs. “Scanning” and “access” are performances over generated data.

Install and launch

From PyPI

python3 -m pip install --upgrade zmos
zmos
# or
zm

Published as zmos on PyPI. Requires Python 3.10+ and has no runtime dependencies; the standard library is enough.

Upgrade

python3 -m pip install --upgrade zmos
hash -r
zmos --version

On a distribution that marks Python as externally managed (PEP 668), add --user --break-system-packages, or install inside a virtual environment. Verify the installed command surface, not just the version:

python3 -c "from zmos.registry import load_builtin_commands, by_category; load_builtin_commands(); print(sum(len(v) for v in by_category().values()), 'commands')"

From source

cd BDCS/ZMOS
python3 -m pip install .
zmos
# or
zm

Offline wheel

python3 -m pip wheel . --no-deps --no-build-isolation -w dist
python3 -m pip install --no-index dist/zmos-0.0.1.1-py3-none-any.whl

After rebuilding a local wheel, force-reinstall it:

python3 -m pip install --user --break-system-packages --force-reinstall \
  --no-index --no-deps dist/zmos-0.0.1.1-py3-none-any.whl
hash -r
zmos --version

Run without installing

PYTHONPATH=src python3 -m zmos --home /tmp/zmos-demo world

Flags

itemmeaning
--home DIRData directory; workspace is DIR/workspace.
--seed NOverride the world seed for this run.
--theme NAMEphosphor, amber, ice, violet, red, mono.
--asciiASCII-only glyphs.
--no-colorDisable ANSI colour.
--no-bootSkip the boot banner.
--no-liveDisable streaming scan output.
--script PATHRun a workspace .rt script.
--stop-on-errorStop a script at the first error.

Environment

ZMOS_HOME=/path/to/data
ZMOS_THEME=phosphor
ZMOS_ASCII=1
ZMOS_FORCE_COLOR=1
DEEPSEEK_API_KEY=sk-...

Splash, standard and formats

The intro page is the Z-Mall Incorporated identity screen. It is shown on interactive start-up and can be printed or saved at any time.

zmos --splash-only
splash
splash --save /drop/splash.txt
settings splash false

The official operating-system standard is available in the shell and in docs/OS-STANDARD.md.

standard
standard identity
standard filesystem
standard formats
standard images
standard conformance
formats --all
formats png
formats image

The catalogue recognises more than 500 extensions and more than 130 generation families. Every generator writes a complete artifact that ordinary tools can open.

Media and large images

ZMOS writes real image and media files in pure Python, with optional Pillow only for previewing foreign inputs.

media
media codecs
media styles
media presets

gen image --size large --style macwall
gen wallpaper --size wallpaper --style aurora
gen poster --size poster --style mesh
gen gif --size small --frames 18
gen photo --size large --style ocean
gen audio --size small
gen model --size tiny
gen font --size tiny
gen diagram --size tiny
gen map --size tiny

Codecs: PNG, PPM, BMP, GIF, JPEG, TIFF, TGA, QOI, farbfeld, PAM, PGM, PBM, XPM, XBM, ICO, ICNS and SVG. Forty procedural styles, seventeen size presets and four quality levels. Large wallpapers and billboards render at a detail cap and are smoothly upscaled.

Core concepts

ZMOS has several layers. Knowing which one you are touching avoids confusion.

itemmeaning
World / UniverseDeterministic networks, hosts, people, services and signals generated from the seed.
WorkspaceThe real directory tree where generated files live: /net, /drop, /notes, /vault, /scripts.
ContentForgeThe offline generator that writes files, images, logs, code, data and packs.
RuntimePer-host OS and per-network controller state: heartbeat, tick, processes, services, kernel, power.
MindLocal reasoning: ask, brief, recommend, risk, anomalies, dossier, plan, agent, do.
DeepSeekOptional language/reasoning layer: text, replies, dossiers, plans, effects, synthesis.
EffectsA validated consequence layer for manipulations and interactions.
msheshHash terminal: value/random hashes, BIP39 words, jittered monitor, logs.

Two different generators

generatorused bycreates
Universeseed new, seed new --freshworld model: networks, hosts, personas, services, addresses
ContentForgescan, enter, compose, pack, gen, dreamreal files in the workspace: docs, code, images, data, logs
seed new rebuilds the world model but writes no files. Use seed new --scan or scan all after it.

The workspace

The workspace is a real sandboxed directory:

$ZMOS_HOME/workspace/
├── README.md
├── root/          root user home
├── notes/         things to remember, sandbox notes
├── cases/         case packs, timelines, findings and briefs
├── gallery/       generated and downloaded images
├── reports/       reviews, caseboards and generated reports
├── evidence/      evidence records and provenance certificates
├── ops/           scope briefs, runbooks and exercises
├── drop/          loose generated artefacts, packs, web files
├── scripts/       .rt scripts
├── vault/         keys, certificates, mshesh logs
└── net/
    └── willow-row/
        ├── _scans/      scan reports
        ├── _signals/    network signal logs
        ├── _runtime/    event logs
        └── pocket-aster/
            ├── _mind/assessment.md
            ├── home/aster-vale/...
            └── var/...

Commands

workspace            # location, size, counts
pwd
df
du /net/willow-row
tree /net/willow-row --depth 20
ls -R /net/willow-row
find /net/willow-row '*'

Cleaning

clean net --yes                    # remove all generated network files
clean network willow-row --yes
clean host pocket-aster --yes
clean drop --yes
clean workspace --yes              # everything + starter files
reset --yes                        # reset session, keep files
reset --yes --wipe                 # wipe workspace, reset session, reseed
clean and reset --wipe are destructive. They never leave the sandbox.

The generated world

The base world has 18 networks, dozens of machines and dozens of civilians. Every seed changes hosts, services, people and signals.

world
world --map
world --json
world --kind residential
network willow-row
map willow-row
topology
graph
hosts
hosts --civilian
civilians
devices

Reseeding

seed show
seed new
seed new --fresh        # new network names/slugs too
seed new --stable       # return to base names
seed new --scan         # reseed + generate files immediately
seed 12345 --fresh

Dreamed regions

dream
dream "a residential street by the sea"
extend orbital
do "create a new network of night-market kiosks"

dream/extend create a persistent extra network, populate it, write lore and images and record it. It participates in world, scan all, maps, dossiers and the runtime.

Address policy

Machines and people

Civilian machines belong to ordinary fictional people: phones, laptops, tablets, watches, cameras, displays, consoles, cars, drones, fridges, doorbells, e-readers, routers, medical wearables, kiosks, speakers, bicycles and meters.

hosts --civilian
civilians
persona "Aster Vale"
devices
host pocket-aster
address pocket-aster
findhost camera

Persona dossier

dossier "Aster Vale" --write
dossier pocket-aster --write
ask "tell me about Aster Vale"
risk pocket-aster

Each host panel shows addresses, OS, kernel, status, power, encryption, runtime, services, users, shares, signals, notes and — for civilians — the person, job, home, household, routine and a note.

Scanning and browsing

Scanning is a live synthetic performance that writes files. It never opens a socket.

scan willow-row --fast
scan willow-row --files 3 --size medium
scan all --fast
scan --host pocket-aster --files 5
scan all --fast --json
scan all --fast --no-live
itemmeaning
--fastNo delays; still writes files.
--files NFiles per host (1-8).
--size BANDtiny, small, medium, large, huge, epic.
--host HOSTRescan one machine.
--aiUse DeepSeek for the first text file per host if configured.
--no-liveNo streaming lines.
--jsonMachine-readable summary.

What a scan writes

  1. A host directory for every machine under /net/<network>/<host>.
  2. Role/persona-aware files: chats, journals, photos, notes, logs, configs, code, data, security rules.
  3. _mind/assessment.md with a factual host assessment.
  4. A network signal log under _signals/.
  5. A synthetic scan report under _scans/.

Repeated scans add new unique files; they never overwrite.

Browsing

enter pocket-aster
enter pocket-aster --count 6 --size large
enter pocket-aster --ai
enter pocket-aster --force       # if powered off/sleep
compose pocket-aster --count 5
pack "a personal archive" --host pocket-aster --count 8
leave

enter sets your cwd to the machine, generates fresh files and gives root access. leave or cd / returns to the workspace root.

Files, edit and transfer

Read and navigate

pwd
ls -la
ls -R /net/willow-row
cd /net/willow-row/pocket-aster
tree . --depth 20
find . '*.md'
grep TODO /net
cat /README.md
head -n 20 file
tail -n 20 file
view file
code file
hex file
stat file
wc file
file file

Write, edit, add

write /notes/field.md "text"
append /notes/field.md "another line"
add /notes/new.md --text "hello"
add /inbox --dir
edit /notes/field.md --set "replace"
edit /notes/field.md --append "add"
edit /notes/field.md --from OLD --to NEW
edit /notes/field.md --insert 3 --text "line"
edit /notes/field.md --delete 3
edit /notes/field.md --clear
edit /notes/field.md --stdin
rm /notes/old.md
rm -r /net/willow-row/host/inbox
mkdir -p /drop/project
cp /README.md /drop/copy.md
mv /drop/copy.md /drop/moved.md
touch /drop/empty
chmod 644 /README.md

Transfer files and directories

download /net/willow-row/pocket-aster/_mind/assessment.md
download /notes --export                 # directory -> exports/notes.zip
download /net/willow-row --export
download pocket-aster / --export         # entire machine
pull pocket-aster home/yara-flint/Journal
upload /notes pocket-aster /inbox/notes
upload /notes/field.md pocket-aster /inbox/field.md
push /drop/bundle.zip pocket-aster /inbox/bundle.zip

download/pull copy into /drop/downloads; --export writes a real copy to $ZMOS_HOME/exports, ZIPping directories. upload/push copy into a generated machine.

Explicit web fetch

fetch https://example.com/
fetch https://example.com/file.pdf --max 8M

fetch is opt-in, HTTP(S)-only, bounded, content-type checked, refuses private/loopback addresses by default and writes metadata sidecars.

Archives

zip /drop/bundle.zip /net/willow-row
unzip /drop/bundle.zip
unzip /drop/bundle.zip --extract
unzip /drop/bundle.zip --extract --dest /drop/out

Runtime and live manipulation

Every machine has a simulated OS and every network has a controller.

os pocket-aster
runtime --limit 10
ps pocket-aster
ps pocket-aster --sort mem --all
proc pocket-aster list
proc pocket-aster stop meshwatch
proc pocket-aster add watcher
proc pocket-aster nice meshwatch --nice 5
svc pocket-aster list
svc pocket-aster stop lattice
svc pocket-aster start lattice
kernel pocket-aster
kernel pocket-aster heartbeat_ms 250
kernel pocket-aster root_lock 0
power pocket-aster off
power pocket-aster cycle
heartbeat pocket-aster --rate 250
pulse pocket-aster --count 12
sched pocket-aster mesh --tick 10
ctl pocket-aster off
ctl pocket-aster rate 250
ctl pocket-aster svc stop lattice
monitor pocket-aster
monitor pocket-aster --count 20 --interval 0.2

Network controller

netos willow-row
netctl willow-row heartbeat off
netctl willow-row rate 500
netctl willow-row status locked
netctl willow-row policy sealed
netctl willow-row scheduler mesh
netctl willow-row rule add deny 10.99.0.0/16
netctl willow-row rule delete 1
netctl willow-row route add 10.99.0.0/16 via 10.72.0.1
netctl willow-row route delete 10.99.0.0/16
netctl willow-row dns add quiet.void 10.72.0.9
netctl willow-row dns delete quiet.void
netctl willow-row pulse 10
netctl willow-row reset
monitor willow-row

Live reactions and monitors

events pocket-aster
events willow-row
fs pocket-aster
monitor pocket-aster

Cooling attention and exposure

Attention, suspicion, containment, patch debt and network exposure can be lowered explicitly. Every control writes a runtime event and a journal entry.

cool pocket-aster
cool pocket-aster --by 25
cool pocket-aster --reset
patch pocket-aster
patch pocket-aster --by 40
expose willow-row
expose willow-row --cool
expose willow-row --cool --by 30
metrics pocket-aster
metrics willow-row

Casework and craft

ZMOS 2.0 adds an investigation layer: findings, incidents, evidence, objectives and generated artifact records. All of it is stored in state.json and can be exported as a coherent case pack.

finding add "open admin panel" --host pocket-aster --severity high --vector service
incident add "quiet access" --network willow-row --severity high
objective add "audit civilian devices" --host pocket-aster
evidence add /net/willow-row/pocket-aster/var/log/app.log --note "first pull"
provenance /net/willow-row/pocket-aster/var/log/app.log --write
findings --severity high
incidents
evidence
objectives
artifacts
metrics pocket-aster

Case packs

scope "audit civilian devices in willow-row" --write
casepack "quiet exfiltration" --host pocket-aster
review /cases/quiet-exfiltration/*.pdf
curate /gallery --title "evidence board"
commission pocket-aster photo --count 2
salon willow-row --limit 20

A case pack writes CASE.md, TIMELINE.md, FINDINGS.md, an IOC CSV, a generated report and a manifest under /cases. Evidence records carry sha256, bytes, entropy, source and time.

Reversible text work

review /reports/incident.md
redact /reports/incident.md 10.72.0.12 aster@example.void --svg
sanitize /reports/incident.md
summarize /reports/incident.md --sentences 5
rewrite /reports/incident.md --style brief
annotate /reports/incident.md
diff /reports/incident.md /reports/incident-summary.md

Every transform writes a new file. The original is kept, and the new file records its source. review scores clarity, specificity, evidence, actionability and brevity, then prints revision cues.

Runtime posture

File actions change host metrics: noise, evidence, suspicion, containment and patch debt. Network activity, noise and exposure move as files cross the mesh. os <host> shows them; metrics summarises a host, network or the world.

Narrow terminals and mobile

ZMOS adapts down to 32 columns.

# a phone-sized terminal
stty cols 40
zmos
dash
help gen
artifacts
This is a terminal interface, not a touch app. It is designed to be usable in a phone terminal, a split pane or a narrow SSH session.

Views and dashboards

dash
tree /net/willow-row --depth 20
graph pocket-aster
map willow-row
topology
timeline
inspect /README.md
view /README.md
image /path/to/file.png
hex /path/to/file
gallery /net/willow-row
code /path/to/source.py
itemmeaning
dashWorld, civilian, exposure, mind and journal overview.
treeDirectory tree with sizes.
graphHost service/user/signal graph or world graph.
mapWorld map or network host map.
topologyNetwork → host → service tree.
imageRender PNG/PPM/SVG/BMP in the terminal.
galleryThumbnails of generated/downloaded images.
timelineSession journal.

DeepSeek intelligence

DeepSeek is optional. With a key, it becomes an underlying language/reasoning layer; the local OS remains the executor.

ai
ai key sk-...
ai mode auto
ai test
ai usage
usage
ai pricing
ai budget 1.00
ai model deepseek-chat
ai temp 1.0

What it handles

Examples

ask "what should I do next?" --online
council "what is interesting here?"
brief --online
dossier willow-row --online
plan "civilian audit" --online
agent "civilian audit" --online --run
say pocket-aster "did you notice the file?" --online
events pocket-aster --explain --online

Token and dollar meter

usage
ai usage --json
ai usage --reset
ai budget 2.00
ai pricing
settings ai_price_input_per_m 0.28
settings ai_price_cached_per_m 0.028
settings ai_price_output_per_m 0.42
Pricing is approximate USD per 1M tokens and can be overridden. Budget exhaustion triggers local fallback. The model never writes files or state directly.

The offline content generator

The forge writes real files, with unique names and content. It works fully offline.

gen types
gen all --count 6
gen doc --size huge
gen book --size epic
gen python --host pocket-aster --size large
gen image --size large --style macwall
gen wallpaper --size wallpaper --style aurora
gen poster --size poster --style mesh
gen gif --size small --frames 18
gen model --size tiny
gen font --size tiny
gen diagram --size tiny
gen map --size tiny
gen office
gen security
gen key
gen archive
gen life --count 3

Families

137 families, dozens of extensions. Highlights: Markdown/text/RTF/LaTeX, docs, source in many languages, HTML/CSS, JSON/YAML/TOML/XML/CSV, configs, logs, packet captures, detection rules, synthetic keys, mail/chats/journals/calendars/contacts/receipts/todos/playlists, ZIP/TAR, PDF, DOCX, XLSX, PPTX, ODT/ODS/ODP, EPUB, SQLite, MIDI, WAV, AIFF, PNG/PPM/BMP/GIF/JPEG/TIFF/TGA/QOI/farbfeld/PAM/PGM/PBM/XPM/XBM/ICO/ICNS/SVG, OBJ/STL/glTF, BDF fonts, SRT/VTT/LRC, GPX/KML/GeoJSON, BibTeX/RIS, Mermaid/PlantUML/draw.io/Excalidraw, Makefile/CMake/Dockerfile/Nix, Jupyter notebooks, Vue components, gzip.

Generator catalogue

kindextensionsn
archive.zip .tar .7z3
art.ansi .art2
assembly.asm .s2
audio.wav .aiff2
audit.log .md2
batch.bat1
bazel.bzl1
binary.bin1
book.md .epub .pdf3
c.c .h .cpp .hpp4
calendar.ics1
casefile.md .json2
cert.pem .crt .csr .der4
chain.md .json2
chat.chat .txt .jsonl3
citation.bib .ris2
clojure.clj .cljs2
cmake.cmake1
compliance.md .yaml2
config.ini .conf .env .properties .service .tf .hcl .nix .desktop .timer .socket11
contact.vcf1
csharp.cs1
css.css .scss .less .sass .styl5
dart.dart1
data.csv .tsv .json .jsonl .xml .yaml .toml .ndjson .hjson .json5 .kdl11
database.db1
diagram.dot .mermaid .mmd .puml .drawio .excalidraw6
disk.img1
doc.md .txt .rst .org .adoc .typ6
docker.dockerfile1
dot.dot1
elixir.ex .exs2
epub.epub1
erlang.erl1
farbfeld.ff1
feed.xml .rss .atom3
font.bdf1
forensics.md .csv2
fortran.f901
fsharp.fs1
gif.gif1
go.go1
gradle.gradle1
graphql.graphql1
gzip.gz1
har.har1
haskell.hs1
html.html .htm .xhtml3
icon.ico .xpm .xbm .icns4
image.png1
incident.md .json2
iocs.csv .json2
java.java1
journal.md .journal2
js.js .ts .jsx .tsx .mjs .cjs6
julia.jl1
k8s.yaml1
key.pem .key .crt3
kotlin.kt1
life.md .ics .vcf .chat .png5
log.log .audit .jsonl .syslog .out .err6
lua.lua1
lyrics.lrc1
mail.eml1
make.mk1
malware.md .json2
manual.md .pdf .html3
map.gpx .kml .geojson3
midi.mid1
model.obj .stl .gltf3
music.mid .wav .aiff .musicxml .abc .ly6
nim.nim1
nix.nix1
note.md .txt .note .memo4
notebook.ipynb1
ocaml.ml1
office.docx .xlsx .pptx .ods .odt .odp6
osint.md .json2
packet.pcap1
pam.pam1
paper.tex .pdf .md3
pbm.pbm1
pdf.pdf1
pentest.md1
perl.pl .pm2
pgm.pgm1
photo.png .ppm .svg .bmp .tga .qoi .tiff .jpg .jpeg9
php.php1
playlist.playlist .m3u2
policy.rego .yaml .md3
poster.png .svg .pdf .tga .tiff .jpg6
postmortem.md1
powershell.ps11
proto.proto1
python.py .pyi .pyx3
qoi.qoi1
r.r .rmd2
receipt.txt .json2
report.md .pdf2
rfc.md1
rtf.rtf1
ruby.rb1
runbook.md1
rust.rs1
scala.scala1
schema.xsd .json .graphql .proto4
security.rule .rules .yaml .yara4
shell.sh .bash .zsh .fish .ksh5
soc.jsonl .md2
solidity.sol1
sql.sql1
subtitles.srt .vtt2
svelte.svelte1
svg.svg1
swift.swift1
tabletop.md1
terraform.tf .tfvars .hcl3
tex.tex1
tga.tga1
threatmodel.md .json .yaml3
tiff.tiff .tif2
timeline.md .csv2
todo.todo .task .md3
typst.typ1
universe.json .md2
verilog.v .sv2
vhdl.vhd1
video.webm .mkv .mp43
vue.vue1
wallpaper.png .svg .tga .qoi .tiff .jpg .jpeg7
web.html .htm .xhtml .css .scss .less .sass .styl8
webarchive.har1
world.json .yaml .md3
xbm.xbm1
xpm.xpm1
zig.zig1

Sizes

tiny: 2-8 lines/units · small: 8-24 lines/units · medium: 30-90 lines/units · large: 120-320 lines/units · huge: 500-1200 lines/units · epic: 1600-4000 lines/units · colossal: 4200-9000 lines/units

Content packs

pack "a field kit for a relay engineer" --count 8
pack "family archive" --host pocket-aster --count 10
pack "incident response kit" --count 12 --size large --online

A pack is a coherent directory with docs, code, configs, data, logs, security, art and a _pack.md manifest.

Graphics

Forty procedural styles including aurora, dunes, ocean, forest, skyline, nebula, coral, glacier, blossom, rain, snow, desert, sunset, macwall, mesh, glass, ribbon, tide, ember and more. Seventeen size presets from thumb to mural. Writes complete PNG/PPM/BMP/GIF/JPEG/TIFF/TGA/QOI/farbfeld/PAM/PGM/PBM/XPM/XBM/ICO/ICNS/SVG files; renders in the terminal with half-blocks or ASCII.

DeepSeek world synthesis

With a key, DeepSeek can propose complete networks and hosts. ZMOS validates and repairs every field before adding them.

synth status
synth network "a winter civic network of carpenters and old laptops"
synth network "a coastal cooperative" --hosts 7 --files 3 --online
synth network "a metadata-only region" --metadata-only
synth host willow-row "a retired translator's home laptop" --files 2
synth host saltmarsh-wood "a shared workshop desktop"

Generated details

Validation

Comprehensive by default: files, assessments, manifest, image and scan record. Use --metadata-only to skip files.

Effects and interactions

Manipulations and conversations can be handled by DeepSeek as a consequence engine. The model proposes, ZMOS validates and applies.

effects status
effects off
effects on
effects types
effects log 20
effects test pocket-aster "stopped a process without warning"

Allowed effects

alarm · attention · load · service · process · neighbor · notice · network_alarm

Automatic for runtime actions, file actions and say when a key is available and mode is auto/online. The local deterministic reactions still run. Disable with effects off or settings ai_effects false.

Talking to people

say pocket-aster "hello"
say "Aster Vale" "I noticed your door camera"
inbox pocket-aster
inbox pocket-aster --read
notices pocket-aster

Civilian owners can notice file changes, gain attention/unread notices and leave replies in their Chats folder. say writes a real conversation artefact.

mshesh hash terminal

A native port of BDCS/mshesh.

mshesh                    # one random hash (default)
mshesh random 3
mshesh value hello
mshesh words 2
mshesh unwords "coconut mystery hub ... shift gauge naive"
mshesh monitor 1 50 5
mshesh log 20
mshesh save /vault/mshesh/log.txt
mshesh save /vault/mshesh/log.txt --lines 10
mshesh save-lines 5
mshesh record /vault/mshesh/live.txt
mshesh record off
mshesh user operator
mshesh status

Value hashes are deterministic SHA-256. Random hashes are 32 random bytes. BIP39 encoding/decoding is checksum-validated. Monitor mode is jittered and supports a value chance. Logs, recording, username and entries persist in state and files under /vault/mshesh/.

Memory and notes

ZMOS keeps two kinds of memory: the session journal (what you did) and your own notes (what you want to keep). Both are plain data in the workspace or state file, so they survive restarts and can be read, edited, copied or uploaded like any other file.

remember "Root is a responsibility, not a permission."
remember "check the roof node after the next scan"
recall
recall roof
recall --limit 10
forget 3
things
mantra
cheat
journal --limit 20
stats
itemmeaning
remember "text"Add a numbered note; also appends it to /notes/remember.md.
recall [query]List notes, or filter them by a case-insensitive substring.
forget NRemove note number N from session memory.
thingsPrint the built-in things-to-remember list.
mantraGenerate a short root mantra.
cheatPrint the cybersecurity/programming cue sheet.
journal / timelineShow the chronological session journal.
statsWorld counts, files, notes, journal length and AI usage.

notes and memory are aliases for recall. Notes are capped by the session store, not by the workspace; the Markdown mirror at /notes/remember.md is the human-readable copy and can be edited directly.

Habit. Use remember for intent, and journal for evidence. The journal records commands, scans, errors and generated artefacts automatically.

Tab completion

Tab completion is context-aware:

scan wi<TAB>              → scan willow-row
gen h<TAB>                → html / htm / huge / ...
gen html --format d<TAB>  → dashboard / docs
ls /n<TAB>                → /net/ /notes/
theme <TAB>               → amber / ice / phosphor ...
host pocket<TAB>          → pocket-aster ...

Completion is active in the interactive shell. Piped/non-TTY runs do not use readline.

Scripts, aliases and env

Scripts

Scripts run inside the shell with script, or from the launcher with --script. Paths are workspace-relative.

script /scripts/tour.rt
script /scripts/tour.rt --stop-on-error
zmos --script /scripts/tour.rt
zmos --script /scripts/tour.rt --stop-on-error

A script is a text file with one command per line. Blank lines and lines beginning with # are ignored; each line is echoed before it runs. With --stop-on-error, execution stops at the first command error.

# /scripts/tour.rt
world
civilians --limit 5
scan all --fast
dash

Scripts run with natural-language routing disabled, so a typo is reported as an error instead of being sent to the mind. Pipes and redirections work normally.

Aliases

alias
alias ll "ls -la"
alias w "world"
unalias w

Environment

env
env KEY value
echo $KEY

Session

whoami
name operator
settings
settings ai_mode auto
history 40
history clear
seed show

Complete command reference

Generated from the live registry: 193 commands in 14 categories.

system

commandaliaseswhat it doesusage / flags
about—What ZMOS is, and what it deliberately is not.about
aliasunaliasList, add or remove aliases.alias [name [command]]
ascii—Toggle ASCII-only glyphs.ascii [on|off]
bannerbootPrint the boot banner.banner
clearclsClear the terminal.clear
commands—Flat list of every command.commands [category]
echo—Print text.echo [text...]
env—Show or set session environment variables.env [key] [value]
exitquit, logout, qLeave the root shell.exit
help?Browse commands, usage and examples.help [command|category|--all]
history—Show or clear command history.history [N|clear]
hostnameunamePrint the machine or active host name.hostname
man—Read the field guide topics.man [topic]
name—Set the operator callsign.name <callsign>
restart—Restart the ZMOS shell in place.restart
rootsudoConfirm the obvious: you are root.root
script—Run a workspace .rt script from inside the shell.script <path> [--stop-on-error]
seed—Show or change the world seed.seed [show|new|N] [--fresh|--stable] [--scan]
selftest—Prove the install, workspace and world work.selftest
settingsconfigShow or change settings.settings [key] [value]
splash—Show the Z-Mall Incorporated intro splash page.splash [--animate] [--save PATH]
status—One-line session status.status
sysproc, neofetchFake kernel, memory, daemons and mounts.sys
theme—List or set the colour theme.theme [name]
tour—A guided path through the ZMOS world.tour
updateupgradeCheck PyPI on demand and update ZMOS, with restart and PEP 668 fallback.update [--check] [--yes] [--restart] [--break-system-packages] [--force] [--json]
uptimedate, timeShow session uptime and load.uptime
versionverShow version and build.version
whoamiidPrint the current identity.whoami

host

commandaliaseswhat it doesusage / flags
access—Simulate a root access handshake.access <host> [--level root|user|read]
coolstand-down, standdown, quietenLower attention and suspicion on a host; clear unread notices.cool [host] [--by N] [--reset] [--json]
ctlcontrol, ctrl, manipulateOne-verb manipulation of a machine's power, heartbeat, kernel, processes and services.ctl <host> <power-action|heartbeat|rate|scheduler|kernel|start|stop|restart|kill|nice|svc|tick|reset> ... [--nice N] [--user U]
enteruse, browse, inhabit, cd-hostInhabit a machine and generate fresh files.enter <host> [--count N] [--size BAND] [--ai] [--quiet] [--force]
eventsreactions, eventlogRead persisted runtime events and reactions.events [host|network] [--limit N] [--json] [--explain] [--online]
fsfilesystem, diskhInspect a machine's filesystem, disk pressure and recent file reactions.fs [host] [--json] [--limit N]
heartbeat—Show or tune a machine's heartbeat.heartbeat <host> [--rate MS] [--on|--off] [--tick N] [--json]
hostmachine, infoShow everything about a machine.host <ip|hostname> [--json]
inboxnotices, messagesRead notices and conversations on a machine.inbox [host] [--limit N] [--read] [--json]
interfacesifconfig, ipShow interfaces for the active machine or world.interfaces
kernel—Inspect or set a machine's kernel parameters.kernel <host> [key] [value] [--reset] [--json]
leaveexit-host, ejectLeave the current machine.leave
monitorwatch-host, live-os, observeLive monitor for a machine's OS, heartbeat, processes and services.monitor [host|network|all] [--count N] [--interval SEC] [--no-clear]
netstatssShow listening services on the active machine.netstat
os—Inspect a machine's running algorithm, heartbeat and OS state.os [host] [--json] [--tick N] [--pulse]
patchhardenReduce patch debt and suspicion on a host.patch [host] [--by N] [--reset] [--json]
ports—List open ports on a machine.ports [host]
power—Change a machine's simulated power state.power <host> [on|off|sleep|wake|cycle|degraded]
procprocessManipulate a machine process table.proc <host> <add|start|stop|restart|kill|remove|nice> <pid|name> [--nice N] [--user U]
pstop, processesList processes on a machine.ps [host] [--all] [--sort cpu|mem|pid] [--tick N] [--json]
pulselive, monitor-heartStream a machine's heartbeat and live process load.pulse <host> [--count N] [--interval SEC]
runtimeruntimes, vitalsOverview of every machine's running state.runtime [--all] [--json] [--limit N] [--network NET]
saytalk, tell, interactSpeak to a person; conversation can cool, patch or contain their machine.say <host|person> <message> [--online] [--cool] [--patch] [--contain] [--by N]
sched—Inspect or change a machine's scheduler and algorithm.sched <host> [scheduler] [--tick N] [--json]
services—List services on a machine.services [host]
shares—List shares on a machine.shares [host]
svcservice, services-ctlStart, stop, restart or inspect services on a machine.svc <host> <start|stop|restart|enable|disable|status|list> [service]
users—List users on a machine.users [host]

files

commandaliaseswhat it doesusage / flags
add—Create a file or directory.add <path> [--dir] [--text TEXT] [--force]
append—Append text or stdin to a file.append <path> [text...]
cattypePrint file contents.cat <file>... [-n]
cd—Change directory.cd [path]
chmod—Change a mode (decorative in the sandbox).chmod <mode> <path>
cp—Copy a file or directory.cp <source> <target>
downloadpull, getDownload a file from a simulated machine into /drop/downloads.download <path|host path> [--to DIR] [--name NAME] [--export]
editsedEdit a file directly: set, append, replace, insert or delete.edit <path> [--set TEXT] [--append TEXT] [--from OLD --to NEW] [--insert N --text TEXT] [--delete N] [--clear] [--stdin]
filekindIdentify a file by extension and content.file
find—Find paths by glob.find [path] <pattern>
greprgSearch text files with a regex.grep <pattern> [path] [-i] [-n] [-l]
head—Show the start of a file or stream.head [file] [-n N]
lsdirList a directory.ls [path] [-l] [-a] [-1] [-R|--recursive]
mkdir—Create a directory.mkdir [-p] <path>
mv—Move or rename a file.mv <source> <target>
nanopico, nano-editOpen the nano-style full-screen text editor.nano <path> [--read-only]
rmdel, deleteRemove files or directories.rm [-r|--recursive] [-f|--force] <path>...
rmdir—Remove an empty directory.rmdir <path>
stat—Detailed metadata for a path.stat <path>
tail—Show the end of a file or stream.tail [file] [-n N]
touch—Create an empty file.touch <path>
unzip—List or extract a ZIP archive.unzip <file.zip> [--extract] [-x] [--dest DIR]
uploadpush, sendUpload a workspace file into a simulated machine.upload <path> <host> [path] [--to PATH] [--name NAME]
wc—Count lines, words and characters.wc <file>
write—Write text to a file.write <path> [text...] [--append]
zip—Create a ZIP archive from paths.zip <dest.zip> <path>...

crypto

commandaliaseswhat it doesusage / flags
addressaddr, cardsShow a synthetic address card.address [host] [--new] [--json]
decode—Decode text.decode <base64|hex|url|rot13> <value>
encodeb64Encode text or a file.encode <base64|hex|url|rot13> [text|file]
entropy—Estimate Shannon entropy of a file.entropy <file>
fingerprint—Show a short fingerprint of a file.fingerprint <file>
hash—Hash a file or stdin.hash <file> [--algo sha256|sha1|md5|blake2b|sha512]
msheshhashterm, hhmshesh hash terminal: values, random hashes, BIP39 words and monitors.mshesh [random|value|words|unwords|monitor|log|save|save-lines|record|user|status|help] ... [--fast] [--json] [--lines N]
passphrase—Generate a memorable synthetic passphrase.passphrase [--words N]
rot13—Rot13 a string.rot13 <text>
token—Generate a synthetic token.token [--prefix RT] [--words N]
uuidguidGenerate one or more UUIDs.uuid [--count N]

mind

commandaliaseswhat it doesusage / flags
agentautopilotPlan and optionally run a safe multi-step investigation.agent <objective> [--run] [--all] [--online]
analyzeassess, analysisAnalyze a host, person, network or the whole world; optional DeepSeek assessment.analyze [host|person|network] [--local] [--online]
anomaliesanomaly, weird, oddFind unusual combinations across the world.anomalies [--json] [--limit N]
askthink, question, analystAsk the onboard mind a question in natural language.ask <question> [--online] [--local] [--council] [--run] [--json]
briefsitrep, situation, overviewRead the current situation like an analyst.brief [--online]
composepack, fillGenerate a coherent content pack for a host, person or network.compose [host|person|network] [--count N] [--size BAND] [--online]
counciltwo-sources, compare-mindsAsk the local mind and DeepSeek independently, then compare.council <question>
doact, executeInterpret an instruction and execute the safe steps.do <instruction> [--dry-run] [--all] [--online] [--local]
dossierprofile, reportWrite or read a durable assessment of a host, person or network.dossier [host|person|network] [--write] [--online]
dreamextend, grow, worldnewGeneratively extend the world with a new region and written content.dream [theme] [--count N] [--online]
effectsaffect, consequencesInspect, toggle or test DeepSeek-handled consequences.effects [status|on|off|types|log [N]|test <host|network> <action...>] [--json]
mindintelligence, brainStatus, capabilities and compact world context of the onboard mind.mind [context] [--json]
planobjective, approachTurn an objective into safe, concrete steps.plan <objective> [--online]
recommendnext, advise, suggestAsk the mind for the best next moves.recommend [--json]
risk—Explain why a host or network is risky.risk [host|network]

forge

commandaliaseswhat it doesusage / flags
aideepseek, llmAI provider status, endpoint, key, mode, usage, pricing and test.ai [status|local [start|stop|status|wait|models|choose NAME|restart]|base URL|key KEY|mode offline|auto|online|test|model NAME|temp N|timeout SEC|max-tokens N|usage|budget USD|pricing|reset-usage] [--clear] [--json] [--reset]
genforge, make, create, newGenerate a complete unique file of any kind.gen <kind|ext> [--count N] [--size BAND] [--style STYLE] [--quality Q] [--frames N] [--host HOST] [--online] [--local] [--chunked] [--prompt TEXT] [--dir DIR] [--format HTML_FORMAT] [--max-tokens N] [--web] [--source NAME] [--json]
packbundle, projectGenerate a coherent multi-file offline content pack.pack [theme] [--host HOST] [--count N] [--size BAND] [--online]
scourwebimg, webimages, fetchimg, photosOpt-in web image search with attribution.scour <query> [--count N] [--source any|commons|openverse] [--kind city|nature|...] [--type png|svg|jpg] [--host HOST] [--dir DIR] [--json] [--no-convert]
synthfabricate, deepworld, aihostLet DeepSeek generate a complete new network or host, with every detail.synth network <theme> [--hosts N] [--files N] [--size BAND] [--max-tokens N] [--online] [--json] [--scan|--full|--metadata-only] | synth host <network> <theme> [--files N] [--size BAND] [--max-tokens N] [--online] [--json] [--scan|--full|--metadata-only]
typeskinds, catalogue, catalogList every generation kind, extension and size band.types [kind]
usagetokens, costAI token and dollar usage counter.usage [--json]

craft

commandaliaseswhat it doesusage / flags
annotatemarginaliaWrite line-by-line notes and a review of a text.annotate <file> [--dir DIR]
diffcompareCompare two files and print or save a unified diff.diff <before> <after> [--write] [--dir DIR]
redactblackout, redactionWrite a redacted copy of a file; optionally render a redaction plate.redact <file> [terms...] [--svg] [--dir DIR]
reviewassess-text, read-reportReview a report, log or note for clarity, evidence and next actions.review <file> [--json]
rewriteplain, simplifyWrite a plain-language rewrite of a file.rewrite <file> [--style STYLE] [--online] [--dir DIR]
sanitizescrub, declassifyWrite a copy with addresses, hashes, tokens, URLs and secrets replaced.sanitize <file> [--dir DIR]
summarizesummary, digestWrite an extractive summary of a file.summarize <file> [--sentences N] [--online] [--dir DIR]

case

commandaliaseswhat it doesusage / flags
artifactartefactShow one generated artifact.artifact <id|path> [--json]
artifactsgenerated, inventoryList generated artifacts with kind, host and status filters.artifacts [--kind K] [--host HOST] [--status S] [--json] [--limit N]
casepackexercise, case-packGenerate a coherent case pack: brief, timeline, findings, IOCs and report.casepack <theme> [--host HOST] [--network NET] [--count N] [--size BAND] [--online]
commissionrequest, askforAsk a civilian or host to produce a file from their own context.commission <host|person> [kind] [--count N] [--size BAND] [--online]
curatecaseboard, exhibitCurate images into a Markdown and HTML caseboard.curate [path] [--title TITLE] [--limit N] [--format md|html|both]
evidenceexhibitsList evidence or add a file to the evidence record.evidence [add <file> [--note TEXT] | show <id>] [--json]
findingfinding-addAdd, update, show or link a finding.finding <add|update|show|link> ...
findingssignals, observationsList findings; filter by severity, status, host or network.findings [--severity S] [--status S] [--host HOST] [--network NET] [--json] [--limit N]
incidentcaseAdd, update or show an incident.incident <add|update|show> ...
incidentscasesList incidents.incidents [--status S] [--severity S] [--json] [--limit N]
metricsposture, signals-stateShow the operational metrics for a host or network.metrics [host|network] [--json]
objectivegoalAdd, update or show an objective.objective <add|update|show> ...
objectivesgoalsList objectives.objectives [--status S] [--json] [--limit N]
provenanceattest, certificateFingerprint a file and write a provenance certificate.provenance <file> [--write] [--json]
salonchatter, feedRead the recent social/runtime life of a host, network or the world.salon [host|network] [--limit N] [--json]
scopeengage, briefingTurn an objective into a scoped engagement brief.scope <objective> [--online] [--write] [--json]

notes

commandaliaseswhat it doesusage / flags
cheatcheatsheet, cuesCybersecurity, hacking and programming cues.cheat
dictionnano-line, emptyGenerate a Diction: code line; toggle the empty-Enter generator.diction [code|theme|count|list|on|off] [--limit N] [--json]
forget—Remove a remembered thing by number.forget <n>
journal—Show the session journal.journal [--limit N]
mantrafortune, whisperA generated root mantra.mantra
recallnotes, memoryRead or search things you remembered.recall [query] [--limit N]
remembernote, memorizeWrite a thing to remember.remember "text"
stats—World and workspace statistics.stats [--json]
things—Read the default things to remember.things

network

commandaliaseswhat it doesusage / flags
civilianspeople, civMeet the ordinary people and their devices.civilians [--json] [--network NET] [--limit N]
devices—Summarise the kinds of computers in the world.devices [--json]
dns—Show synthetic DNS records.dns <host|network>
exposeexposure, quiet-netInspect or cool a network's runtime exposure and noise.expose [network] [--cool] [--by N] [--reset] [--json]
fetchwgetExplicitly download a web file into the sandbox.fetch <url> [--dest DIR] [--name NAME] [--max SIZE] [--json]
findhostfindmachine, searchSearch machines, people, services and notes.findhost <query> [--limit N]
hostsmachines, devices-allList machines in the world.hosts [--all] [--civilian|--infra] [--network NET] [--json] [--limit N]
netctlnetman, nctlManipulate a network controller.netctl <network> <heartbeat|rate|status|policy|scheduler|rule|route|dns|pulse|reset> ...
netosnetos-show, nctl-showInspect a network controller's heartbeat, firewall, routes and DNS.netos <network> [--json]
networknetInspect a network and its machines.network <name> [--json]
persona—Show a civilian and all their devices.persona <name|handle>
ping—Simulate a ping (no packets leave).ping <host> [--count N]
route—Show the simulated routing table.route
scanprobe, sweep, sLive-scan a network, all networks, or one machine.scan <network|all|host> [--fast] [--files N] [--size BAND] [--ai] [--no-live] [--json] [--host HOST]
traceroute—Simulate a route through the world.traceroute <host>
vulns—List synthetic findings.vulns [host] [--severity S] [--limit N]
whois—Show a synthetic address card.whois <host|network>
worldnets, networks, wList every generated network.world [--map] [--json] [--kind KIND]

workspace

commandaliaseswhat it doesusage / flags
clean—Clear generated workspace content safely.clean <net|workspace|drop|cases|gallery|reports|evidence|ops|network SLUG|host HOST> --yes
df—Show workspace disk usage.df
du—Show size of a path.du [path]
export—Save the last output (or a file) into the exports folder.export <name> [--file PATH]
mount—Show the mounts of this personal OS.mount
open—Open a file in the best viewer.open <path>
pwdcwdPrint the working directory.pwd
reseed—Rewrite the starter workspace files.reseed
reset—Reset the session, optionally wiping the workspace.reset --yes [--wipe] [--new-seed] [--keep-name]
workspacewsShow the sandbox location and contents.workspace

views

commandaliaseswhat it doesusage / flags
code—Show a file with syntax highlighting.code <file>
dashdashboard, watchThe ZMOS dashboard.dash
gallery—Browse generated and downloaded images.gallery [path] [--limit N]
graph—Graph the active machine, a host, or the whole world.graph [host]
hexhexdump, xxdHex dump a file.hex <file> [--limit N]
imageimg, render, photoRender a PNG/PPM/SVG image in the terminal.image <file> [--width N] [--ascii]
inspect—Inspect a host or a file in one view.inspect <host|path>
map—Map the world or a network.map [network]
timelinelog, journal-logChronological journal of the session.timeline [--limit N]
topologytopoFull network → host → service topology.topology [--limit N]
tree—Render a directory tree.tree [path] [--depth N]
viewless, more, pageView any file: code, markdown, log, JSON, image or hex.view <file> [--raw] [--width N] [--ascii]

standard

commandaliaseswhat it doesusage / flags
formatsformat, exts, catalogue-filesThe complete ZMOS file and generation catalogue.formats [extension|kind] [--all] [--json]
media—List image codecs, procedural styles and size presets.media [codecs|styles|presets]
standardosstandard, conformanceRead the official ZMOS operating-system standard.standard [topic]

media

commandaliaseswhat it doesusage / flags
poster—Generate a poster (default size: poster).poster [--style NAME] [--size PRESET] [--count N]
wallpaperwallGenerate a full wallpaper (default size: wallpaper).wallpaper [--style NAME] [--size PRESET] [--count N]

Cheatsheet

ZMOS LOOP

world
scan all --fast
hosts --civilian
civilians
enter <host>
ls -R
view <file>
image <image>
leave
dash

WORLD

world --map
network <slug>
map <slug>
topology
graph <host>
seed new --fresh --scan
dream "a coastal cooperative"
synth network "a winter civic mesh" --scan

FILES

ls -la / tree / find / grep
cat / view / code / hex / stat
edit --set / --append / --from --to / --insert / --delete
add / write / append / rm / mkdir / touch
cp / mv / zip / unzip
ls -R /net/<net>
download /net/<net> --export
upload /notes <host> /inbox/notes
fetch <url>

RUNTIME

os <host> / ps <host>
proc <host> start|stop|restart|kill|add|nice
svc <host> start|stop|restart|list
kernel <host> key value
power <host> on|off|sleep|wake|cycle
heartbeat <host> --rate N
pulse <host> --count N
sched <host> [name]
ctl <host> <action> ...
monitor <host>
runtime --limit 20
fs <host>
events <host>
cool <host> [--by N|--reset]
patch <host> [--by N|--reset]
expose <network> [--cool] [--by N|--reset]
metrics <host|network>

CASEWORK

finding add "title" --host <host> --severity high --vector service
incident add "title" --network <net> --severity high
objective add "title" --host <host>
evidence add <file> --note "first pull"
provenance <file> --write
findings --severity high
incidents / evidence / objectives / artifacts
metrics <host|net>
casepack "theme" --host <host>
scope "objective" --write

CRAFT

review <file>
redact <file> TERM... --svg
sanitize <file>
summarize <file> --sentences 5
rewrite <file> --style brief
annotate <file>
diff <before> <after> --write
commission <host|person> photo --count 2
salon <net> --limit 20
curate /gallery --title "evidence board"

NETWORK CONTROL

netos <network>
netctl <net> heartbeat on|off
netctl <net> rate N
netctl <net> status <state>
netctl <net> policy <name>
netctl <net> rule add allow|deny CIDR
netctl <net> route add CIDR via GW
netctl <net> dns add NAME IP
netctl <net> pulse N
netctl <net> reset

DEEPSEEK

ai / ai key sk-... / ai mode auto / ai test
ai usage / usage / ai budget 1.00 / ai pricing
ask "..." --online
council "..."
brief --online
dossier <target> --online
plan "..." --online
agent "..." --online --run
analyze <target> --online
effects status|on|off|log|test
say <host> "..." --online
events <host> --explain --online

SYNTH

synth status
synth network "theme" --hosts 7 --files 4 --online
synth host <network> "theme" --files 2
--metadata-only

GENERATOR

gen types
gen all --count 6
gen book --size epic
gen office
gen image --size large
gen security
gen key
gen archive
pack "field kit" --count 8
pack "family archive" --host <host> --count 10

MSHESH

mshesh
mshesh random N
mshesh value TEXT
mshesh words N
mshesh unwords "24 words"
mshesh monitor [i] [chance] [n]
mshesh log [N]
mshesh save [path] [--lines N]
mshesh record [path|off]
mshesh status

VIEWS

dash
tree <path> --depth N
map [network]
graph [host]
topology
image <file>
gallery [path]
code <file>
hex <file>
timeline

CLEAN / RESET

clean net --yes
clean network <slug> --yes
clean host <host> --yes
clean cases|gallery|reports|evidence|ops --yes
clean drop --yes
clean workspace --yes
reset --yes
reset --yes --wipe
seed new --scan

MEMORY

remember "text"
recall [query]
forget N
things
mantra
cheat
stats

Troubleshooting

“unknown command”

Run help --all, or use help <command>. In the interactive shell, a multi-word non-command line is sent to the mind; use ask "..." explicitly if needed.

Scan writes no files

The machine may be powered off or asleep. Check os <host> and run power <host> on. Also verify the target network exists with world.

New seed looks like the old networks

Base network names are stable by default. Use seed new --fresh for new identities. If you pass --seed N every run, that flag overrides the stored seed.

DeepSeek does nothing

Check ai status, key, mode, budget and ai usage. A 401 means a bad key; a budget exhaustion falls back locally.

DeepSeek output is incomplete

HTML/JSON/Python are validated; invalid or truncated output is rejected and the offline generator is used. Check the generated file’s note.

Web image/fetch fails

Internet may be unavailable. fetch refuses private/loopback addresses; scour needs a public source. Offline graphics still work with gen image.

Tab completion does nothing

It is active only in the interactive TTY shell, not in piped commands or scripts.

JPEG will not render

Install optional Pillow: pip install "zmos[images]". PNG/PPM/SVG/BMP work without it.

Where is my data?

workspace prints the real path. Exports go to $ZMOS_HOME/exports.

Safety and limits

ZMOS is a closed sandbox.

Use the same discipline in the real world: written authorisation, a defined scope, a stop condition, data-handling rules, and respect for other people's data.

Root is a responsibility, not a permission.

Appendix

Workspace layout

$ZMOS_HOME/
├── workspace/
│   ├── README.md
│   ├── net/<network>/<host>/...
│   ├── drop/packs/...
│   ├── notes/
│   ├── vault/mshesh/
│   └── scripts/
├── exports/
├── archive/
├── plugins/
├── state.json
└── secret.json       # chmod 0600

Key files

filemeaning
state.jsonprofile, seed, scans, notes, journal, runtime, hash lab, AI usage, custom world
secret.jsonDeepSeek key, mode 0600
_mind/assessment.mdfactual host assessment
_runtime/events.logruntime/effect events
_scans/scan reports
_signals/network signal logs
_pack.mdcontent pack manifest

DeepSeek pricing defaults

meterUSD / 1M tokens
input (cache miss)0.28
input (cache hit)0.028
output0.42

Approximate; override with settings ai_price_*.

Quick file-kind examples

kindexample
docgen doc --size huge
bookgen book --size epic
officegen office
imagegen image --size large
photogen photo --host
securitygen security --size medium
chatgen chat --host
packpack "theme" --count 8