Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Samurai Agent — Prevent JS/TS Regressions from AI EditsNew to Visual Studio Code? Get it now.
Samurai Agent — Prevent JS/TS Regressions from AI Edits

Samurai Agent — Prevent JS/TS Regressions from AI Edits

Samurai Agent

|
204 installs
| (0) | Free
Shows regression risk right after AI code edits and lets you review risky JS/TS changes before they ship.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Samurai Agent

Prevent JS/TS regression bugs by reviewing AI code edits inside your IDE — before they break your app.

Samurai Agent demo

Watch the demo (YouTube) · GitHub Pages · Source

Open source under the MIT License. Install from the VS Code Marketplace or Open VSX.

What it does

  1. Detects AI-like edit bursts (editor + filesystem).
  2. Scores JS/TS regression risk locally — no model call.
  3. Shows an IDE warning; one click starts a focused review.
  4. The agent uses tools (search, git, diagnostics, sandbox) and your LLM.

Edit-time vs PR-time review

Plan-aware and JS/TS regression-aware

Samurai does not replace Cursor or Copilot. It reviews what they write.

Bring your own key

There is no default model and no proxy.

In the Samurai Agent panel → Settings:

  1. Choose a provider: OpenAI, Gemini, or Anthropic.
  2. Type any model name that provider accepts.
  3. Paste your API key (stored in VS Code Secret Storage).

Nothing runs until an entry is active.

Develop

pnpm install
pnpm run compile
# Press F5 in VS Code / Cursor to launch the Extension Development Host
pnpm test -- --selectProjects unit

See CONTRIBUTING.md and ARCHITECTURE.md.

License

MIT — see LICENSE.md.

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