OptionalallowOptionaldataBase directory for Briyah data storage Defaults to './briyah-data' relative to process.cwd()
OptionalenvOverride environment variables Useful for testing or multi-instance configurations
OptionalloggingFile logging configuration. Defaults to enabled, writing to {dataPath}/logs/briyah.log
OptionalmarkupDefault markup rate multiplier applied to output costs Defaults to value in process.env.DEFAULT_MARKUP_RATE
OptionalstartingStarting balance for new users Defaults to value in process.env.STARTING_BALANCE
OptionaltoolsNative tools to register up front. Equivalent to calling Briyah.registerTool for each after construction.
OptionaluserTimeout in minutes for cached user services Defaults to 30 minutes
Allow end users to author and execute their own JS-string tools (stored in their data directory and run in-process). Native tools are unaffected. Leave off for untrusted, multi-user hosts. Default: false. Also settable via the ALLOW_USER_AUTHORED_TOOLS environment variable.