Skip to Content
LLM Layer Engine

LLM Layer Engine Docs

A modular, type-safe agent engine for building LLM-powered applications — built exclusively for LangChain + TypeScript + Node.js.


What You Get

ModuleWhat It Does
createAgentRun a single LLM call with stats
reActLoopRun a multi-step ReAct agent loop
registerTool / executeToolsPlug in custom tools the agent can call
createShortTermMemoryIn-memory message store per session
createLongTermMemoryPersistent memory via your own adapter
checkPermissionGate tool calls by user role
requestApprovalAdd a human-in-the-loop approval step
createLoggerStructured debug logging
retryHandlerAuto-retry any async function

Quick Navigation

Last updated on