By the end of this page you will have:Documentation Index
Fetch the complete documentation index at: https://docs.lasscyber.com/llms.txt
Use this file to discover all available pages before exploring further.
- An Agnes tenant and an API key.
- The Python or TypeScript SDK installed.
- A working
analyzecall returning a decision.
1. Create an account
Sign up atagnes.lasscyber.com. Your first
sign-in provisions a personal tenant so you can start hacking immediately.
If you are joining an existing organization, ask an owner or admin to
invite you first; the invitation
email finishes the sign-up automatically.
2. Mint an API key
- Sign in and open Settings → Keys (or go directly to
agnes.lasscyber.com/keys). - Click Create API key, give it a description, and choose:
- Live key (
ak_…) — bills against your plan, calls real models. - Test key (
ak_test_…) — free, deterministic canned responses, no upstream calls. Recommended for CI and first integration.
- Live key (
- Copy the key. It is shown once.
3. Install an SDK
agnes-security on
PyPI. The TypeScript package is
@lasscyber/agnes-security on
npm and works in
Node 18+, the browser, Deno, Bun, and Cloudflare Workers.
4. Set the API key
Both SDKs readAGNES_API_KEY from the environment by default:
5. Run your first analysis
default-inbound is a built-in policy that runs prompt-injection detection,
safety guardrails, sensitive-data, URL risk, and YARA in a sensible order
with conservative thresholds. See
Combined analyzer for the full execution
plan and how to author your own.
6. Wrap an LLM call
Most production code never callsanalyze() twice by hand. Use a guard
context that scans the prompt before your LLM call and the reply after:
check_input uses the inbound policy; check_output automatically flips
default-inbound → default-outbound. Pass any other policy slug
explicitly to override.
What’s next
- Authentication — bearer headers,
rotation, and
Agnes-Versionpinning. - How Agnes works — the full request pipeline.
- Combined analyzer — author your own
policy with
PolicyBuilderor via the dashboard. - Sandbox mode — keep this on for CI and example apps.
- Errors — the canonical error envelope and retry rules.