KDCube

KDCube Writing

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

88 articles · latest 2026-07-27

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

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
← Newer13–24 of 88Older →