NeoArchitect is a full-stack AI-assisted architecture design platform. It combines a Python FastAPI backend for building synthesis, structural estimates, and CGI rendering with a modern Next.js frontend for interactive visualization and user experience.
- Python 3.10+ and FastAPI
- Next.js 16 with TypeScript and React
- Three.js for 3D visualization
- OpenAI / NVIDIA NIM integration for AI chat and generation
- Tailwind CSS and ESLint in the frontend
-
backend/requirements.txt— Python dependencies for the API server.app/main.py— FastAPI application and endpoints.analyzer.py— requirement parsing and prompt analysis.generator.py— layout and floor plan generation.structure.py— cost estimation and safety calculation.renderer.py— CGI render generation.
-
frontend/package.json— Next.js frontend package metadata and scripts.src/app/— Next.js App Router pages and components.public/— static assets.
- AI-driven architectural design pipeline
- Requirements parsing with prompt overrides
- Floor plan and layout generation
- Cost and safety estimation
- High-fidelity CGI render output
- AI-powered conversational architect chat with fallback logic
- Frontend 3D hero visualization using Three.js
- Create and activate a Python virtual environment:
cd backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1- Install dependencies:
pip install -r requirements.txt- Set required environment variables in
.envor your shell:
NVIDIA_API_KEY=your_nvidia_api_key_here
NIM_MODEL=meta/llama-3.1-70b-instruct- Run the backend server:
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000- Key endpoints:
GET /— health check and service metadataPOST /api/generate— generate architectural package from prompt and overridesPOST /api/chat— conversational architect responses and suggested parameter updates
- Install dependencies:
cd frontend
npm install- Start the development site:
npm run dev- Open the app in your browser:
http://localhost:3000
- The frontend already includes a generated
frontend/README.mdfor Next.js setup and deployment guidance. - The backend relies on
fastapi,uvicorn,pydantic,openai, andpython-dotenv. NVIDIA_API_KEYis required for the chat architect LLM integration. If not set, chat requests will fail.
- Fork the repository.
- Create a feature branch.
- Submit a pull request with a description of changes.
For frontend-specific details, see frontend/README.md.