Full-stack recipes built upon MAX + FastAPI + React. Runs on AMD + NVIDIA.
873
The MAX Agentic Cookbook container provides a complete, ready-to-run environment that works across NVIDIA and AMD GPUs. It includes both the MAX model serving backend and a user-friendly web app full of interactive recipes.
This container is ideal for those who want to quickly deploy and explore production-ready GenAI app development patterns without complex setup. Recipes backends are built in Python with FastAPI while the frontend is a simple React web app. Code for each recipe is viewable directly within the web app.
You can run this container on a machine with a supported NVIDIA or AMD GPU using one of the following commands:
NVIDIA GPU:
docker run --gpus all \
--env "MAX_MODEL=google/gemma-3-27b-it" \
--env "HF_TOKEN=<secret>" \
--env "HF_HUB_ENABLE_HF_TRANSFER=1" \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-p 8000:8000 \
-p 8010:8010 \
modular/max-cookbook:nvidia
AMD GPU:
docker run \
--group-add keep-groups \
--rm \
--env "MAX_MODEL=google/gemma-3-27b-it" \
--env "HF_TOKEN=<secret>" \
--env "HF_HUB_ENABLE_HF_TRANSFER=1" \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-p 8000:8000 \
-p 8010:8010 \
--device /dev/kfd \
--device /dev/dri \
modular/max-cookbook:amd
Once running, navigate to http://localhost:8010 to access the interactive web app.
This container works with any MAX-optimized model from Hugging Face. To see a full list of top performing models, visit MAX Builds.
For more information on the MAX Agentic Cookbook and recipe development, visit MAX Agentic Cookbook on GitHub.
docker pull modular/max-cookbook:amdLast week