Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Yantrika AI

Automating Software Creation with Intelligent Machines

Next.js FastAPI CrewAI Groq License: MIT

A premium SaaS platform that simulates a full AI software development team. Enter a project idea and get auto-generated requirements, architecture, code, and test cases.

Explore The App · Report Bug · Request Feature


✨ Features

  • Multi-Agent Orchestration: Utilize CrewAI to coordinate multiple specialized AI agents.
  • End-to-End Development: From PRD (Product Requirement Document) to production-ready code.
  • Ultra-Fast Inference: Integrated with Groq API (Llama 3.3 70B) for instant LLM responses.
  • Modern UI/UX: Built with Next.js 14, TailwindCSS, and Framer Motion for a premium, glassmorphism-inspired design.
  • Secure Authentication: Robust JWT-based auth with secure password hashing.

🤖 AI Development Team

Agent Role & Responsibility
🕵️ Product Manager Converts ideas into comprehensive PRDs with user stories and requirements
🧑‍💻 System Architect Designs system architecture, database schemas, and API contracts
💻 Developer Writes clean, efficient, and production-quality code
🧪 QA Tester Generates comprehensive test suites and validation scripts

🏗️ Tech Stack

Frontend

  • Framework: Next.js 14 (App Router)
  • Styling: TailwindCSS
  • Animations: Framer Motion
  • Components: Shadcn UI & Radix UI
  • Icons: Lucide Icons

Backend

  • Framework: Python & FastAPI
  • Orchestration: CrewAI
  • LLM Provider: Groq API

📁 Project Structure

yantrika-ai/
├── backend/
│   ├── app/
│   │   ├── agents/          # CrewAI multi-agent system definitions
│   │   ├── routes/          # FastAPI endpoints (auth, projects, settings)
│   │   ├── auth_utils.py    # JWT and security utilities
│   │   ├── config.py        # Environment variables configuration
│   │   ├── main.py          # FastAPI application entry point
│   │   └── models.py        # Pydantic data models and schemas
│   ├── Dockerfile           # Backend container definition
│   └── requirements.txt     # Python dependencies
│
├── frontend/
│   ├── src/
│   │   ├── app/             # Next.js App Router pages
│   │   ├── components/      # Reusable UI components (Shadcn + Custom)
│   │   └── lib/             # API client and utility functions
│   ├── Dockerfile           # Frontend container definition
│   └── package.json         # Node.js dependencies
│
└── docker-compose.yml       # Production-ready multi-container orchestration

🚀 Getting Started

You can run the application either using Docker (Recommended) or by setting up the services locally.

Prerequisites

  • Node.js 18+
  • Python 3.10+
  • Docker & Docker Compose (optional but recommended)
  • A Groq API Key (GROQ_API_KEY)

🐳 Option 1: Using Docker (Recommended)

  1. Clone the repository

    git clone https://github.com/piyushrajyadav/Yantrika-AI.git
    cd Yantrika-AI
  2. Setup Environment Variables Create a .env file in the backend directory based on .env.example:

    cp backend/.env.example backend/.env
    # Edit backend/.env and add your GROQ_API_KEY and JWT_SECRET
  3. Spin up the containers

    docker compose up --build -d
  4. Access the application

    • Frontend: http://localhost:3000
    • Backend API: http://localhost:8000
    • Interactive API Docs: http://localhost:8000/docs

💻 Option 2: Local Development

Backend Setup

  1. Navigate to backend and create a virtual environment

    cd backend
    python -m venv venv
  2. Activate the virtual environment

    • Windows: venv\Scripts\activate
    • Mac/Linux: source venv/bin/activate
  3. Install dependencies and setup env

    pip install -r requirements.txt
    cp .env.example .env # Add your keys
  4. Run the server

    uvicorn app.main:app --reload --port 8000

Frontend Setup

  1. Navigate to frontend

    cd frontend
    npm install
  2. Run the development server

    npm run dev

🔐 Environment Variables

The backend requires the following environment variables to be set in backend/.env:

Variable Description Required
GROQ_API_KEY Your Groq API key for ultra-fast LLM inference Yes
JWT_SECRET Secret key for JWT token signing Yes

🎨 Design System

  • Theme: Dark mode default for a premium developer-focused experience.
  • Aesthetics: Glassmorphism cards with backdrop blur & smooth gradients.
  • Experience: Micro-interactions, floating cards, and soft shadows powered by Framer Motion.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by the Yantrika AI Team

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages