Get started
Install
Install ormaos from GitHub into the Python environment that runs your program, then check what that Python can record.
Requirements#
- Python 3.12 or newer. Ormaos records with
sys.monitoring, which Python 3.12 added. On an older Python,ormaos guidesays that only the context of the command can be recorded. - Linux. Windows and macOS are not tested (see Not yet).
- No other package: the
ormaospackage uses only the Python standard library.
Install it where your program runs#
Ormaos must be installed in the environment of the Python that runs your program: that Python must be able to import ormaos.
pip install git+https://github.com/ormaos/ormaos-pythonIn a virtual environment of the project:
python3 -m venv .venv
.venv/bin/pip install git+https://github.com/ormaos/ormaos-pythonWith uv:
uv pip install git+https://github.com/ormaos/ormaos-pythonThere is no package on PyPI yet; install from GitHub.
Check it#
$ ormaos --version
ormaos 0.0.1ormaos status says whether this Python can record, whether the recorder starts by itself in the Python processes of ormaos run, and the limits of a recording:
$ ormaos status
ormaos 0.0.1 on Python 3.14.4 (/tmp/ormaos-docs-generate/venv/bin/python)
this Python can record: yes; starts by itself under `run`: yes
this command is not running inside a recording
limits when recording, per process: 200000 calls, 50000 exceptions, 200000 lines, 100000 io events, 50000 logging records (ORMAOS_MAX_CALLS, ORMAOS_MAX_EXCEPTIONS, ORMAOS_MAX_LINES, ORMAOS_MAX_IO, ORMAOS_MAX_LOGS)
space: .ormaos uses …; the largest: r1, …; ormaos sets no limit on the folder and deletes nothing
1 recording in .ormaos; last: r1, 2026-11-27 12:00:00, complete, exit 0
next: ormaos show r1 | ormaos liststarts by itself under run: yes means the package installed its .pth file, so every Python process that the command starts, in this environment, is recorded. A Python of another environment, or one started with -S, is not; the recording says how many such processes it missed. See Subprocesses and child processes.
Tell your coding agent#
ormaos guide --agents-md prints one line for the AGENTS.md of your project. With --write it shows the change as a diff and adds the line:
$ ormaos guide --agents-md --write
--- /dev/null
+++ AGENTS.md
@@ -0,0 +1 @@
+- To see what actually happened inside a Python execution (what ran, how often, what was raised and caught, what I/O happened), record it with `ormaos run -- <command>`; run `ormaos guide` first to learn how.
ormaos: added the line to AGENTS.mdWithout --write, no file is touched. The ormaos-python repository also has the same guidance as a skill, in skills/ormaos: copy that folder into the skills folder of your agent.
Next#
- Quickstart: record a job and read the recording.
- The verification loop: how a coding agent uses it.