Environment Variables Configuration
The configuration file can be found at the following relative path in your installation directory of AIOS:
AIOS supports several API integrations that require configuration. You can use the following commands:
aios env list
: Show current environment variables, or show available API keys if no variables are setaios env set
: Show current environment variables, or show available API keys if no variables are setaios refresh
: Refresh AIOS configuration.Reloads the configuration from
aios/config/config.yaml
.Reinitializes all components without restarting the server.
The server must be running.
When no environment variables are set, the following API keys will be shown:
OPENAI_API_KEY
: OpenAI API key for accessing OpenAI servicesGEMINI_API_KEY
: Google Gemini API key for accessing Google's Gemini servicesDEEPSEEK_API_KEY
: Deepseek API key for accessing Deepseek servicesANTHROPIC_API_KEY
: Anthropic API key for accessing Anthropic Claude servicesGROQ_API_KEY
: Groq API key for accessing Groq servicesHF_AUTH_TOKEN
: HuggingFace authentication token for accessing modelsHF_HOME
: Optional path to store HuggingFace models
To obtain these API keys:
OpenAI API: Visit https://platform.openai.com/api-keys
Google Gemini API: Visit https://makersuite.google.com/app/apikey
Deepseek API: Visit https://api-docs.deepseek.com/
Anthropic Claude API: Visit https://console.anthropic.com/settings/keys
Groq API: Visit https://console.groq.com/keys
HuggingFace Token: Visit https://huggingface.co/settings/tokens
API Keys:
Model Settings:
It is required to follow the following parameters to set up different backends as below
openai
name
, backend
anthropic
name
, backend
name
, backend
ollama
name
, backend
, host_name
vLLM
name
, backend
, host_name
huggingface
name
, backend
, max_gpu_memory
, eval_device
The example of how to set up different models are as below
Memory Settings:
Storage Settings:
Scheduler Settings:
Last updated