Environment variables
This document goes over every environment variable in Agentify, and explains what it does.
| environment variable name | allowed values / type | description |
|---|---|---|
| APPLICATION_ID | uuid | This uuid is provided to you by Agentify, it is used for licensing purposes and required for server start-up |
| APPLICATION_KEY | string | A key used to encrypt certain fields in the database |
| APPLICATION_SECRET | string | A secret associated with application key, for licensing purposes |
| DATABASE_URL | string | A connection string to connect to your postgres database. Format: postgres://user:password@ip:port/database_name |
| LLM_API_KEY | string | The API key for your LLM |
| LLM_ENDPOINT | string | The URL to the LLM API |
| LLM_MODEL_NAME | string | The name of the model, e.g. 'gpt-4.1' |
| LLM_PROVIDER | azure / openai | The type of LLM model |
| POSTHOG_API_KEY | string | An optional api key to send some statistics to posthog |
| TELEMETRY_LEVEL | number | A 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).