Use the runtime
Authenticated API calls go to glm.thynaptic.com/v1. The docs and agent manifest hosts are not runtime origins.
ORI is the shared intelligence runtime behind Thynaptic product surfaces. These docs cover the practical API path: auth, chat, surfaces, streaming, first-party registration, and app-neutral cognition endpoints.
https://glm.thynaptic.com/v1
oricli-oracle
dev.thynaptic.com
ORI is not just a model endpoint. It is the layer that keeps identity, routing, memory, permissions, product boundaries, and final response behavior coherent while using strong reasoning backends underneath.
Authenticated API calls go to glm.thynaptic.com/v1. The docs and agent manifest hosts are not runtime origins.
Send X-Ori-Context to shape vocabulary and behavior for Studio, Home, Dev, Red, or Learn.
ORI returns structured intelligence. Product clients own persistence, writes, calendars, notifications, credentials, and approval UX.
Start with a normal OpenAI-style chat completion. Add the ORI surface header when you know the product context.
curl -s https://glm.thynaptic.com/v1/chat/completions \
-H "Authorization: Bearer ori.<prefix>.<secret>" \
-H "Content-Type: application/json" \
-H "X-Ori-Context: studio" \
-d '{
"model": "oricli-oracle",
"messages": [
{ "role": "user", "content": "Summarize what needs my attention this week." }
]
}'
https://glm.thynaptic.com/v1
model: "oricli-oracle"
Use X-Session-ID. Missing session ID means stateless behavior.
Use one scoped runtime key across web, desktop, mobile, MCP, scripts, and first-party clients. Behavior is selected with headers and profiles, not separate keys per surface.
| Credential | Use | Notes |
|---|---|---|
ori.* | Runtime API | Preferred current key format. |
glm.* | Runtime API | Legacy keys still work until rotation. |
agb.* | Agent bootstrap | Only for constrained first-party key minting. |
401 means missing or invalid key. 403 means the key is valid but lacks the required scope.
X-Ori-Context for product behaviorA surface changes vocabulary, allowed behavior, and product expectations. It does not create a new ORI identity.
Business operator work: jobs, approvals, notes, customer communication, follow-through.
Personal and household work: planning, notes, reminders, everyday decisions, low-load help.
Technical builder work: implementation, architecture, debugging, systems thinking.
Security and assurance work: findings, validation, remediation, evidence-first review.
Material-to-mastery flows: concept graphs, practice, quizzes, guided completion, study cadence.
Most clients only need to change the base URL and key. ORI-specific fields
such as profile and ori_skills are optional.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://glm.thynaptic.com/v1",
apiKey: process.env.ORI_API_KEY
});
const res = await client.chat.completions.create({
model: "oricli-oracle",
messages: [{ role: "user", content: "Review this plan." }]
});
from openai import OpenAI
client = OpenAI(
base_url="https://glm.thynaptic.com/v1",
api_key=os.environ["ORI_API_KEY"],
)
res = client.chat.completions.create(
model="oricli-oracle",
messages=[{"role": "user", "content": "Review this plan."}],
)
Set stream: true. Keep the same runtime URL, auth header, and model.
curl -N https://glm.thynaptic.com/v1/chat/completions \
-H "Authorization: Bearer ori.<prefix>.<secret>" \
-H "Content-Type: application/json" \
-H "X-Ori-Context: dev" \
-d '{
"model": "oricli-oracle",
"stream": true,
"messages": [
{ "role": "user", "content": "Walk me through this deployment risk." }
]
}'
POST /app/register uses the internal registration token for trusted Thynaptic products.
Build agents should use the narrower POST /agent/register path with an agb.* bootstrap key.
POST /app/registerInternal first-party registration. Mints product-scoped runtime keys for approved apps.
POST /agent/registerAgent-safe bootstrap. Can only mint approved app keys and cannot call runtime routes directly.
These endpoints convert supplied context into structured reasoning artifacts. They do not own product storage, external writes, notifications, schedules, or execution.
POST /learning/mastery/compile
POST /quest/scaffold
POST /behavior/create
POST /context/momentum
POST /procedure/compile
POST /workflow/grammar/compile
POST /actions/plan
POST /conversation/harvest
POST /temporal/coordinate
POST /anticipation/prepare
POST /codebase/task/plan
POST /continuity/recover
POST /execution/orchestrate
POST /workgraph/compile
POST /workgraph/answer
POST /contextual-action/plan
POST /signals/opportunities
POST /intent/timeline
POST /procedural/crystallize
POST /memory/semantic/graph
POST /resources/commitment/reason
| Route or host | Purpose |
|---|---|
GET /health | Runtime readiness probe when exposed by the active gateway. |
GET /models | OpenAI-compatible model listing. |
GET /modules | Public builtin skill and module discovery. |
POST /mcp | Hosted ORI MCP JSON-RPC endpoint. |
dev.thynaptic.com/openapi.json | Machine-readable REST contract; runtime behavior wins if it lags. |
dev.thynaptic.com/llms.txt | Shortest agent-facing integration guidance. |