Skip to content

AZ AI DevContainer: Prebuilt AI Developer DevContainer/Codespace Environment including Python, Jupyter, Infra as Code deployment, AI Foundry, Testing, Evaluation, etc.

License

Notifications You must be signed in to change notification settings

Azure-Samples/az-ai-devcontainer

Repository files navigation

DevContainer Template for AI work

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.

DevContainer Picture

Getting Started

Open in GitHub Codespaces Open in Dev Containers

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.

Provision Azure Resources

Login with AZD:

azd auth login

To provision your Azure resources run:

azd up

If you want to deploy Azure AI Search run:

azd env set HAS_AZURE_AI_SEARCH true
azd up

Note

Azure AI Search is not provisioned by default due to the increased cost and provisioning time.

Start working

🚀 You can start working straight away by modifying notebooks/SampleNotebook.ipynb!

Pre-configured AI Models

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.

Active Deployments (30 models)

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

Commented Out (available in other regions or require registration)

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.

Contents

About

AZ AI DevContainer: Prebuilt AI Developer DevContainer/Codespace Environment including Python, Jupyter, Infra as Code deployment, AI Foundry, Testing, Evaluation, etc.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published