0.3.5 • Published 2d ago
@neutrome/lilsdk
Licence
—
Version
0.3.5
Deps
1
Size
76 kB
Vulns
0
Weekly
0
@neutrome/lilsdk
High-level TypeScript SDK for transport-neutral model authoring on top of @neutrome/lil-engine.
import { createTwoPassExecutor, type Executor } from "@neutrome/lilsdk";
import { retry } from "@neutrome/lilsdk/loops";
import {
observeExecutionStream,
writeReasoning,
} from "@neutrome/lilsdk/stream";
import { connectTools } from "@neutrome/lilsdk/tools";
This package owns:
- executor and tool contracts
@neutrome/lilsdk/primitives: structural program helpers such aswalk,map,reduce,has,find,indexOf,all, andany@neutrome/lilsdk/synthetic: request/message synthesis helpers such ascreateModelProgram,makeMessage,makeToolCall,makeToolResponse, andappendToolInteraction@neutrome/lilsdk/tools:connectToolstool-call loop@neutrome/lilsdk/stream: stream observation and output helpers@neutrome/lilsdk/loops:retry,fallback, andcreateGoalExecutorcontrol-flow helpers@neutrome/lilsdk/managed/twoPassExecutor:createTwoPassExecutorand model invocation helpers- multi-pass authoring primitives used by virtual models
The root export is intentionally small: SDK contracts plus the most common high-level two-pass executor helper.
It intentionally does not own HTTP routing, provider credentials, target
resolution, or provider JSON conversion. Those live in @neutrome/open-ai-router
and @neutrome/lil-engine.