BuildEasy
DocsConceptsArchitecture Overview

Architecture Overview

Understand how BuildEasy generates and structures your applications.

Multi-Agent AI System

BuildEasy uses a sophisticated multi-agent system where specialized AI agents collaborate to build your application:

**Analyst Agent** - Parses natural language requirements - Identifies features and user stories - Creates detailed specifications - Asks clarifying questions when needed

**Architect Agent** - Designs system architecture - Selects appropriate technologies - Plans database schema - Defines API contracts

**Coder Agent** - Generates production-ready code - Follows best practices and patterns - Implements features incrementally - Handles error cases

**Tester Agent** - Creates unit tests - Writes integration tests - Generates test data - Validates functionality

Generated Project Structure

BuildEasy generates well-organized project structures following industry conventions:

my-app/
├── src/
│   ├── app/           # Next.js app router
│   ├── components/    # React components
│   ├── lib/           # Utility functions
│   ├── hooks/         # Custom React hooks
│   └── styles/        # CSS/Tailwind styles
├── prisma/
│   └── schema.prisma  # Database schema
├── tests/
│   ├── unit/          # Unit tests
│   └── e2e/           # End-to-end tests
├── public/            # Static assets
├── package.json       # Dependencies
└── README.md          # Documentation

Technology Selection

BuildEasy automatically selects the best technologies for your use case:

**For Web Applications** - Next.js for the framework - Tailwind CSS for styling - Prisma for database access - NextAuth for authentication

**For APIs** - Express.js or Fastify - OpenAPI/Swagger documentation - JWT authentication - Rate limiting and validation

**For Mobile Apps** - React Native - Expo for development - Native navigation - Secure storage