Skip to content

TypeScript · Capability-first · Provider-neutral

Agentorchestrationwith explicitauthority.

Intention Kernel turns model-proposed objectives into validated plans, durable capability execution, evidence-bearing facts, and grounded responses.

Node 22ESMStrict TypeScriptDurable replay
authority boundary
01 capabilities.selected
02 intention.interpreted
03 capability.completed
04 response.composed

Execution model

The model proposes.
The kernel decides what may run.

Select a stage to inspect its authority, input, and output.

Authority · Model + kernel

Select

Chooses the smallest plausible set from compact capability summaries. Schemas and guidance remain undisclosed.

Receives
ContextSnapshot + summaries
Produces
CapabilitySelection

Minimal public contract

Small surface.
Strong boundaries.

Business meaning stays in capabilities. Infrastructure stays behind injected adapters.

Understand the contracts →
agent.ts
const agent = defineAgent({
  id: agentId("support.agent"),
  version: 1,
  identity: "A concise support advisor",
  capabilities: [
    knowledgeSearch,
    requestPrepare,
    requestSubmit,
  ],
  policies: [],
  modelPolicy: {},
});

const compiled = await kernel.compile(agent);

Core vocabulary

Every concept has one responsibility.

Grounding by construction

Business claims cannot drift away from their evidence.

Capabilities return evidence. Facts retain its lineage. The response model writes ordered cited parts, and the kernel derives exact claim spans before semantic review.

Read the grounding contract →
External recordevidence-42
Confirmed factservice.candidates@1
Published claim"Incident Response Assist is USD 2400"

Executable documentation

Examples verify outcomes, not canned prose.

The demo suite calls a real structured-output model and asserts capabilities, facts, effects, interactions, grounding, replay, and causal events.

Write scenarios and iterate from evaluation reports →

Start from the contract

Define what the agent can do.
Keep the model free to understand why.