Skip to content

OctagonAI/octagon-research-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Octagon Research Demo

A tool to generate investor-ready research reports using the Octagon Agents API and OpenAI models. This tool can be run either as a command-line interface (CLI) or as a web-based application.

This repository serves as a demonstration of how to use the Octagon API for creating AI-powered research tools.

It retrieves structured company and funding data, then synthesizes a professional Markdown report using an LLM and a custom template.


🚀 Setup

Follow these steps to set up the project:

1. Get an API Key

To use the Octagon Agents API, you'll need a free API key:

  1. Sign up for a free Octagon account
  2. Go to the Settings page
  3. Navigate to the API Keys section
  4. Create a new API key

2. Set up environment variables

Copy the .env.example file to create your own .env file:

cp .env.example .env

Then, edit the .env file to add your API keys:

  • OCTAGON_API_KEY: Your Octagon API key
  • OPENAI_API_KEY: Your OpenAI API key

3. Install dependencies

poetry install

🌐 Web Application

The web application provides a user interface to input company details (name or website) and generate research reports interactively.

Usage:

poetry run web

Once started, navigate to http://127.0.0.1:5000 (or the address provided in the terminal) in your web browser.


💻 Command-Line Interface (CLI)

The CLI allows you to generate research reports directly from your terminal by providing a CSV file with company names and optional websites.

Your input CSV file must contain at least a Name column. A Website column is optional but recommended for better results. See companies.csv for an example.

Usage:

poetry run research --csv /path/to/your/companies.csv

📄 License

This project is licensed under the MIT License

About

This repository serves as a demonstration of how to use the Octagon API for creating AI-powered research tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors