modular / max-recipes

MAX Recipes

Home Page:https://builds.modular.com/?category=recipes

Repository from Github https://github.commodular/max-recipesRepository from Github https://github.commodular/max-recipes

πŸš€ MAX Recipes

CI

This repository contains the accompanying code for MAX Recipes featured on MAX Builds.

Each recipe is self-contained and demonstrates how to build and deploy AI applications using MAX. The recipes are designed to be practical, reusable examples that you can copy, customize, and deploy.

🎯 Featured Recipes

Recipe Description
πŸ“š Auto Documentation Agent πŸ€– AI-powered documentation generator with repository understanding agent
πŸ›‘οΈ Safe Code Executor Agent πŸ”’ Secure code execution agent with sandboxed environment and safety checks
🌀️ AI Weather Assistant 🎯 Intelligent weather agent with multi-stage LLM pipeline, semantic caching, and real-time updates
πŸ‘οΈ Multimodal RAG πŸ” Multimodal RAG with Colpali embedding, Llama3.2-Vision, Qdrant, Reranker and MAX Serve
⚑ Custom ops AI Applications πŸš€ Top-K token sampler and Flash Attention as fused custom op on GPU (Mojo πŸ”₯ + Python 🐍)
πŸ’» GPU Functions πŸ”₯ Writing thread-parallel GPU functions and dispatch using MAX Driver API. C -> Mojo patterns
🌐 Open WebUI and MAX Serve πŸ–₯️ Seamlessly integrate Open WebUI with MAX Serve

Getting started

  1. Install MAX following the getting started
  2. Browse the recipes in this repository
  3. Each recipe is self-sufficient - simply follow the README.md in its directory for specific setup and usage instructions

🀝 Contributing

We welcome contributions!

πŸ“š Resources

License

See the LICENSE file for details.


Made with ❀️ by the Modular team

About

MAX Recipes

https://builds.modular.com/?category=recipes

License:Other


Languages

Language:Python 61.0%Language:Mojo 31.8%Language:TypeScript 5.5%Language:Shell 0.8%Language:Procfile 0.4%Language:JavaScript 0.3%Language:Dockerfile 0.2%Language:HCL 0.1%Language:CSS 0.0%