Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>loopfinderNew to Visual Studio Code? Get it now.
loopfinder

loopfinder

motimotinotch

| (0) | Free
| Sponsor
Find the feedback loops in your workspace: trace your scripts with writes blocked, add the human/AI steps, and see every loop, including the ones you never declared.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

loopfinder for VS Code

日本語

Find the feedback loops in your workspace — including the ones you never meant to build.

The loopfinder CLI and viewer, inside the editor. No Node install needed: it runs on the editor's own runtime (Python is needed only to trace .py scripts).

Use

From the Command Palette:

  1. loopfinder: Set up this workspace — makes loopfinder/ (config.json, flows.json, AGENTS.md).
  2. Ask your AI agent (Claude Code, Codex, Cursor, Copilot, ...): "Read loopfinder/AGENTS.md and survey this workspace." (loopfinder: Copy the request for your AI agent puts it on the clipboard.) It writes loopfinder/flows.json.
  3. loopfinder: Build the graph — runs the traced scripts with writes blocked and draws the graph.
  4. loopfinder: Show the loops — opens the viewer. It redraws by itself after every build, from the palette or from loopfinder build in a terminal. Click a path in the side pane to open the file.

The viewer starts in the editor's display language. Picking a language with the button at the top of the viewer wins over it.

Safety

Building really runs your scripts. Writes are recorded and dropped; network and subprocesses are blocked unless you turn on loopfinder.allowNetwork / loopfinder.allowSubprocess. It is a recorder, not a sandbox: do not trace code you would not run.

In a workspace you have not trusted, set up and build are off; you can still view a graph that is already built.

.loopfinder/ (the build output) lists your file paths. Keep it out of version control.

Support

Ko-fi · MIT License · bundles dagre and graphlib (MIT) and Lucide icons (ISC)

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft