Sign inSign up

dcdrai/runtime

By dcdrai

•Updated 1 day ago

DCDR Runtime: self-hosted execution gateway for intent-based AI providers

Image
Machine learning & AI
4

7.0K

dcdrai/runtime repository overview

⁠DCDR Runtime 🚀

DCDR Runtime is a lightweight Docker image that runs the DCDR execution gateway in a self-contained container.

It can operate purely from a validated registry.json (no backend UI required), while also supporting an optional connected mode where it integrates with a managed control plane for multi-tenant registry and UI workflows.

⁠Key capabilities ✨

  • HTTP API for executing registered intents against configured AI providers
  • Offline / runtime mode driven by a local registry.json (portable, reproducible deployments)
  • Optional managed/connected mode for centralized registry management (when available)
  • OpenAPI specification to simplify client/SDK generation and integrations
  • Clear validation errors and predictable runtime behavior

⁠Typical use cases 🧩

  • Self-hosted execution gateway for internal tools and automation
  • On‑prem / isolated environments that need a file-based registry
  • A runtime component that can later be connected to a managed backend without changing the deployment model

⁠Quickstart ⚡

⁠1) Launch the runtime
docker run --rm -p 8000:8000 dcdrai/runtime:latest --demo
⁠2) Make your first request
curl -sS \
  http://localhost:8000/api/execution/demo/DCDR_LOCAL_DEMO \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{
    "vars": {
      "name": "Jose"
    }
  }'
⁠3) Response JSON
{
  "status": "OK",
  "input": [],
  "output": {
    "result": "Hi Jose, thanks for using dcdr.ai!"
  },
  "report": {
    "sessionId": "DEMO",
    "appId": "DEMO",
    "gatewayRequestId": "demo-mojw1cfp",
    "intent": "DCDR_LOCAL_DEMO",
    "prompt": {
      "id": "builtin",
      "version": "1",
      "sha256": "builtin"
    },
    "finalImplementation": {
      "provider": "RULES",
      "model": "builtin-demo",
      "implementationId": "builtin-demo",
      "latencyMs": 2
    },
    "attempts": [],
    "timing": {
      "startedAt": "2026-04-29T10:04:14.005Z",
      "endedAt": "2026-04-29T10:04:14.007Z",
      "latencyMs": 2,
      "gatewayOverheadMs": 2,
      "gatewayPreProviderMs": 2,
      "providerTotalMs": 0
    },
    "cached": false
  }
}

⁠Full documentation 📚

Tag summary

Content type

Image

Digest

sha256:4489ad77d…

Size

200.6 MB

Last updated

1 day ago

docker pull dcdrai/runtime