OmniDiff: see what
your agent changed.
By Alvin
After a coding agent edits a program, you need to inspect the difference between the old file and the new one. A tool that shows those changes is called a diff tool. OmniDiff is one such tool, with comparison methods that depend on the kind of file. [7]
A one-line example
Suppose a fare calculator originally multiplies distance by 2, and the edited version multiplies it by 3. A diff should make that change visible. You can then decide whether it matches the request you gave the agent.
OmniDiff can display changes in the terminal, the app where you type commands, or return JSON: text organized into named fields that another program can read. Our test used two tiny Python files and the tool’s command-line interface, or CLI. [7] [9]
Why an automated check needs care
When a command finishes, it returns an exit code: a small number telling the calling script how it ended. OmniDiff’s default zero means the comparison completed successfully. It can still have found changes. The next page shows the option that makes the number report a difference.