SDK
Find the public TypeScript entry points for building and hosting Tardigrade actors.
Install
bun add tardie
Most applications can import their actor definition, agent components, policies, and public types from tardie:
ts
import {
actor,
agentMethods,
budget,
codeMode,
compaction,
infer,
nativeOutput,
system,
tool
} from "tardie"
Core primitives
The root entry point exports the common actor and component types. Lower-level integrations can import each primitive directly:
tardie/core/eventEventtardie/core/machineMachinetardie/core/projectionProjection, materialization, and replaytardie/core/componentComponents, component output, and compositiontardie/core/viewViewAlgebratardie/core/intentIntent transitionstardie/core/effectExternal effect transitionstardie/core/transitionThe transition union and transition projectionstardie/core/actorActors, methods, contracts, and referencests
import type { Machine } from "tardie/core/machine"
import type { Projection } from "tardie/core/projection"
import type { ComponentOutput } from "tardie/core/component"