The six layers
| Layer | What it is | Includes |
|---|---|---|
| Shell | How humans use it | Chat, copilot, embeds, public portals |
| Agents | First-class processes | Voice, canvas, document, workflow, kanban, form, and more |
| Memory | What agents know | Knowledge graph, documents, datasources, history |
| Skills | What agents can do | Built-in tools, MCP, web search, sub-agents |
| Models | What powers their thinking | 500+ models, OpenAI-compatible, auto-failover |
| Governance | The rules everything inherits | SSO, RBAC, cascading policy, KYT, audit |
Shell
The surfaces people touch. Embed an agent anywhere, share a link, or hand off
to a chat surface.
Agents
First-class processes in a dozen shapes — voice, canvas, document, workflow,
kanban, form, and more.
Memory
The persistent layer every agent reads from: knowledge graph, documents,
connected datasources, and history.
Skills
The tools and integrations every agent can invoke — built-in tools, MCP, web
search, and sub-agents.
Models
One API across every leading model. Swap providers without rewriting code, with
automatic failover.
Governance
Identity, cascading policy, inline security, and audit — inherited by every
request, logged forever.
How a request flows
Every call — whether from an agent or a direct API request — runs the same pipeline. DeepMyst handles identity, policy, security, optimization, and metering around a pluggable gateway hop:- Auth — validate the API key
- Policy lookup — resolve the key → app → dept → org cascade
- KYT inline classification — injection, PII, toxicity, and intent in under 15ms
- Guardrail enforcement — block, flag, or redact based on policy
- Credit & rate check — enforce RPM/TPM limits and budgets
- Optimization — losslessly compress context
- Gateway — route, proxy, and return from the chosen model
- Metering — record usage and calculate cost
- Enrichment — async KYT Pass 2 and behavioral analytics
- Events — emit webhooks, write the audit log, update analytics
One API, every model
The Models layer is an OpenAI-compatible gateway. Point your base URL at DeepMyst and the same SDK works across 500+ models from every major provider. A/B test one model against another with a single config flip — your code never changes.Pluggable gateway
The Models layer is designed to run behind multiple gateway adapters through a single interface, so routing infrastructure can change without touching the layers above it. The key principle: the gateway adapter never sees user identity, classification results, or uncompressed requests — those are handled by DeepMyst core, so optimization and governance stay consistent no matter what’s underneath.Next steps
Agent Builder
Build on the Agents layer in human language
Governance
Configure the rules every layer inherits

