Kramlipi — AI Code Review & CI-Repair
Free AI code reviews and CI fixes in VS Code. Catch bugs on every change, repair failing tests and broken builds until they pass — then ship faster.
BYO LLM key · runs on your machine · free local tier.
Requirements
- Install this extension (VSIX).
- Run Kramlipi: Install / Update code-agent Binary — downloads the latest matching asset from
kramlipi/code-agent-binaries into
extension storage and sets
kramlipi.executablePath.
- Set a provider key as an OS environment variable (
GEMINI_API_KEY, OPENAI_API_KEY, or
ANTHROPIC_API_KEY). Never put keys in settings.json or git.
Docs: https://kramlipi.github.io/get-started/
Platform note: public GitHub assets are named code-agent-v*-linux, code-agent-v*-macos,
code-agent-v*-windows.exe. If your OS asset is not published yet, the install command explains
that and points you to get-started / Drive.
Agent panel (no Command Palette needed)
Click the robot icon in the activity bar (or run Kramlipi: Open Agent Panel) to open a
chat-style view with one-click goal buttons:
- Fix failing tests, Increase coverage, Review branch diff — use the verify-command
field as the hard success gate.
- Fix build from log, Clone / open repo, Choose model, Setup check, Install binary.
- A Custom goal box runs
code-agent run "<goal>" --verify-cmd "<your command>".
As the agent works, written files appear under Files changed. Expand a file to preview its Git
diff inline (added/removed lines highlighted), or click open diff for the full editor view.
When your verify command passes, each file shows its final Added / Modified / Deleted status.
Commands
You can still use the Command Palette:
- Kramlipi: Install / Update code-agent Binary — fetch latest release for this OS.
- Kramlipi: Clone / Open Demo Repo — pick
kramlipi/OrderManagementSystem (Java failing tests),
kramlipi/chi (Go coverage), or any owner/repo; clones under ~/kramlipi-repos (or
kramlipi.reposParentDir) and opens the folder.
- Kramlipi: Choose Provider and Model — pick OpenAI, Gemini, Groq, Ollama, Bedrock, OpenRouter, etc. (synced from CLI catalog).
- Kramlipi: List LLM Providers and Models — runs
code-agent doctor --providers.
- Kramlipi: Check Agent Setup — runs
code-agent doctor --provider-test.
- Kramlipi: Fix Broken Build from Log — chooses a saved CI/build log and asks for the
verification command.
- Kramlipi: Fix Failing Unit Tests — verify-gated
code-agent run until your test command
exits 0 (best for red unit tests without a parser-friendly log).
- Kramlipi: Review Current Branch Diff — reviews committed branch changes plus tracked
working-tree changes against the configured base branch.
- Kramlipi: Increase Test Coverage — runs the generic goal agent under your coverage/test
command.
- Kramlipi: Open Documentation.
Java demo — fix failing OMS tests
Open /home/su/karm/demos/oms-java (or Clone / Open Demo Repo → OrderManagementSystem).
Read DEMO-VSCODE-FIX-PIPELINE.md.
Run Kramlipi: Fix Failing Unit Tests with verify:
mvn -Dtest=OrderDiscountCalculatorTest test
Optional: Review Current Branch Diff for PR comments; Increase Test Coverage later.
After Fix Broken Build or Increase Test Coverage completes, the extension lists
files changed by the agent and opens Git diffs (via the built-in Git extension).
Live file preview
Open Explorer → Kramlipi Agent Changes before starting a run. Every grounded
code-agent write receipt appears there immediately as Writing. Click a file while
the agent is running to open its current Git diff against HEAD. When verification
finishes, entries change to Added / Modified / Deleted. Use the clear icon in the panel
title to reset the list.
If a command fails because the binary is missing, the extension offers Install latest binary.
Output and subprocess evidence appear in Output → kramlipi Code Agent.
Settings
| Setting |
Purpose |
kramlipi.executablePath |
Full path or code-agent (auto-set by Install Binary) |
kramlipi.verifyCommand |
Default hard test/build gate |
kramlipi.reposParentDir |
Parent for Clone / Open Demo Repo (default ~/kramlipi-repos) |
kramlipi.baseBranch |
Review base branch; default main |
kramlipi.model |
LiteLLM model (CODE_AGENT_MODEL) — use Choose Provider and Model |
kramlipi.showStatusBar |
Show install/version status bar item |
Honest limits
- The extension does not bundle the large platform binaries; it downloads them on demand.
- Review includes committed and tracked working-tree changes; untracked files must be added to
Git before review.
- Review runs in diff-file mode and writes findings under
.code-agent/runs/; it does not
silently post comments.
- Draft PR/MR publishing is intentionally not exposed as a one-click editor command in v0.1.x.
Use the documented CLI after reviewing the local result.
Install
From VS Code Marketplace (when listed): search kramlipi Code Agent.
From VSIX (local or GitHub release):
npm install
npm test
npm run package
code --install-extension kramlipi-code-agent-0.1.9.vsix
Support: cluevion@gmail.com · https://kramlipi.github.io/