Complete reference for all Lucidic TypeScript SDK functions
init()
to initialize SDK and optionally start a sessioninitSession()
for explicit session creationcontinueSession()
to resume existing sessionsupdateSession()
endSession()
including success statuscreateStep()
to begin tracking a unit of workupdateStep()
endStep()
including evaluationcreateEvent()
for custom eventsupdateEvent()
getPrompt()
uploadImage()
runMassSimulation()
withStorageContext()
for multimodal captureinit()
:
providers: ["openai"]
providers: ["anthropic"]
init()
for instrumentationawait lai.init()
before any other operationsLUCIDIC_API_KEY
- Your API key for authenticationLUCIDIC_AGENT_ID
- Your agent identifier