Build.
Break.
Fix.

Talk to Osmogrep, inspect your repo, patch risky paths, run tests, and ship with verification in one flow.

agent://osmogrep-runtime

$ osmogrep watch --project ./backend --fix

[engine] runtime hooks initialized

[watch] auth.ts changed

[analyze] runtime trace graph updated

[risk] sql_injection_vector score=0.82

[agent]patch candidate generated
[runner]parallel tests: 124/124 passed
[stress]no regressions
[agent]patch candidate generated
[runner]parallel tests: 124/124 passed
[stress]no regressions
Avg Patch Loop
18s
Parallel Jobs
32
Session Visibility
100%
Command Latency
<100ms
Get StartedRead the Docs

No credit card required • Free local install

Core Agent Loop

From prompt to patch to verification.

Osmogrep runs as a local terminal agent with explicit tools. It inspects code, proposes edits, executes commands, and validates changes with tests before you ship.

Interactive TUI Session

Stream agent responses and tool logs in one place with clear separation between input, execution, and output.

Tool-Driven Editing

Use explicit tools like `read_file`, `search`, and `write_file` so every edit path stays auditable and reproducible.

Command + Control

Run shell directly with ! and manage execution with slash commands like /help and /quit.
index://graph-build

First Launch Indexing

Osmogrep builds repository context before any edit loop starts.

On first run, Osmogrep scans your workspace and builds a relation graph for files, symbols, imports, and call paths. That context is cached and reused so patch generation and test execution stay grounded in real dependencies instead of guesswork.

symbolsimportscall paths.context.json
Runtime Inspection

See what changed,
not just what compiled.

The agent watches changed files, surfaces risky paths, proposes targeted patches, then validates with real command output.

  • Patch candidates with clear diffs
  • Parallel test and failure replay
  • Stress validation before release
OSMOGREP
runtime monitor
$ osmogrep watch --project ./backend --fix
[engine] runtime hooks initialized
[watch] auth.ts changed
[analyze] runtime trace graph updated
_
Runtime Coverage

Works where you work

Built as a terminal-first runtime tool that runs cleanly across operating systems and editor workflows.

Terminal-first and cross-platform
Windows
macOS
Linux
VS Code
Neovim
Emacs
IntelliJ