This is a template for working on Development Containers or GitHub Codespaces with Python and Jupyter Notebooks that I use when working on AI Development projects.
Feedback and bug reports are very welcome! Please open an GitHub issue if you find something that needs fixing or improvement.
Warning
Do NOT git clone the application under Windows and then open a DevContainer.
This would create issues with file end of lines. For DevContainer click on the button
above and let Visual Studio Code download the repository for you. Alternatively you
can also git clone under Windows Subsystem for Linux (WSL) and ask Visual Studio Code to
Re-Open in Container.
Login with AZD:
azd auth loginTo provision your Azure resources run:
azd upIf you want to deploy Azure AI Search run:
azd env set HAS_AZURE_AI_SEARCH true
azd upNote
Azure AI Search is not provisioned by default due to the increased cost and provisioning time.
🚀 You can start working straight away by modifying notebooks/SampleNotebook.ipynb!
This template deploys a comprehensive set of AI models from Azure AI Foundry using GlobalStandard SKU (pay-as-you-go, no running cost). All models are defined in infra/deployments.yaml.
| Provider | Models |
|---|---|
| OpenAI | GPT-4.1 (+ mini, nano), GPT-4o (+ mini), O-series (o1, o3, o3-mini, o3-pro, o4-mini, codex-mini), GPT-5 (+ mini, nano, chat, pro), GPT-5.1 (+ chat, codex, codex-mini, codex-max), GPT-5.2 (+ chat, codex), Embeddings (ada-002, 3-small, 3-large) |
| DeepSeek | DeepSeek-R1-0528, DeepSeek-V3-0324 |
| Meta | Llama-3.3-70B-Instruct |
Additional models are available but commented out in deployments.yaml. Uncomment to enable:
| Provider | Models | Notes |
|---|---|---|
| DeepSeek | DeepSeek-R1, DeepSeek-V3.1, DeepSeek-V3.2, DeepSeek-V3.2-Speciale | May require different region |
| Meta | Llama-4-Maverick, Llama-3.2 Vision, Meta-Llama-3.x series | May require different region |
| Mistral AI | Mistral-Large-2411/3, Mistral-Nemo, Ministral-3B, Codestral-2501 | May require different region |
| Cohere | Cohere-command-a/r, embed-v-4-0 | May require different region |
| xAI | grok-3, grok-3-mini, grok-4 series | May require different region |
| Microsoft | Phi-4, Phi-3.5 series, MAI-DS-R1, model-router | May require different region |
| Moonshot AI | Kimi-K2-Thinking | May require different region |
| OpenAI (Image/Video) | gpt-image-1 series, sora, sora-2 | Require registration |
| Black Forest Labs | FLUX.2-pro, FLUX.1-Kontext-pro, FLUX-1.1-pro | Image generation |
Note
Model availability varies by Azure region. This template is tested in Sweden Central. Some models (o3-pro, codex-mini, gpt-5.2-codex) are only available in East US2 & Sweden Central.
For the latest model availability, see Azure AI Foundry Models Documentation.
notebook/SampleNotebook.ipynbcontains a sample for using Azure AI Foundry SDKpyproject.tomlto manage your Python configuration. Dependencies are automatically installed when the DevContainer is setup (see https://github.com/dbroeglin/aigbb-devcontainer/blob/main/.devcontainer/devcontainer.json#34).devcontainer/devcontainer.jsona Development Container (works also as a GitHub Codespace) configuration file that includes:- Features:
- Azure CLI:
az - Azure Developer CLI:
azd - GitHub CLI:
gh - Node JS:
nodeandnpm - Docker in Docker to run
dockercommands from the DevContainer
- Azure CLI:
- Extensions:
- GitHub Copilot
- several Visual Studio Code extensions for Azure
- a YAML extension
- Jupyter Notebooks
- UV UV is my go-to package manager for Python. Alternatively if you want to use
pipcheck out thefeature/pipbranch. - Starship to manage the terminal prompt.
- Many others
- Features:
.gitignorefor Python- Open Source MIT
LICENSE
