.png&w=828&q=75)
A reusable framework that helps coding agents architect and build web applications with precision and speed.
Describe your idea. Clone the framework. Let your AI agent go to work.
git clone https://github.com/mosnin/LoxSammy docs/frameworkUse with your favorite coding tools
Get Started
next |
MODAF turns your AI coding agent into a senior architect. No boilerplate. No guesswork. Just structured, phased execution.
Describe your idea
Tell your AI coding agent what you want to build. MODAF's phased discovery process will ask targeted questions to understand your users, core features, and v1 scope, then generate complete project documentation automatically.
Clone the framework
Add MODAF to your project with a single command. The framework installs as structured documentation inside your repo. No runtime dependencies, no lock-in.
MODAF goes to work
Your AI agent reads the framework docs and begins building phase by phase. From database schema to auth flows, dashboard to marketing site, MODAF guides every decision with battle-tested patterns and validation gates.
How It Works
MODAF guides your AI agent through a structured, phased build process. Each phase reads only the files it needs, builds, validates, and waits for your approval before continuing.
Discovery & Planning
Interactive interview, project docs generation, architecture plan
Foundation
Next.js setup, database schema, shared utilities, validation gates
Auth & Onboarding
Login, signup, email verification, multi-step onboarding flow
App Shell & Dashboard
Responsive layout, navigation, dashboard with real metrics
Features & Settings
Core CRUD, settings, Stripe billing, admin panel
Email, Marketing & Polish
Email templates, marketing site, edge cases, QA checklist
v1.11 Features
Self-healing diagnostics, technology escape hatches, drift prevention, and a navigation layer that makes 60+ files instantly usable. MODAF doesn't just build — it recovers, adapts, and enforces quality.
Quick Start & Glossary
QUICK_START.md is a task-to-file decision tree so you never read the wrong doc. GLOSSARY.md defines every framework term. MANIFEST.md maps every file in one glance.
Doctor Mode
A structural linter that scans your generated codebase for broken references, missing files, and doc drift — then tells you exactly what to fix.
Error Recovery
Phase re-run protocol. When a build step fails, MODAF provides a structured recovery path to diagnose, fix, and re-validate without starting over.
Escape Hatches
Swap any default technology — replace Stripe with Lemon Squeezy, Auth.js with Clerk, PostgreSQL with MySQL. Documented swap guides eliminate lock-in concerns.
Pattern Snapshot
Captures your code conventions after Phase 7 and enforces them across all future phases and agent sessions — preventing style drift at scale.
Implementation Recipes
Phase 9 includes step-by-step feature build recipes so your agent follows a repeatable, validated workflow for every CRUD feature it creates.
Observability & Performance
Built-in guidance for logging, health checks, Core Web Vitals targets, and bundle budgets — production-grade standards from day one.
Accessibility
WCAG 2.1 AA compliance baked into component specs and validation gates. Keyboard navigation, screen reader support, and contrast ratios are checked, not optional.
Repository Structure
Documentation that
builds software
MODAF contains no code, only structured documentation that guides your AI agent through every decision. Four directories, each with a clear purpose.
Default tech stack
Testimonials
Builders ship faster
with MODAF
“I went from a vague idea to a fully structured codebase in a single afternoon. MODAF handled the architecture decisions I usually agonize over for weeks.”
“The phased approach is what makes this different. My agent didn't just dump code. It asked the right questions, generated docs, and built methodically.”
“46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.”
“I went from a vague idea to a fully structured codebase in a single afternoon. MODAF handled the architecture decisions I usually agonize over for weeks.”
“The phased approach is what makes this different. My agent didn't just dump code. It asked the right questions, generated docs, and built methodically.”
“46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.”
“I went from a vague idea to a fully structured codebase in a single afternoon. MODAF handled the architecture decisions I usually agonize over for weeks.”
“The phased approach is what makes this different. My agent didn't just dump code. It asked the right questions, generated docs, and built methodically.”
“46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.”
“I went from a vague idea to a fully structured codebase in a single afternoon. MODAF handled the architecture decisions I usually agonize over for weeks.”
“The phased approach is what makes this different. My agent didn't just dump code. It asked the right questions, generated docs, and built methodically.”
“46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.”
“I've tried half a dozen AI coding workflows. MODAF is the first one that produces code I'd actually ship. The framework docs are incredibly well structured.”
“The generated project docs (feature spec, user flows, edge cases) were better than what most junior PMs produce. And the agent wrote them in minutes.”
“From Prisma schema to Stripe billing to marketing site, MODAF covers the full stack. I just had to describe what I wanted and approve each phase.”
“I've tried half a dozen AI coding workflows. MODAF is the first one that produces code I'd actually ship. The framework docs are incredibly well structured.”
“The generated project docs (feature spec, user flows, edge cases) were better than what most junior PMs produce. And the agent wrote them in minutes.”
“From Prisma schema to Stripe billing to marketing site, MODAF covers the full stack. I just had to describe what I wanted and approve each phase.”
“I've tried half a dozen AI coding workflows. MODAF is the first one that produces code I'd actually ship. The framework docs are incredibly well structured.”
“The generated project docs (feature spec, user flows, edge cases) were better than what most junior PMs produce. And the agent wrote them in minutes.”
“From Prisma schema to Stripe billing to marketing site, MODAF covers the full stack. I just had to describe what I wanted and approve each phase.”
“I've tried half a dozen AI coding workflows. MODAF is the first one that produces code I'd actually ship. The framework docs are incredibly well structured.”
“The generated project docs (feature spec, user flows, edge cases) were better than what most junior PMs produce. And the agent wrote them in minutes.”
“From Prisma schema to Stripe billing to marketing site, MODAF covers the full stack. I just had to describe what I wanted and approve each phase.”
FAQ
Common questions
Ready to build?
Clone the framework, describe your idea, and let your AI agent handle the rest.
git clone https://github.com/mosnin/LoxSammy docs/frameworkFree and open source. No account required.
.png&w=640&q=75)