Agent / foldkit-agent/metakit

MachineTools

type · packages/agent/src/metakit.ts:72

type MachineTools<Transitions, Model, Principal> = {
  readonly [Key in keyof Transitions & string]: Tool<
    Key,
    InputOf<Transitions[Key]>,
    Model,
    Principal
  >
}

A tool for every transition of the machine, keyed as the machine keys them.