Powered by
4M Labs

AI Cookbook
by 4M Labs

15 production-ready recipes, 37 agent patterns, 11 skills, and 13 architecture patterns for building production AI systems.

4M Labs is an applied AI and systems partner specializing in production conversion systems and operational automation.

Copy. Paste. Ship.

What You Get

4M Labs AI Cookbook

Recipes

Step-by-step instructions for building AI features, from RAG pipelines to agent workflows and prompt chains.

Browse Recipes

Patterns

Reusable architectural patterns for LLM applications, including agentic loops, tool use, and multi-agent systems.

Copy Patterns

Architecture

Foundational LLM architectures from transformers and MoE to attention mechanisms and KV-cache optimization.

Browse Architecture

Agent Skills

Pre-built agent skills and OpenCode capabilities that extend your AI systems with new behaviors.

Download Skills