DreamerOS
Developer Portal

Your AI has no governance layer.
Fix that in one API call.

DreamerOS is not another AI wrapper. It is a governed execution pipeline. Every response passes through intent expansion, integrity checking, drift detection, and follow-up forecasting before it reaches your application. Ship AI features that are structured, verified, and auditable from day one.

quickstart.py
from dreameros import DreamerOS client = DreamerOS(api_key="dos_...") # One call. Governed output. response = client.prompt( input="Summarize the key risks in this contract", mode="structured", governance=True ) # Every response includes: # - Governed output (EDE structured) # - DAIM integrity score # - Digital Buoyancy breakdown # - Session ID for memory # - Routing metadata print(response.output) print(response.integrity_score) # 0.97 print(response.governance.drift) # None

What happens inside every API call

Six stages. All invisible to the end user. All auditable by your team.

Input
Your prompt
Layer 1
EDE Expansion
Layer 2
Smart Routing
Layer 3
DAIM Check
Layer 4
Forecaster
Output
Governed response

Every stage is logged. Every stage is queryable. Your compliance team will love you.

Six endpoints. Every response governed.

REST API. JSON in, JSON out. Bearer auth. Rate limits scale with your tier.

POST /v1/prompt

The core endpoint. Send natural language, get structured governed output. Every response passes through the full EDE + DAIM + Routing pipeline.

EDE structured DAIM verified Auto-routed
{ "output": { "quick": "...", "deep": "...", "forecast": "..." }, "integrity": { "score": 0.97, "flags": [], "drift": null }, "governance": { "auth": 100, "authz": 98, "acct": 100 }, "routing": { "engine": "execution", "mode": "strategic" }, "session_id": "ses_a1b2c3..." }
POST /v1/integrity/check

Submit any AI output for integrity verification. Returns hallucination flags, assumption detection, unsupported claims, and a confidence score. Works on output from any model, not just DreamerOS.

Hallucination scan Assumption flags
{ "score": 0.94, "flags": [{ "type": "assumption", "text": "Assumes US jurisdiction" }], "silent_drops": [], "drift_detected": false }
POST /v1/route

Let DreamerOS pick the optimal engine and thinking mode for a task. Returns routing metadata without executing the prompt. Useful for pre-flight checks and custom pipelines.

6 thinking modes 6 core domains
GET /v1/session/{id}

Retrieve session state, conversation history, and accumulated context. Sessions persist across API calls so every subsequent request builds on prior interactions.

Persistent memory Cross-call context
POST /v1/webhooks

Register webhook URLs for real-time event callbacks. Get notified when tasks hit governance checkpoints, chains complete, integrity scores drop below threshold, or human approval is needed.

Review gates Automation triggers
GET /v1/governance/score

Digital Buoyancy compliance score for your account. Authentication, authorization, and accounting metrics aggregated across all API calls. Exportable for compliance reporting.

Compliance ready Audit trail

Governed output inside any AI tool

DreamerOS is available as an MCP (Model Context Protocol) connector for any compatible AI client. Plug DreamerOS governance directly into Claude, ChatGPT, Gemini, Grok, Perplexity, or any MCP-compatible tool.

Light connector (free)

Behavioral governance. The 22-principle contract shapes output quality without computational transformation. Available for all supported engines.

Pro connector ($29.99/month)

Full Trinity pipeline. EDE restructuring, DAIM validation, smart routing, token efficiency tracking, and connected memory. The complete governance layer running inside your preferred AI tool.

Integration

The connector endpoint is live at the DreamerOS gateway. Authentication is via API key. Tier-based routing is handled server-side - the connector surface is identical for Light and Pro, the pipeline depth changes based on your subscription.

Three lines to governed AI

Python SDK, Node SDK, or raw cURL. Pick your weapon.

Python

Async-ready. Type-hinted. Works with FastAPI, Django, Flask.

pip install dreameros

Node.js

ESM and CommonJS. Works with Next.js, Express, serverless.

npm install @dreameros/sdk

cURL / REST

Standard REST. JSON in, JSON out. Bearer auth. Works with anything.

Authorization: Bearer dos_...
terminal
from dreameros import DreamerOS client = DreamerOS(api_key="dos_your_key") response = client.prompt( input="Should I open a second location?", governance=True ) print(response.output.quick) # "Before expanding, audit unit economics on location one. # Most second-location failures are location-one problems # that got exported." print(response.integrity_score) # 0.96 - no hallucinations, no assumptions flagged

Governance that ships with your code

Drift detection in your pipeline. Canon verification on every deploy. Integrity scoring in your tests.

Drift Sentinel

Automated behavioral tests that run on every deploy. Define expected behaviors in YAML. DreamerOS runs test prompts against the live system and verifies outputs match your baselines. Drop below 90% pass rate and the pipeline halts.

# .github/workflows/drift.yml - name: Run Drift Sentinel run: dreameros drift-test --baseline v5.yaml

Canon Verification

Every governance file is SHA-256 hashed in a registry. The gateway verifies hashes on startup. If any file has been tampered with, the system refuses to start. Add verify_canon.py to your CI to catch drift before it ships.

# Block deploys on canon mismatch - name: Verify Canon Integrity run: python verify_canon.py

Fail-Closed Gateway

If DAIM is unreachable, the API returns 503, not a degraded response. If canon verification fails, the gateway refuses to start. If direction sets fail to load, no requests are served. Governance is never optional.

# No silent degradation. Ever. "error": "governance_unavailable" "status": 503

Every request authenticated, authorized, accounted for

API keys are scoped to your organization and tied to tier permissions. Rate limits scale with your plan. Every request is logged under the Digital Buoyancy accounting layer.

Keys are generated from your DreamerOS dashboard. Each key is bound to a single organization with configurable permission scopes. Keys can be rotated, revoked, or scoped to specific endpoints at any time.

Rate limits are applied per key and vary by tier - from development sandbox to production throughput. All requests are logged for full auditability.

auth.sh
# Bearer token authentication curl -X POST https://api.dreameros.app/v1/prompt \ -H "Authorization: Bearer dos_your_key" \ -H "Content-Type: application/json" \ -d '{ "input": "Analyze this quarterly report", "governance": true }' # Response headers include: # X-RateLimit-Remaining: 94 # X-Governance-Score: 98 # X-DAIM-Status: passed # X-Session-ID: ses_a1b2c3

Builders who take AI seriously

Whether you are shipping your first AI feature or governing AI at organizational scale.

Solo devs and indie hackers

"I need AI features but I don't have a team to build safety infrastructure."

Ship AI features with built-in governance from day one. Hallucination detection, integrity checking, and audit trails come free with every API call. Focus on your product, not AI reliability engineering.

Product teams and SaaS platforms

"Our AI features are inconsistent. Users don't trust the output."

Embed DreamerOS into your existing product. Give your users AI-powered features that are reliable and accountable. Every response includes governance metadata so you can build trust into your UX.

CS students and AI researchers

"I want to understand governed AI architecture, not just consume APIs."

DreamerOS exposes its governance internals. Every response includes routing metadata, integrity scores, and engine selection rationale. Use it to study how governed AI systems work, build research projects around drift detection, or benchmark integrity scoring against your own models.

Enterprise and Elite teams

"We need governed AI across our entire org with role-based access and audit trails."

Multi-engine orchestration, organization-wide session memory, role-based API keys, full audit logging, custom domain modules, and webhook-driven automation. The governance infrastructure you would build yourself, already built and battle-tested.

Ready to build?

Request API access and start integrating Digital Buoyancy governance into your applications.

Or see all tiers side by side for the full feature breakdown.

DreamerOS API - governed AI for developers Request access
98