KDCube

KDCube Writing

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

89 articles · latest 2026-07-28

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

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

Resolve a Connected Credential: Your Tools, the User's Token, No Token in Your Code

The builder-facing half of authenticated MCP. A service that re-exposes a third-party API resolves the approving user's credential through the Connection Hub broker - per call, at the trusted boundary. Every argument traces to a config key; the connector app is resolved, not hardcoded.

Connection Hubdelegated credentialsconnected accountscredential resolutionconnector app
2026-07-27

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

Authenticated MCP in KDCube: The Full Chain, Three Ways In

One chain of configuration, written once. An app declares a protected MCP door; Connection Hub declares what may be delegated there and to whom; the provider behind the door declares which user accounts back its work; and every call crosses two gates before a real credential resolves at the trusted boundary.

MCPConnection Hubdelegated credentialsconnected accountsauthenticated MCP
2026-07-26

The instruction your agent gets is computed from what it has

Switch a tool off and every trace of it leaves the agent's instruction — teaching blocks, protocol channels, catalog sections. One authority decides: the effective tool roster.

roster conditioningtool cataloginstruction compositioncapability teachingeffective roster
2026-07-26

Governed Connections: Agents and Automations That Act as You

Route every caller — a resident agent, an external app, an unattended automation — through one registry, each a small revocable grant bound to specific accounts and permissions.

Connection Hubdelegated accessper-account claimsrevocationaccount_scope
2026-07-19

One Agent, Three Instruction Sizes — Same Signals

The KDCube ReAct agent's full instruction body is ~24,800 tokens of battle-proven prose. It now has two distilled siblings — a moderate set at 40% and an extra-lite set at 30% — built by one discipline: enumerate every hard signal, then cut only the prose around it. The signal table is executable: it lives in tests that fail if a distillation loses a sing...

instruction laddersignal paritydistillationfull / lite / extra-litehard signal
2026-07-19

KDCube Architecture: Trust, Isolation, and Data Boundaries

KDCube is a self-hosted application runtime built from explicit boundaries: trusted apps, scoped data, guarded authority, and split execution for untrusted generated code.

KDCube architecturetrust modelmulti-user runtimestorage isolationtenant/project boundaries
2026-07-18
← Newer13–24 of 89Older →