Install Guide & AI Agent Integration
Whether you integrate manually or use an AI coding agent (Cursor, Antigravity, Claude Code, Windsurf, Copilot), this page and llms-full.txt give everything required to wire Psycho Key into any stack in minutes.
Let any AI Agent read the library & integrate Psycho Key
Pick your target language and product slug below, then copy the generated prompt to your AI agent so it fetches llms-full.txt and wires the entire licensing lifecycle.
Official Multi-Language SDKs
Pick your language to view the setup snippet and download the complete SDK + example file.
Single header with zero external libraries (Windows 10+, C++17). Includes SMBIOS HWID, PK_OBF, anti-debug, and TLS pinning.
#include "psychokey.hpp"
psycho::Client client({PK_OBF("https://psycho-key.com"), PK_OBF("my-app"), PK_OBF("64_HEX_SECRET"), PK_OBF("1.0.0"), "", true, true});
if (!client.init().ok) return 1;
auto res = client.auth(userKey);
if (!res.ok) return 1;
// Background loop every 30s: if (!client.heartbeat().ok) exit(1);
// Build: cl app.cpp /std:c++17 /EHsc /O2 /link winhttp.lib bcrypt.lib advapi32.lib crypt32.lib
Single file for .NET 6+, WinForms, WPF, Console, and Unity with zero NuGet packages.
using PsychoKey;
var client = new Client(new Config { BaseUrl = "https://psycho-key.com", App = "my-app", ApiSecret = "64_HEX_SECRET", Version = "1.0.0" });
if (!client.Init().Ok) return;
var res = client.Auth(userKey);
if (!res.Ok) return;
// Timer every 30s: if (!client.Heartbeat().Ok) Environment.Exit(1);
Cross-platform (Python 3.8+ on Windows, Linux, macOS). Only dependency: pip install cryptography
from psychokey import Client, Config
client = Client(Config(app="my-app", api_secret="64_HEX_SECRET", base_url="https://psycho-key.com", version="1.0.0"))
assert client.init().ok
res = client.auth(input("Key: ").strip())
if not res.ok:
raise SystemExit(res.code)
# In daemon thread: if not client.heartbeat().ok: os._exit(1)
Zero npm dependencies (built-in Node.js 16+ crypto). Ideal for Electron Main process, CLI tools, bots, and TypeScript.
const { PsychoKey } = require('./psychokey');
const client = new PsychoKey({ baseUrl: 'https://psycho-key.com', app: 'my-app', apiSecret: '64_HEX_SECRET', version: '1.0.0' });
const hs = await client.init();
if (!hs.ok) process.exit(1);
const res = await client.auth(userKey);
if (!res.ok) process.exit(1);
setInterval(async () => { if (!(await client.heartbeat()).ok) process.exit(1); }, 30000);
Pure Go standard library (Go 1.18+) with built-in HKDF and zero third-party modules.
client, _ := psychokey.NewClient(psychokey.Config{BaseURL: "https://psycho-key.com", App: "my-app", ApiSecret: "64_HEX_SECRET", Version: "1.0.0"})
if hs := client.Init(); !hs.Ok { os.Exit(1) }
res := client.Auth(userKey)
if !res.Ok { os.Exit(1) }
Native Rust SDK using aes-gcm, hkdf, hmac, sha2, and reqwest::blocking.
let mut client = Client::new(Config::new("my-app", "64_HEX_SECRET"))?;
assert!(client.init().ok);
let res = client.auth(&user_key);
if !res.ok { std::process::exit(1); }
Java 11+ & Android compatible using standard library only with a built-in JSON parser.
PsychoKey.Config cfg = new PsychoKey.Config("my-app", "64_HEX_SECRET");
PsychoKey.Client client = new PsychoKey.Client(cfg);
if (!client.init().ok) return;
PsychoKey.Result res = client.auth(userKey);
if (!res.ok) return;
Server-side client SDK for PHP websites, Laravel apps, and plugins (PHP 8.1+).
require_once 'psychokey.php';
$pk = new PsychoKeyClient('my-app', '64_HEX_SECRET', 'https://psycho-key.com', '1.0.0');
$res = $pk->auth($licenseKey, $tenantOrMachineId);
if (!$res['ok']) { die($res['code']); }
Supported Applications & Stacks
🖥 Windows Desktop & Loaders
C++ / ImGui / WinUI & C# WinForms / WPF with anti-debug, PK_OBF, and SMBIOS HWID.
⚡ Electron, Node & TypeScript
Run cleanly in Electron Main process, TypeScript services, CLI tools, or Discord bots.
🐍 Python Automation & GUIs
PyQt/Tkinter apps, bots, and PyInstaller builds across Windows, Linux, and macOS.
🎮 Unity & Game Tools
Native C# for Unity builds or C++ for overlays/loaders with instant kick on heartbeat.
🦀 Go & Rust Services
Fast single-binary CLIs, agents, and daemons on Linux, macOS, and Windows.
📱 Java, Android & PHP Web
Java/Android apps, PHP SaaS sites, plus any language via the AES-256-GCM spec in llms-full.txt.