Skip to content

Repository files navigation

AgentOps

Multi-Agent Business Automation Platform

Developed by :@merakstack,@shiva-code-og,@navaneesh


Overview

AgentOps is an AI-driven automation platform that connects customers, managers, and business workflows into a seamless pipeline. Try at : https://agentops-auto.vercel.app/

🎥 Demo

AgentOps Demo

Sample Workflow:

Customer Inquiry
       │
       ▼
   Manager Approval
       │
       ▼
 Proposal Generation
       │
       ▼
   PDF Proposal
       │
       ▼
 Customer Approval
       │
       ▼
 Invoice Generation
       │
       ▼
  Invoice Delivered

Features

  • 🤖 AI-powered workflow automation
  • 📩 Automated business inquiry handling
  • 📄 Proposal & Invoice PDF generation
  • ✅ Manager and customer approval flows
  • 📧 Gmail integration
  • 🗄️ Supabase database integration
  • ⚡ n8n workflow orchestration
  • 🌐 Next.js API backend

Tech Stack

                        FRONTEND LAYER
   ┌────────────────────────────────────────────────────────┐
   │                  Next.js (App Router)                  │
   │   - TypeScript UI Components                           │
   │   - Google Auth                                        │
   └───────────────────────────┬────────────────────────────┘

                                │ (API Calls / Submissions)
                         ▲      ▼      ▲
      ┌──────────────────┼─────────────┼──────────────────┐
      │ Hosted on:       │             │                  │
      │    Vercel        │             │                  │
      └──────────────────┘             │                  │
                                       │ (Server-to-Server Protocols)
                                       ▼
                        BACKEND LAYER
   ┌────────────────────────────────────────────────────────┐
   │              TypeScript Server / Functions             │
   │   - Main Application Logic & API Routes                │
   │   - HTML2PDF                                           │
   │   - Native JavaScript Modules                          │
   └─────────────┬─────────────────────┬──────────────┬─────┘
                 │                     │              │
(PostgreSQL)     ▼        (REST)       ▼              ▼ (LLM)
┌─────────────────────┐  ┌────────────────┐  ┌────────────────┐
│      SUPABASE       │  │      n8n       │  │      GROQ      │
│ - Database Storage  │  │ Automation     │  │  Llama 3.1     │
│ - Google Auth Core  │  └───────┬────────┘  └────────────────┘
└─────────────────────┘          │
                                 │ OAuth
                                 ▼
                        ┌────────────────┐
                        │   Gmail API    │
                        │ Auto Emails    │
                        └────────────────┘

Project Images

Dashboard Workflow

Proposal Generation Invoice Generation


Installation Guide

Prerequisites

Make sure you have the following installed:

  • Node.js (v18 or later)
  • npm / yarn / pnpm
  • Git
  • Supabase Project
  • n8n Instance
  • Gmail API Credentials

1. Clone the Repository

git clone https://github.com/merajstack/AgentOps.git
cd AgentOps

2. Install Dependencies

Using npm

npm install

Or using pnpm

pnpm install

Or using yarn

yarn install

3. Configure Environment Variables

Create a .env.local file in the project root.

# Groq API Key (Main - for AgentOps assistant)
GROQ_API_KEY=your_groq_api_key

# Webhook URLs for the automation
NEXT_PUBLIC_INQUIRY_WEBHOOK_URL=your_business_inquiry_webhook_url

# Procurement Form Webhook
NEXT_PUBLIC_FORM_WEBHOOK_URL=your_procurement_form_webhook_url

# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

# Google OAuth Client ID --Authentication
NEXT_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id

Update the values according to your setup.


4. Run the Development Server

npm run dev

Open

http://localhost:3000

5. Build for Production

npm run build
npm start

📂 Project Structure

AgentOps/
│
├── app/
├── components/
├── public/
│   ├── rm1.png
│   ├── rm2.png
│   ├── rm3.png
│   └── rm4.png
├── lib/
├── styles/
├── .env.local
├── package.json
└── README.md

Workflow Setup

  1. Configure your Supabase database.
  2. Import the n8n workflow.
  3. Configure Gmail API credentials.
  4. Update environment variables.
  5. Deploy the Next.js application to Vercel (or any hosting platform).
  6. Connect the n8n webhook URL with the frontend.

🤝 Contributing

Contributions are welcome!

# Fork the repository

# Create a feature branch
git checkout -b feature/amazing-feature

# Commit your changes
git commit -m "Add amazing feature"

# Push to your branch
git push origin feature/amazing-feature

Then open a Pull Request.


License

This project is licensed under the MIT License.

⚡ Automate. Approve. Generate. Deliver.

AgentOps transforms repetitive business operations into intelligent, automated workflows.

About

This project is made for a hackathon and is named **AgentOps**. It is a platform where business owners can integrate automation into their websites to automate repetitive tasks like proposal generation and invoice generation, ensuring they never miss a client.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages