CLI¶
Istos installs an istos console script.
istos version¶
Print the installed package version:
istos new¶
Scaffold a minimal service:
Creates:
my-service/
main.py # @handle("service/status") + istos.run()
test_main.py # IstosTestClient example
istos analyze¶
Measure the structural health of a package — abstractness, instability, distance from the main sequence, dependency cycles, and god-module candidates:
See Architecture Health for how to read the metrics.
istos eval¶
Replay recorded agent trajectories against the current code — no model, no mesh, no network:
istos eval trajectories/ # a directory of recordings
istos eval trajectories/refund-flow.json # or just one
istos eval trajectories/ --app main:istos # also check the tools still match
istos eval trajectories/ --ignore-text # compare tool calls only
Each recording is replayed with its model turns pinned, so a difference means
your code changed: a tool no longer called, arguments that moved, a tool missing
from the catalogue, a different final answer. --app additionally imports the app
(module:attr, or a module exposing istos / app) and checks every recorded
tool still exists and still accepts the arguments that were recorded.
Exit code is non-zero if any trajectory fails to reproduce. See Testing for how to record one.
istos docs¶
Serve the MkDocs documentation site locally (requires mkdocs from the dev extra):
Open http://127.0.0.1:8000. Use --dir /path/to/repo if you are not in the repository root that contains mkdocs.yml.