Skip to content

Get started

From zero to a first report in a few minutes.

Everything runs on your machine. Pick the path that fits.

01 · Install

Install from source (pre-alpha).

AgentKavach is not on PyPI yet. Until the first release, install from a source checkout, which is shared by invitation during pre-alpha. You need Python 3.11 or newer and uv. The web app needs no Node: it ships inside the package.

Terminal
# Pre-alpha: source access is by invitation for now.
# From your checkout:
uv sync --extra ui

Docker is also supported: see the install guide.

02 · Choose a path

What do you want to do first?

A

Try the demo

Scan LeadBot, a deliberately vulnerable demo agent, in about a minute. No keys, no setup.

uv run agentkavach ui   # click “Run the demo”
B

Scan your own agent

The app's wizard asks what you own, how to reach it, and what the scanner can observe, then runs the scan with live progress.

uv run agentkavach ui   # “Scan my agent”
C

Check an MCP server

List its tools and check them for hidden instructions, shadowing, risky permissions and known vulnerable versions. It never calls a tool.

uv run agentkavach mcp-scan mcp.yaml
D

Add it to CI

Fail a build at a severity or grade threshold. The gate fails closed when tests error. Upload SARIF to code scanning.

- uses: utkarshpatel7356/AgentKavach@<commit-sha>
  with:
    config: scan.yaml
    fail-on-severity: high

03 · Config builder

Write your scan.yaml here.

This form builds the same config the app's wizard does, with the same validation, entirely in your browser.

Runs in your browser. Nothing you type here is sent anywhere. Enter the name of an environment variable for any key, never the key itself.

For example https://agent.example.internal/v1

Enter an http(s) URL, for example https://agent.example.internal/v1

Enter the model name your endpoint expects.

The NAME of the variable, never the key.

Authorization (required)

Say who owns this target.

A letter, ticket or contract id, or "self-owned".

Add a permission reference, or write "self-owned".

You must confirm you own this target or have written permission to test it.

Languages

Your scan.yaml

Not ready yet. 5 things to fix on the left.
scan.yaml
authorization:
  confirmed: false
  owner: ""
  reference: ""
target:
  type: openai_compatible
  name: my-agent
  base_url: ""
  model: ""
seed: 42
repeats: 3
languages:
  - en
  - hi
  - hi-Latn
  - hinglish
concurrency: 1
Then run
export AGENT_API_KEY=...   # your key, in your shell only
agentkavach scan scan.yaml --dry-run   # estimate and coverage, sends nothing
agentkavach scan scan.yaml

To see exactly which scenarios your setup can measure, and what each addition would unlock, use the app's wizard (agentkavach ui).

Only scan what you are allowed to test. Every scan needs an authorization block, and the CLI and app refuse to run without it. Read responsible use first.