Skip to content

kcap02DVT/ghost_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered Strategic Intelligence Assistant

An autonomous agent capable of browsing the web (or a simulated database) to collect public information about competitors, synthesize it, and suggest strategic differentiation or repositioning opportunities.

Features

  • Complete SWOT Analysis
  • PESTEL Analysis
  • Porter's Five Forces Analysis
  • BCG Matrix
  • McKinsey 7S Model
  • Competitor Analysis
  • Automated LinkedIn Analysis
  • Visualization Generation
  • Document (TXT for the moment, pdf and other type will be updated soon) Support for RAG Analysis

Architecture

The project is structured into two main components:

Backend (FastAPI)

  • RESTful API for business analysis
  • OpenAI and Tavily integration
  • Automated web scraping
  • Visualization generation
  • RAG support for document analysis

Frontend (React + TypeScript)

  • Modern UI with Tailwind CSS
  • Interactive visualizations
  • Form management
  • Analysis results display

Prerequisites

  • Docker

Configuration Files

Before starting, you need to create a .env file in the project root directory with the following environment variables:

# API Keys
TAVILY_API_KEY=your_tavily_key
OPENAI_API_KEY=your_openai_key
OPENAI_BASE_URL=https://integrate.api.nvidia.com/v1

# LinkedIn Configuration
LINKEDIN_EMAIL=your_linkedin_email
LINKEDIN_PASSWORD=your_linkedin_password

Docker Installation

  1. Clone the repository:
git clone https://github.com/kcap02DVT/ghost_analysis.git

cd ghost_analysis
  1. Create the .env file with your API keys:
cp .env.example .env
# Edit the .env file with your API keys
  1. Build and start the containers:
# Build the images
docker-compose build

# Start the services
docker-compose up -d
  1. Verify that containers are running:
docker-compose ps
  1. Access the application:

Use the confidential.txt file as input for the analysis. This file contains sample data that you can use to test the various analysis features.

Technologies Used

Backend

  • FastAPI
  • Uvicorn
  • LangChain
  • OpenAI API
  • Tavily Search API
  • Selenium
  • BeautifulSoup
  • Matplotlib

Frontend

  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • Headless UI
  • Lucide Icons

Contact

For any questions or suggestions, please open an issue on GitHub.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •