Quickstart Guide
Hook verification checks into your agent in under 60 seconds. Choose between our zero-dependency single-file Python script, standard library cURL, or the official SDK.
Install the SDK (or Drop-in Single File)
The Ejentum SDK has zero third-party dependencies and runs entirely on the standard library:
curl -s https://ejentum.com/ejentum.py -o ejentum.py
import urllib.request, json
pip install --upgrade ejentum
Configure Your API Key
Export your key in your shell or `.env` file (or pass api_key="..." directly when initializing):
Need a test key? Generate an Instant Sandbox Key in 1 click (No email required) or view plans.
Integrate into Your Codebase
Wrap your existing client in 1 line. Every chat completion automatically fetches and injects the optimal cognitive scaffold (<2ms local engine, ~90-150ms WAN):
from openai import OpenAI from ejentum import wrap_openai # 1. Wrap your client in one line: client = wrap_openai(OpenAI()) # 2. Call chat completions normally - Ejentum intercepts and injects cognitive scaffolding: response = client.chat.completions.create( model="gpt-4o", messages=[ {"role": "user", "content": "How do we safely add a column to a 50M-row PostgreSQL table?"} ], ejentum_mode="reasoning" # Optional: 'reasoning', 'causal', 'diagnostic', 'graph' ) print(response.choices[0].message.content)
Embed Consumer Intake Chat (Ejentum Ask)
Building consumer-facing advisory agents, intake forms, or customer support triage? Use the /api/chat endpoint. It routes the inquiry, retrieves cognitive invariants in under 2ms, and synthesizes an uncompromised answer without manual prompt assembly.
curl -X POST https://api.ejentum.com/api/chat \
-H "Content-Type: application/json" \
-d '{
"query": "Draft a formal notice demanding an immediate refund for a damaged shipment.",
"model": "claude-3-7-sonnet"
}'
Want to see the reasoning difference first?
Compare baseline model output vs Ejentum RAR side-by-side in our interactive sandbox.