KDCube

KDCube Writing

Engineering deep dives, industry perspective, implementation notes, and practical recipes.

86 articles · latest 2026-08-18

Search covers titles, summaries, tags and full article text.

One App Can Be Preparing While the Processor Stays Ready

KDCube now prepares every app under its own supervised lifecycle. A slow checkout, hook, index, or UI build makes that app temporarily unavailable without making an otherwise healthy processor look dead.

app lifecyclereadinesshealth checkssupervised preparationservice.readiness
2026-08-18

Every search embeds its query. The repeats land on another worker.

A vector is a pure function of query, model and dimension — so every repeated search re-pays for an answer the system already has. The obvious fix is to remember it on the index object, and in a runtime where turns hop between workers it catches the one repeat that rarely happens. What the shared cache needs instead: a key that carries the model, a value ...

query embeddinghybrid searchshared cachedistributed runtimecache kind
2026-08-15

Host a Coding Agent Inside Your KDCube App

A teammate opens a browser, asks the resident agent to change a file in a git-backed store, watches the work happen as steps, reviews the diff on a desk beside the chat, and commits — under their own identity, with only the capabilities they granted.

resident coding agentclaude codegit-backed storegranted MCPcoding agent inside an app
2026-08-14

How a Service Becomes Available to an Agent

Your app publishes a service. Discovery indexes it. An agent asks for it — and gets an error about a permission nobody has heard of. Nothing is broken: three of the four decisions that make a service usable have not been taken yet, and each belongs to someone else.

named servicesconnection hubdelegated accessagent capabilitiesdelegable catalog
2026-08-14

Run Multiple Websites on One Local KDCube

Run multiple websites locally on one KDCube, route each by alias or host, and expose the same routes through ngrok.

application websiteslocal runtimesite routingapp lifecyclerun multiple websites locally
2026-08-13

Change Who Can Reach Your KDCube App Without Rebuilding

Configure API, MCP, and widget enablement, visibility, auth, and API CSRF from code defaults, descriptors, or the Apps dashboard.

app surfacesAPI policyMCP governancedeployment configurationKDCube surface governance
2026-07-31

KDCube Runtimes: A Request's Journey Across the Fences

A map of KDCube serving, Data Bus, communication, venv, provider, and isolated-execution runtimes — and the explicit contract at each crossing.

runtimesfencesagent runtime architecturedistributed servingwhat crosses runtimes
2026-07-29

An Agent Living in the Runtimes: Native and Integrated, Side by Side

A hosted agent does not carry a session, restore a conversation, keep a file, or survive a worker restart on its own. Two different memories do that for it — one the platform owns, one the agent owns — and the line between them is the whole story.

agent stateconversation timelinenative vs integrated agentworking memorysession view compaction
2026-07-29

Agentic Runtime in KDCube: What an Agent Gets

An agent loop can choose a next action. It cannot, by itself, bind a user identity, serialize concurrent messages, preserve files, restore a conversation on another worker, enforce a grant, account for a model call, or isolate generated code. KDCube supplies that operating layer around the agent — without requiring the agent's reasoning core to become a K...

agentic runtimeagent harnesshosted agentsgoverned toolsframework-neutral agent runtime
2026-07-28

Delegated MCP End to End: How an Agent Reaches a User's Account

My agents act on users' Gmail and Slack every day - external agents like Claude Code included - and none has ever held a provider token. Every access is something the user granted, granular and on demand, and it takes two acts they control: connect the account, and permit the agent. Here is the whole machine, fence by fence.

MCPConnection Hubdelegated credentialsconsentdelegated MCP
2026-07-27
← Newer1–12 of 86Older →