KDCube Documentation

Start with what KDCube is, how environments and apps work, or jump straight to quick start if you want to run it now.

KDCube is a platform and SDK for packaging AI applications into deployable apps and running them in isolated environments. Apps can mix plain Python, ReAct, Claude Code, LangGraph, CrewAI flows, ISO runtime execution, MCP, live streaming, named-service providers, and interactive scene surfaces.

What KDCube Is

Environment model, apps, Ingress, Proc, and the system overview.

Object Ecosystem

Named services, external events, scene surfaces, canvas, context pins, event/data bus, and provider policies.

Quick Start

Install the CLI, configure your first app, and run the platform locally.

Platform Architecture

Services, modules, request lifecycle, and multi-tenant execution model.

Communication System

SSE streaming, Socket.IO, REST API, and channeled output protocol.

Client Integration

Browser transport contract, SSE events, Socket.IO, authentication, and reconnect behavior.

SDK Integrations

Reusable Email and Telegram building blocks for apps: account access, webhooks, Mini Apps, streaming, and signed downloads.

Configuration

Environment variables, app config, secrets injection, namespace policy, and runtime settings.

Deployment & Monitoring

Docker Compose, ECS Fargate, Kubernetes, and observability setup.

Platform Economics

Per-tenant cost accounting, budget caps, rate limiting, and usage tracking.

Security & Governance

Prompt injection mitigation, tool sandboxing, tenant isolation, and audit trails.

Build Apps

App SDK docs, ISO runtime, ReAct agent, MCP, streaming, configuration, storage, deployment, hot reload, and live feature gating.

ReAct V3 Agent

Timeline-native agent loop with tools, skills, compaction, pruning, memory recovery, sources pool, and ANNOUNCE.

New in stack

Claude Code Agent Support

App-native Claude Code runtime with per-turn accounting, workspace management, git-backed sessions, safety model, and integration patterns.

Glossary

Canonical definitions of KDCube platform terms: app, ReAct loop, timeline, source pool, tenant boundary, supervisor, executor, and more.