Houdart Logo

Environment variables

This document goes over every environment variable in Agentify, and explains what it does.

environment variable nameallowed values / typedescription
APPLICATION_IDuuidThis uuid is provided to you by Agentify, it is used for licensing purposes and required for server start-up
APPLICATION_KEYstringA key used to encrypt certain fields in the database
APPLICATION_SECRETstringA secret associated with application key, for licensing purposes
DATABASE_URLstringA connection string to connect to your postgres database. Format: postgres://user:password@ip:port/database_name
LLM_API_KEYstringThe API key for your LLM
LLM_ENDPOINTstringThe URL to the LLM API
LLM_MODEL_NAMEstringThe name of the model, e.g. 'gpt-4.1'
LLM_PROVIDERazure / openaiThe type of LLM model
POSTHOG_API_KEYstringAn optional api key to send some statistics to posthog
TELEMETRY_LEVELnumberA number from 0-5 indicating how much data we can collect. 1 is the minimum required for licensing, 0 is only allowed on specific plans and agreements.

Other environment variables

There are some other environment variables you can specify which can be used to authenticate with API's. The structure is always: TOOL_TOOLNAME_API_KEY. When in doubt you can use the playground from agentify-ui, go to actions and trigger the API endpoint you want to try. It will show you which variable is missing (if any).