The Nomos TypeScript SDK provides a fully typed, promise-based client library for connecting to Nomos agents. It works in both Node.js and browser environments with comprehensive authentication support.
config
: Base URL string or configuration objecthealthCheck()
createSession(initiate?: boolean)
sendMessage(sessionId: string, message: string)
getSessionHistory(sessionId: string)
endSession(sessionId: string)
chat(request: ChatRequest, verbose?: boolean)
setAuth(auth: AuthConfig)
clearAuth()
generateToken(payload: Record<string, unknown>)
NomosAuthError