according to the official documentation I should be able to create a fastagent.config.yaml file with the following, and it should work
default_model: "azure.my-deployment"
azure:
api_key: "YOUR_AZURE_OPENAI_API_KEY"
base_url: "https://your-resource-name.openai.azure.com/"
azure_deployment: "my-deployment"
api_version: "2023-05-15"
this does not seem to work, (with real values), as fast-agent check does not show Azure as being configured.
$ fast-agent check
▎▶ fast-agent v0.3.8 (Linux) ─────────────────────────────────────────────────────────────────────────────────────────────────────
Python Version 3.13.7 (main, Sep 23 2025, 14:22:14) [GCC 12
Python Path /usr/local/bin/python
Secrets File Not found
Config File Found (/workspaces/automation/python/fastagent.config.yaml)
Default Model azure.gpt-4o
Keyring Backend not available
▎▶ Application Settings ──────────────────────────────────────────────────────────────────────────────────────────────────────────
Setting Value Setting Value
Log Level warning Log Type file
MCP-UI enabled Progress Display ✓
Show Chat ✓ Show Tools ✓
Truncate Tools ✓ Enable Markup ✓
▎▶ API Keys ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Provider Env Config Active Key Provider Env Config Active Key
Anthropic ✗ ✗ Not configured TensorZero ✗ ✗ Not configured
Deepseek ✗ ✗ Not configured Azure ✗ ✗ Not configured
Generic ✗ ✗ ollama (default) Aliyun ✗ ✗ Not configured
GoogleOAI ✗ ✗ Not configured HuggingFace ✗ ✗ Not configured
Google ✗ ✗ Not configured XAI ✗ ✗ Not configured
OpenAI ✗ ✗ Not configured Bedrock ✗ ✗ Not configured
OpenRouter ✗ ✗ Not configured Groq ✗ ✗ Not configured
Setup Tips:
Run fast-agent setup to create configuration files. Visit fast-agent.ai for configuration guides.
No API keys configured. Set up API keys to use LLM services:
1. Add keys to fastagent.secrets.yaml
2. Or set environment variables (ANTHROPIC_API_KEY, DEEPSEEK_API_KEY, GENERIC_API_KEY, GOOGLEOAI_API_KEY, GOOGLE_API_KEY,
OPENAI_API_KEY, OPENROUTER_API_KEY, TENSORZERO_API_KEY, AZURE_API_KEY, ALIYUN_API_KEY, HF_TOKEN, XAI_API_KEY, BEDROCK_API_KEY,
GROQ_API_KEY)
If I create a fastagent.secrets.yaml file with it, it does work.
But the fastagent.secrets.yaml does not appear to support environment variables
It would be useful if either the default fastagent.config.yaml support an azure block and allowed environment variable interpolation, or the fastagent.secrets.yaml supported environment variable interpolation.
according to the official documentation I should be able to create a fastagent.config.yaml file with the following, and it should work
this does not seem to work, (with real values), as fast-agent check does not show Azure as being configured.
If I create a fastagent.secrets.yaml file with it, it does work.
But the fastagent.secrets.yaml does not appear to support environment variables
It would be useful if either the default fastagent.config.yaml support an azure block and allowed environment variable interpolation, or the fastagent.secrets.yaml supported environment variable interpolation.