Powered by
4M Labs
The AI Cookbook
by 4M Labs
15 production recipes, 17 patterns, 11 agent skills, and 8 architecture patterns for building production AI systems.
Copy. Paste. Ship.
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 Skills