Skip to content

tal7aouy/competitor-intel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Competitive Intelligence AI Agent

Stack: FastAPI (Python) + Vanilla JavaScript.

Project structure

competitor-intel/
  backend/
  frontend/

Setup

Backend

cd competitor-intel/backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
playwright install
cp .env.example .env

Set at least one of:

  • ANTHROPIC_API_KEY (preferred)
  • OPENAI_API_KEY

Run:

uvicorn main:app --reload --port 8000

Frontend

Serve competitor-intel/frontend/index.html with any static server (VS Code Live Server is fine).

Backend base URL defaults to http://localhost:8000 (see frontend/js/api.js).

API

  • POST /api/analyze → returns report (blocking)
  • GET /api/analyze/stream?url=... → SSE progress + creates report
  • GET /api/reports → list reports
  • GET /api/reports/{id} → report detail
  • DELETE /api/reports/{id} → delete report

About

🤖 Competitive Intelligence AI Agent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors