Metadata-Version: 2.4
Name: irimi
Version: 0.2.0.dev1
Summary: Shadow runs for AI agents: replay a production run with one change, writes faked, and see the difference.
License-Expression: Apache-2.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Dist: irimi-sdk==0.2.0.dev1
Requires-Dist: irimi-server==0.2.0.dev1
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/irimi-io/Irimi
Project-URL: Issues, https://github.com/irimi-io/Irimi/issues
Project-URL: Source, https://github.com/irimi-io/Irimi
Description-Content-Type: text/markdown

# irimi

Shadow runs for AI agents. Record a workflow run in production, replay it with one change (a model,
a prompt, code) with every write faked, and see how the two runs differ.

```sh
pip install irimi
```

This installs the SDK, the `irimi` command and the irimi server, and needs Python 3.12 or newer.
An app that only records can install the SDK alone, which has no dependencies and runs on Python
3.10 or newer:

```sh
pip install irimi-sdk
```

## Replay a run

Start a local server, and set `IRIMI_SERVER_URL` to the address it prints:

```sh
irimi server
```

A replay runs a recorded run's workflow as the code is now, answers its calls from the recording,
and records the result as a new run. Run it from the app's directory:

```sh
irimi runs
irimi replay <run id> --diff
```

`irimi diff <base run id> <candidate run id>` compares any two runs call by call.

The [SDK's README](https://github.com/irimi-io/Irimi/blob/main/packages/sdk/README.md) says which
calls are answered from the recording, which are faked, which are sent for real, and which writes
a replay cannot stop.

Early development. Source and issues: https://github.com/irimi-io/Irimi
