Skip to content

Commit c820a2a

Browse files
committed
docs: update readme about anthropic foundry
1 parent 98f098d commit c820a2a

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ GOOGLE_API_KEY=your_google_key
7272
AWS_ACCESS_KEY_ID=your_aws_key
7373
AWS_SECRET_ACCESS_KEY=your_aws_secret
7474
GROQ_API_KEY=your_groq_key
75+
# Use the following variables for Azure Foundry models
76+
# Azure Foundry - Claude models
77+
ANTHROPIC_FOUNDRY_BASE_URL='https://<your_resource>.services.ai.azure.com/anthropic'
78+
ANTHROPIC_FOUNDRY_API_KEY=your_azure_foundry_key
79+
# Azure Foundry - other models: GPT, GPT-OSS, Mistral etc.
80+
AZURE_FOUNDRY_BASE_URL='https://<your_resource>.openai.azure.com/openai/v1/'
81+
AZURE_FOUNDRY_API_KEY=your_azure_foundry_key
82+
# Certain MCPs require API keys
83+
GITHUB_TOKEN=your_personal_github_token # not ssh keys
7584
```
7685

7786
### Agent Configuration
@@ -84,7 +93,11 @@ config = default_config.copy()
8493
config["max_iterations"] = 20
8594
config["temperature"] = 0.7
8695

87-
agent = BaseAgent(llm="gpt-4", config=config)
96+
# BaseAgent will try to find the correct LLM provider source based on the model name
97+
agent = BaseAgent(llm="gpt-4", config=config) # OpenAI
98+
agent = BaseAgent(llm="claude-sonnet-4-5-20250929", config=config) # Anthropic
99+
# You can specify the LLM provider source
100+
agent = BaseAgent(llm='claude-sonnet-4-5', source='AnthropicFoundry')
88101
```
89102

90103
## Examples

0 commit comments

Comments
 (0)