Documentation / quickstart
5-Minute Quickstart
Secure your AI agent with one install command and fewer than 5 lines of code.
1
Get your API key
Create an account in the SupraWall Dashboard and copy your API key. Keys are prefixed with ag_live_....
2
Install the SDK
TypeScript / Node.js
bash
npm install suprawall
Python
bash
pip install suprawall
3
Wrap your Agent
SupraWall intercepts and policy-checks every tool call. Wrap your existing agent runtime in just one line.
TypeScript (SDK)
typescript
import { protect } from "suprawall";
const agent = createMyAgent();
const secured = protect(agent, {
apiKey: "ag_your_key_here",
});
await secured.invoke({ ... });Python (Decorator)
python
from suprawall import secure
@secure(api_key="ag_your_key_here")
def my_agent_action():
# Your agent logic here
pass4
Configure Policies
Head back to the dashboard to define which tools are safe, which need approval, and which are hard-blocked.
ALLOW
Safe tools (search, read)
DENY
Blocked tools (delete, drop)
APPROVE
Sensitive tools (pay, send)