Skip to content

echoChain

echoChain measures how an answer changes when models rewrite it in a loop. The repository is smusali/echoChain.

Set OPENROUTER_API_KEY in the environment or in .env.

Install

pip install echochain

The optional baseline extra adds sentence-transformer scores:

pip install "echochain[baseline]"

A first run

Dry-run from the example config:

echochain run --config examples/echochain.toml --dry-run

Run one live cycle:

echochain run --start "Redis uses epoll for I/O" --max-cycles 1 --yes

Where to go next:

  • Usage for commands, flags, configuration, output files, and exit codes.
  • Methodology for scores, conditions, analysis, and limits.
  • Contributing for the local workflow and the release process.