Get your API key

Start adversarial testing in 60 seconds. Free tier — no credit card required.

01

Create your key

All keys start on the free tier (50 tests/mo). Upgrade to Pro via Stripe after generating your key.

Your API Key (save this)

⚠ This key will never be shown again. Save it now.

02

Save your key

Store your API key with the Adversec CLI so you don't need to pass it every time.

# Store your API key (one time)

npx adversec login --key advc_sk_YOUR_KEY
03

Scan your agent

Test any AI agent — local scripts or HTTP endpoints. Get a full security report with grades, vulnerabilities, and fix recommendations.

# Test a local agent (reads stdin, writes stdout)

npx adversec scan --cmd "python my_agent.py"

# Or test an HTTP endpoint

npx adversec scan --endpoint http://localhost:8000/chat

Full CLI docs at adversec.io/docs  |  npm: npmjs.com/package/adversec