Nothing leaves your machine.
Replies shaped by a zod schema.
Token by token, stoppable at any point.
Talk to it. Point to a GGUF file on disk and prompt it. The reply streams in token by token.
import { load } from '@crtrs/llm'const ai = await load('./model.gguf', { system: 'Answer briefly.' })await ai.prompt('Hi', { onToken: (t) => process.stdout.write(t) })await ai.unload()