Python SDK
Wraps an OpenAI-compatible client, or lets you emit asrielnetworks.ai.event.v1 events yourself. Core has no dependencies; extras add httpx, requests, aiohttp, OpenTelemetry and LangChain adapters.
pip install asrielnetworks-sdk
pip install "asrielnetworks-sdk[all]"
The credential the SDK uses is minted in the console under Connect AI.
Self-hosted backend
The API, its workers and the database run from one compose file: PostgreSQL 16 with pgvector, Redis, the API, a migration job, the detection worker and the scheduler. Migrations run once at start; row-level security is forced on every tenant table.
git clone <your copy of the repository>
cd backend
cp .env.example .env # database, Redis, keys, SMTP
docker compose up
Then point the desktop app at https://your-host/api/v1. The deployment guide in backend/docs covers the environment-variable matrix, release order, health checks and secret rotation.