Skip to content

AditM99/Quote_Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Quote Agent

Project Overview

An autonomous agent that processes inbound quote requests from email, enriches them via CRM/Pricing/Inventory APIs, generates professional quotes (JSON + PDF), and logs every step for audit.

Tech Stack

  • Backend: FastAPI (Python 3.11)
  • Database: PostgreSQL 16 (SQLAlchemy + asyncpg)
  • Frontend: React 18 + Vite + Zustand
  • PDF Generation: ReportLab
  • Deployment: Docker + docker-compose

Quick Start

With Docker (recommended)

docker-compose up --build

Local Development

Backend:

cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000

Frontend:

cd frontend
npm install
npm run dev

Frontend dev server runs at http://localhost:5173 with API proxy to :8000.

API Endpoints

Method Path Description
POST /api/quotes Submit email → generate quote
GET /api/quotes List all quotes
GET /api/quotes/{id} Get quote by ID
GET /api/quotes/{id}/pdf Download quote PDF
GET /api/quotes/mock-emails Get sample email templates
GET /api/audit List all audit logs
GET /api/audit/{quote_id} Audit trail for a quote
GET /api/health Health check

Mock Data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors