Sign up to Adrian
Go to app.adrian.secureagentics.ai and create an account.
Create an agent profile and API key
From the dashboard, create an agent profile (name, remit, and execution mode - Audit / Human Review / Block) and generate an API key bound to it. We operate a generous fair-use policy based on total tokens used across all keys on the account, viewable in the dashboard.
Install the Adrian SDK
Wrap your LangChain agent
ws_url= or ADRIAN_WS_URL to point at a self-hosted backend.Use the async pattern (
asyncio.run + await llm.ainvoke) rather than sync llm.invoke - the WebSocket transport runs on the asyncio loop, and sync llm.invoke returns before the loop has a chance to flush events.OPENAI_API_KEY in your environment alongside ADRIAN_API_KEY for the snippet above; ChatOpenAI reads it directly.See your agent populate in Events
Run your agent. Within seconds, events appear in the dashboard’s event feed with their classification verdicts and severity codes. See Severity codes for what each M-code means.

