Anthropic, Gemini, Bedrock and Ollama
The same agent can think with Claude, with Gemini, with a model on Amazon Bedrock, or with a model running on your own laptop. Watch one question travel to each of them, and see what changes and what does not.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers/anthropic
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers/google-gemini
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers/amazon-bedrock
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/model-providers/ollama
In this module: Agents and models
- Chat clients: OpenAI, Azure OpenAI and FoundryOne Agent class with a swappable chat client behind it.Pro
- Anthropic, Gemini, Bedrock and OllamaThe same agent on other clouds or on a local model.Pro
- Agent services: Foundry, Copilot and ClaudeWrapping agents that another service already runs.Pro
- Structured outputsGetting typed data back instead of free text.Pro
- Declarative agents in YAMLDefining an agent in YAML and loading it with AgentFactory.Pro
- Custom agentsWriting your own agent class on top of BaseAgent.Pro