MODAF
MODAF
MODAF

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/framework

Use with your favorite coding tools

Cursor
Claude
Codex
Windsurf
OpenClaw
Kimi
Jules
Replit
NanoClaw
Tonkotsu
Augment
Gemini
Cline
Qwen
Cursor
Claude
Codex
Windsurf
OpenClaw
Kimi
Jules
Replit
NanoClaw
Tonkotsu
Augment
Gemini
Cline
Qwen
Cursor
Claude
Codex
Windsurf
OpenClaw
Kimi
Jules
Replit
NanoClaw
Tonkotsu
Augment
Gemini
Cline
Qwen
Cursor
Claude
Codex
Windsurf
OpenClaw
Kimi
Jules
Replit
NanoClaw
Tonkotsu
Augment
Gemini
Cline
Qwen

Get Started

Three steps to your
next |

MODAF turns your AI coding agent into a senior architect. No boilerplate. No guesswork. Just structured, phased execution.

01

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.

02

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.

03

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

14 phases from idea
to production

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.

0
Build phases
0
Validation gates
0
Project docs generated
0
Framework files
Phase 0-2

Discovery & Planning

Interactive interview, project docs generation, architecture plan

Phase 3-4

Foundation

Next.js setup, database schema, shared utilities, validation gates

Phase 5-6

Auth & Onboarding

Login, signup, email verification, multi-step onboarding flow

Phase 7-8

App Shell & Dashboard

Responsive layout, navigation, dashboard with real metrics

Phase 9-11

Features & Settings

Core CRUD, settings, Stripe billing, admin panel

Phase 12-14

Email, Marketing & Polish

Email templates, marketing site, edge cases, QA checklist

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

Next.jsTypeScriptTailwind CSSshadcn/uiPrismaPostgreSQLAuth.jsStripeResendMotionVercelVitest

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.

Alex Rivera
Alex Rivera
Solo Founder

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.

Sarah Kim
Sarah Kim
Full-Stack Developer

46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.

Marcus Chen
Marcus Chen
Tech Lead

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.

Alex Rivera
Alex Rivera
Solo Founder

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.

Sarah Kim
Sarah Kim
Full-Stack Developer

46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.

Marcus Chen
Marcus Chen
Tech Lead

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.

Alex Rivera
Alex Rivera
Solo Founder

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.

Sarah Kim
Sarah Kim
Full-Stack Developer

46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.

Marcus Chen
Marcus Chen
Tech Lead

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.

Alex Rivera
Alex Rivera
Solo Founder

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.

Sarah Kim
Sarah Kim
Full-Stack Developer

46 validation gates meant I caught structural issues before they became expensive rewrites. The pattern snapshot alone saved me from drift across sessions.

Marcus Chen
Marcus Chen
Tech Lead

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.

Priya Patel
Priya Patel
Indie Hacker

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.

Jordan Lee
Jordan Lee
Product Manager

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.

Lena Kowalski
Lena Kowalski
Startup CTO

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.

Priya Patel
Priya Patel
Indie Hacker

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.

Jordan Lee
Jordan Lee
Product Manager

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.

Lena Kowalski
Lena Kowalski
Startup CTO

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.

Priya Patel
Priya Patel
Indie Hacker

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.

Jordan Lee
Jordan Lee
Product Manager

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.

Lena Kowalski
Lena Kowalski
Startup CTO

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.

Priya Patel
Priya Patel
Indie Hacker

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.

Jordan Lee
Jordan Lee
Product Manager

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.

Lena Kowalski
Lena Kowalski
Startup CTO

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/framework

Free and open source. No account required.