Skip to content

Vocabulary

llm-core gives portable values and live values different names. A portable value is JSON-compatible and safe to validate, store, or send. A live value holds behavior or a handle to work executing now.

This page describes the currently shipped contracts. Not every public type belongs to ordinary application usage:

LevelWhen you need itTypical language
CommonDescribe portable intent and evidenceagent definition, tool, workflow intent, result, conversation state
ExtensionImplement a runtime, store, adapter or safety boundaryrunner, port, policy, receipt, checkpoint
InternalUnderstand core implementation mechanicsbinding provenance, registration, coordinator

Current low-level composition APIs expose some extension types directly. Their presence here does not mean every application owns their implementation. The sections below document them precisely so you can identify where application, runner, adapter and storage responsibilities differ.

Agents

TermMeaning
AgentRunLive handle exposing AgentEvent values, controls, and one terminal result.
AgentResultTerminal result: completed, failed, denied, or cancelled.
AgentEventTyped lifecycle event for one agent run. It is distinct from controlled-effect evidence.
AgentDefinitionPortable identity, instructions, requirements, metadata, and skills.
PreparedAgentDefinitionDefinition prepared and provenanced by one compatible runner.
AgentRunnerExtension port that reports a profile, prepares definitions, starts runs, and may support resume.
AgentRunnerProfileSupported runtime behavior and optional controls.
AgentStartRequestExtension request containing a prepared definition, invocation context, and portable input.

Workflows

TermMeaning
WorkflowExecutionPlanPortable declarative workflow intent projected by an explicit runtime target.
Native workflowGraph or durable workflow owned and executed by a qualified integration.

A recipe may be an application pattern or a preconfigured workflow in your own code. It is not a public llm-core type or package export.

Models and tools

TermMeaning
ModelRefLogical model selection intent, separate from provider, deployment, endpoint, and credentials.
ModelRequest / ModelResponseProvider-neutral portable model boundary.
ModelProfileInput description of one model binding and its evidence-backed capabilities.
RegisteredModelProfileValidated, cloned, immutable profile accepted by the resolver.
ToolReady common object created with defineTool.
ToolConfigCommon name, description, input contract, effect, and execute function.
ToolDefinitionExtension identity, registered schema, effects, and execution semantics.
ExecutableToolProvenanced runtime tool that validates before execution.
ToolCall / ToolExecutionResultPortable request and result at the runtime tool boundary.
BoundActionCanonical action document bound to authority, effects, and an exact digest.

Control and evidence

TermMeaning
PolicyDecisionEvidence-backed policy verdict for an exact action.
ApprovalRequest / ApprovalDecisionAuthenticated decision boundary bound to an exact action and time window.
InterventionRequestStructured request that hands control back during a run.
ToolExecutionEventRedacted projection of one controlled tool-execution transition. It is not an agent event or a trace.
EventSinkBest-effort projection port. It is not authoritative storage.
ToolExecutionReceiptDurable storage-neutral lifecycle record for one controlled effect.

State and durability

TermMeaning
LiveContinuationProcess-local handle. It is intentionally not portable.
SnapshotPortable point-in-time observation with no resume guarantee.
ResumableCheckpointPortable runtime-owned checkpoint before registration.
RegisteredResumableCheckpointValidated checkpoint accepted for compatibility checking and resume.
ProviderSessionRefOpaque continuity reference owned by a provider session.
DurableExecutionHandleReference to work whose history, timers, retries, and signals are owned by an external durable runtime.

Context, artifacts, and evaluation

TermMeaning
ContextEntryPortable context item with scope, provenance, priority, cost, and closed content.
ContextSelectionImmutable context selection with explicit budget accounting and derived identity.
ArtifactPortable output identity, integrity, content reference, and provenance.
ArtifactRefStable reference to an artifact without a physical locator.
EvaluationCaseImmutable evidence-bound subject and criteria for evaluation.
EvaluationEvaluatorDescriptorPortable evaluator identity and version.
EvaluationResultDeterministically ordered judgements stamped from the validated case and registered evaluators.

Bindings and interaction

TermMeaning
Capability bindingEvidence-backed portable descriptor paired with an exact immutable live port facade.
InvocationContextPortable identity and authority passed separately through a capability port.
ConversationEventUser-facing event projected from canonical interaction facts.
ConversationSnapshotPortable point-in-time conversation state with no runtime-resume guarantee.
ConversationMessagePortable role-and-content message stored by the memory capability.
ConversationRunRecordTerminal run history stored in a durable conversation snapshot.
InteractionEventExtension union of agent, controlled-execution, and registered content events accepted by interaction projection.
InteractionProjectionExtension state reduced deterministically from ordered interaction events.
InteractionSessionExtension service that reserves conversation revisions, starts explicit runners, persists snapshots, and exposes raw events.

Boundaries

TermMeaning
CapabilityStable contract and behavior owned by core.
Qualified adapterExplicit integration subpath that maps native values to a core contract or projects core events to a host.
ContractTyped portable shape at a process, runtime, storage, or integration boundary.

Qualify broad nouns such as Context, State, Memory, Runtime, Profile, Result, and Thread so the name identifies its exact lifetime and owner.