AI Cookbook
14 production-ready recipes, 37 agent patterns, 10 skills, and 13 architecture patterns for building production AI systems.
Copy. Paste. Ship.
Built by 4M Labs — applied AI and systems partner for companies where software failure = business failure.
Need a recipe built for your business?
4M Labs ships production AI systems
Fixed-scope delivery. Senior engineers in Guadalajara. You own the code.
What You Get
- -15 production recipes with Python + JavaScript implementations
- -37 agent patterns and prompting techniques
- -11 reusable skills for common AI workflows
- -13 architecture guides from transformers to mixture-of-experts
4M Labs AI Cookbook
Recipes
Step-by-step instructions for building AI features, from RAG pipelines to agent workflows and prompt chains.
Browse RecipesPatterns
Reusable architectural patterns for LLM applications, including agentic loops, tool use, and multi-agent systems.
Copy PatternsArchitecture
Foundational LLM architectures from transformers and MoE to attention mechanisms and KV-cache optimization.
Browse ArchitectureAgent Skills
Pre-built agent skills and OpenCode capabilities that extend your AI systems with new behaviors.
Download SkillsBuild production AI with 4M Labs
4M Labs is an applied AI and systems partner. We design and ship production conversion systems and operational automation -- lead capture, CRM automation, and internal tools.
Work With 4M Labs