David and Chris compare the latest frontier models from Anthropic, OpenAI, Google, and others, chatting about what each does best and how they both split their work between all of them.
My first pass tested the Foundry endpoint with curl and a small Python script. Both models answered fine. But none of that put them in T3 Code, which is what I actually wanted. Lesson learned: say which app the models should show up in.
T3 Code doesn't hold API keys or call model APIs itself. It drives coding agents installed on your machine, like Claude Code, OpenCode, Copilot or Kiro. So the question became which of those agents can talk to Foundry.
I searched the T3 app bundle for "foundry". Every hit belonged to the Claude SDK that ships inside it, and that's only for Claude models on Foundry. There was nothing for GPT models.
OpenCode can talk to Foundry, and T3 has an OpenCode provider. That was the way in.
My Mac had OpenCode 1.1.23. T3 wants 2.0.18 or newer, and version 2 lives in a separate npm package. OpenCode 2 also converts its database on first run, so I backed up the database, the auth file, both config files and T3's settings before touching anything.
npm install -g --allow-scripts=@opencode/cli @opencode/cli
npm skipped the postinstall script on my first try. That script picks the native binary for your machine, so I ran the install again with --allow-scripts.
My OpenCode config already had a foundry provider pointing at my Foundry resource, with the models named "GPT-6.1 Sol (Foundry)" and "GPT-6 Astra (Foundry)". I'd set it up a while back and forgotten. Its key matched the one I was using, and OpenCode 2 reads the old format without complaint.
A quick run through each one:
OpenCode was turned off in T3's provider settings. I flipped it on, and T3 found OpenCode 2.3.2 straight away.
The Foundry models showed up in the OpenCode model list:
And here's the part I wanted. Open a new thread, click the model button, type "Foundry":
I started a small test thread with each model inside T3. GPT-6.1 Sol replied "hello from GPT-6.1 Sol (Foundry), running inside T3 Code", and Astra said the same with its own name.
Never paste your Foundry API key into chats, documents or screenshots. If it ever ends up somewhere it shouldn't, regenerate it in the Azure portal under Keys and Endpoint, then update your OpenCode config.
Step by step notes for getting Microsoft Foundry deployments into T3 Code's model picker on a Mac.
| Thing | Value |
|---|---|
| Foundry resource | <your-resource> |
| Endpoint | https://<your-resource>.services.ai.azure.com/openai/v1 |
| Deployments | gpt-6.1-sol and gpt-6-astra (default names, same as the model) |
| T3 Code version | 0.1.11 |
| T3 provider used | OpenCode, running OpenCode 2.3.2 |
| Names in the picker | GPT-6.1 Sol (Foundry), GPT-6 Astra (Foundry) |
T3 Code doesn't call model APIs itself. It drives coding agents (Claude, OpenCode, Copilot, Kiro and so on) that are installed on the machine. T3 0.1.11 has no built-in Microsoft Foundry provider for GPT models. The only Foundry support inside the app is for Claude models.
OpenCode can talk to Foundry directly, and T3 already has an OpenCode provider. So the path is Foundry, then OpenCode, then T3 Code.
set -a; source .env; set +a
curl -H "api-key: $AZURE_FOUNDRY_API_KEY" "$AZURE_FOUNDRY_ENDPOINT/models"
The resource lists 513 models, and both gpt-6.1-sol and gpt-6-astra are generally available. A test call to /responses with each name came back with HTTP 200, so both deployments were already live.
OpenCode 2 converts its database the first time it runs, so I copied everything first:
B=~/opencode-backup-$(date +%Y%m%d-%H%M%S); mkdir -p "$B"
cp -p ~/.local/share/opencode/opencode.db* ~/.local/share/opencode/auth.json "$B"/
cp -p ~/.config/opencode/opencode.json ~/.config/opencode/opencode.jsonc "$B"/
cp -p ~/.t3/userdata/settings.json "$B"/t3-settings.json
This Mac had OpenCode 1.1.23. T3 Code needs 2.0.18 or newer, and version 2 ships as a separate npm package.
npm install -g --allow-scripts=@opencode/cli @opencode/cli
opencode --version # opencode v2.3.2
~/.config/opencode/opencode.jsonc already had a foundry provider pointing at my Foundry resource, so I didn't need to add one. Its key matched the new key exactly. OpenCode 2 still reads that older config format. The relevant part, with the key left out:
"provider": {
"foundry": {
"npm": "@ai-sdk/openai",
"name": "Azure AI Foundry",
"options": {
"baseURL": "https://<your-resource>.services.ai.azure.com/openai/v1",
"apiKey": "<key>",
"headers": { "api-key": "<key>" }
},
"models": {
"gpt-6-astra": { "id": "gpt-6-astra", "name": "GPT-6 Astra (Foundry)" },
"gpt-6-sol": { "id": "gpt-6-sol", "name": "GPT-6 Sol (Foundry)" },
"gpt-6.1-sol": { "id": "gpt-6.1-sol", "name": "GPT-6.1 Sol (Foundry)" }
}
}
}
opencode models | grep -E "^foundry/"
opencode run --standalone --model foundry/gpt-6.1-sol "Reply with exactly: hello from <your model name>"
opencode run --standalone --model foundry/gpt-6-astra "Reply with exactly: hello from <your model name>"
The OpenCode provider was switched off in T3. In ~/.t3/userdata/settings.json I changed providerInstances.opencode.enabled from false to true. You can also do this in Settings > Providers > OpenCode with the toggle. T3 picked it up right away and shows OpenCode v2.3.2 as Authenticated.
The OpenCode model list in T3 now includes the Foundry deployments, and they're switched on:
Open a new thread, click the model button next to the send button, and type Foundry in the search box.
I started a short test thread in T3 with each model. Both replied:
No native Foundry provider in T3. I searched the T3 app bundle for "foundry". Every hit belonged to the Claude Code SDK bundled inside it, which only uses Foundry for Claude models. OpenCode filled the gap.
OpenCode was too old. Version 1.1.23 shows as limited or broken in T3. The fix was the separate @opencode/cli package, which brought it to 2.3.2.
npm skipped the postinstall script. The first install printed a warning that postinstall.mjs didn't run. That script picks the native binary for your platform, so I reinstalled with --allow-scripts=@opencode/cli.
Two different Azure keys. OpenCode already had an azure login with a different key, probably for another resource. I left it alone and used the existing foundry provider, whose key matched.
Python TLS error during the first API test. The python.org Python build doesn't come with CA certificates on macOS. The test script now loads /etc/ssl/cert.pem. Verification stays on.
Screenshots. macOS blocked a normal screen capture (could not create image from display). I took the T3 screenshots in T3's own browser preview instead. That needed a pairing token, so I issued a read-only one that expired in 5 minutes and revoked the session afterward. That's also why the settings page shows a "Limited permissions" banner.
npm uninstall -g @opencode/cli, then restore the files from ~/opencode-backup-*.Treat your Foundry API key like a password. If it is ever exposed, regenerate it in the Azure portal under Keys and Endpoint, then update it in ~/.config/opencode/opencode.jsonc (both apiKey and the api-key header) and in your project's .env.
Getting GPT 6.1 Sol and GPT 6 Astra into T3 Code didn't need a new provider, just the right path. T3 Code drives coding agents instead of calling models itself, so the trick was to let OpenCode talk to Microsoft Foundry and let T3 Code talk to OpenCode. Once OpenCode was on version 2 and switched on in T3, the Foundry models showed up in the picker like any other model.
A few takeaways if you try this yourself:
The same approach should work for any Foundry deployment OpenCode can reach. Give it a go, and let me know in the comments how it went for you.
Today we're announcing the preview of Microsoft Visio Desktop MCP. It lets compatible AI clients, such as GitHub Copilot in Visual Studio Code, help create, read, and update diagrams directly in the Visio desktop app on your Windows PC.
Visio Desktop MCP is a local Model Context Protocol (MCP) server that runs on your Windows PC and interacts directly with the Visio desktop app. MCP is an open standard that allows AI agents to use tools. When you add Visio Desktop MCP to your AI client, the agent gets a set of Visio tools. It can help read existing Visio files, find suitable shapes, add shapes, connectors, containers, and swimlanes, check the layout, and save the file. You describe what you need in plain language, and the agent helps build the diagram in Visio while you watch and review.
This preview is designed for local use and evaluation. The experience is still evolving, and capabilities may change as development continues.
The result is an editable Visio diagram, not a picture of one. You can turn a written procedure, inventory, or rough idea into a first draft then review and refine it in Visio. This work is generated by AI. Check all contents for accuracy before relying on the information presented.
Contoso's Finance Operations team keeps its purchasing procedure in a Word document. It covers five roles and 11 steps, including approvals, a budget check, supplier quotes, and a three-way invoice match. The team needs a process diagram to help document the procedure.
A finance analyst with Visio Desktop MCP added to GitHub Copilot in VS Code opens the folder containing the document and enters this prompt in Chat, in Agent mode:
Create a cross-functional flowchart in Visio from purchase-request-procedure.docx. Use horizontal swimlanes, one for each role, so the process reads left to right. Show every step and decision, label the decision branches, and include the rework and rejection paths. Title it "Purchase request to payment".
GitHub Copilot reads the procedure and uses Visio Desktop MCP to help create the diagram in Visio, including selecting shapes and organizing the process into swimlanes. The agent can also use available tools to check the layout, make adjustments, and save the file. Results can vary, so the analyst reviews the diagram for accuracy and completeness before sharing it. This work is generated by AI. Check all contents for accuracy before relying on the information presented.
Note: GitHub Copilot requires a separate subscription. Neither your Visio license nor Visio Desktop MCP includes GitHub Copilot or an AI model. Access to supported AI models and usage allowances depends on your GitHub Copilot plan and applicable terms. Additional usage requirements or charges may apply depending on your plan and usage. See GitHub Copilot plans and pricing. Other AI clients have their own requirements.
One way to start is with Visual Studio Code and GitHub Copilot. To use another AI client, see manual configuration.
Tip: Let your agent to help with setup. In Agent mode, share the link to Set up Visio Desktop MCP, and ask the agent to follow the steps. Review each change before you approve it.
For the full list, see Preview limitations.
We can't wait to see what you build. Tell us which scenarios you've unlocked, what worked well, and where it fell short. Your stories help shape what we build next. This work is generated by AI. Check all contents for accuracy before relying on the information presented.