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.
Follow these steps to set up the project:
To use the Octagon Agents API, you'll need a free API key:
- Sign up for a free Octagon account
- Go to the Settings page
- Navigate to the API Keys section
- Create a new API key
Copy the .env.example file to create your own .env file:
cp .env.example .envThen, edit the .env file to add your API keys:
OCTAGON_API_KEY: Your Octagon API keyOPENAI_API_KEY: Your OpenAI API key
poetry installThe web application provides a user interface to input company details (name or website) and generate research reports interactively.
Usage:
poetry run webOnce started, navigate to http://127.0.0.1:5000 (or the address provided in the terminal) in your web browser.
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.csvThis project is licensed under the MIT License