Documentation.
Everything you need to send your first request through the Intelysis engine.
Quick start
Intelysis is an OpenAI-compatible API. Point any coding agent at it and the engine optimizes context, cache, and cost in between — no workflow rewrite, no new SDK.
Create a key. Open API Keys and press Create key. Copy the secret — it's shown once.
Set your base URL. Point your client at the Intelysis endpoint:
base_url = https://app.intelisys.dev
# auth: Bearer <your Intelysis API key>Send a test request. Everything OpenAI-compatible works out of the box:
curl https://app.intelisys.dev/v1/chat/completions \ -H "Authorization: Bearer ***" \ -H "Content-Type: application/json" \ -d '{
"model": "deepseek-v4-flash",
"messages": [
{"role": "system", "content": "You are a senior TypeScript engineer."},
{"role": "user", "content": "Fix the OAuth callback bug."}
]
}'Connect an agent
Any client that speaks the OpenAI chat-completions protocol can route through Intelysis.
Chat completions
The main endpoint. The engine optimizes before the request reaches DeepSeek: it prunes context to what the task needs, reuses cached content, and validates the output.
POST https://app.intelisys.dev/v1/chat/completions
Authorization: Bearer ***
{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "…"}],
"nexus_mode": "balanced" // optional: balanced | saver | ultra (Balanced | Economy | Maximum)
}Every response body carries an x-nexus-report object with what the engine changed on that request — tokens removed, savings, per-method attribution:
{
"original_tokens": 14257,
"compiled_tokens": 10771,
"token_reduction_pct": 24.45,
"savings_pct": 34.39,
"optimizations": [
{"method": "semantic_compression", "tokensRemoved": 3533}
]
}Models
GET /v1/models returns the model the engine routes to. Use that id as the model in chat completions.
curl https://app.intelisys.dev/v1/models \ -H "Authorization: Bearer ***"Credits & billing
Intelysis is bring-your-own-key. Add your DeepSeek key in Settings; it is encrypted at rest, used only for your workspace, and never returned to the browser. DeepSeek bills you directly for the inference it runs. The plan covers the optimizer, analytics, and support.
FAQ
Do I need my own DeepSeek API key?+
Yes. Add it once in Settings; it is encrypted at rest and never returned to the browser. DeepSeek bills you directly for inference.
What happens when my plan ends?+
Requests return a 402 subscription_required response with a link to Pricing. A trial does not auto-charge because card checkout is not live yet.
Which agents are supported?+
Anything OpenAI-compatible: OpenCode, Cline, Codex, Cursor, custom scripts. Point the base URL at Intelysis and set your API key.
How are savings calculated?+
Every request records what the same call would have cost at full context vs. what the engine actually sent — the difference is your savings. You see the per-request line item in Requests.
Can I change the optimization profile?+
Yes — use the profile dropdown in the top bar, or set nexus_mode per request. Balanced is the default; Economy and Maximum trade more context for lower spend.