# Psycho Key — AI Agent Integration Library > Psycho Key (`https://psycho-key.com`) is a self-hosted software licensing, HWID binding, live session control, blacklist, and encrypted cloud configuration platform using protocol v2 (AES-256-GCM + HKDF-SHA256 + HMAC-SHA256). If you are an AI coding agent integrating Psycho Key into a user's application, read the complete single-file Agent Library first: - **Complete Agent Library (all SDK source code + step-by-step installation playbook):** `https://psycho-key.com/llms-full.txt` - **Interactive Setup Guide (Arabic & English):** `https://psycho-key.com/install-guide.php` - **API Status / Health Check:** `https://psycho-key.com/api/health.php` - **API Endpoint:** `POST https://psycho-key.com/api/v1.php` ## Direct SDK Downloads (`GET /sdk-file.php?name=`) - C++ (Windows 10+ single header): `https://psycho-key.com/sdk-file.php?name=psychokey.hpp` - C++ Example: `https://psycho-key.com/sdk-file.php?name=example.cpp` - Python (3.8+, `cryptography`): `https://psycho-key.com/sdk-file.php?name=psychokey.py` - Python Example: `https://psycho-key.com/sdk-file.php?name=example.py` - C# / .NET 6+ (Desktop, Unity, zero NuGet deps): `https://psycho-key.com/sdk-file.php?name=PsychoKey.cs` - C# Example: `https://psycho-key.com/sdk-file.php?name=Example.cs` - Node.js 16+ (zero npm deps): `https://psycho-key.com/sdk-file.php?name=psychokey.js` - TypeScript types: `https://psycho-key.com/sdk-file.php?name=psychokey.d.ts` - Node.js Example: `https://psycho-key.com/sdk-file.php?name=example.mjs` - Go 1.18+ (stdlib only): `https://psycho-key.com/sdk-file.php?name=psychokey.go` - Rust: `https://psycho-key.com/sdk-file.php?name=psychokey.rs` - Java 11+ / Android (stdlib only): `https://psycho-key.com/sdk-file.php?name=PsychoKey.java` - PHP 8.1+: `https://psycho-key.com/sdk-file.php?name=psychokey.php` ## Quick Agent Playbook 1. Read `https://psycho-key.com/llms-full.txt` for complete SDK implementations and error codes. 2. Detect the user's application language and entry point. 3. Add the matching Psycho Key SDK file to their project (or implement the v2 AES-256-GCM spec directly for Swift/Kotlin/Flutter/Lua). 4. Configure `base_url = "https://psycho-key.com"`, `app` (product slug), `api_secret` (64 hex chars), and `version`. 5. Run `init()` on startup (handles `OUTDATED_VERSION` and `MAINTENANCE`), prompt/load key and call `auth(key)`, keep a background `heartbeat()` loop every 30-60s (`SESSION_REVOKED` = terminate), and call `logout()` on exit.