Installation Guide

Set up Forecast AI.

Install our open-source Python framework locally or deploy it as a microservice on your cloud network.

1

Verify Requirements

Ensure you have Python 3.11+ and pip installed. If you plan on deploying custom dashboards, Node.js 18+ is recommended.

2

Install Python Dependencies

Install using pip. To enable full support for RPC transactions and Polymarket orderbooks, install the onchain options.

Terminal
pip install -e ".[ws,onchain]"
3

Launch Config Wizard

Run the CLI configuration setup wizard. It will prompt you for your keys, validator node URLs, and local cache directories, setting up a config file automatically.

4

Select Core CLI commands

Explore command options in the terminal emulator to predict topics, start watchers, or deploy the FastAPI server.

zsh - CLI client
$ forecast setup
🔮 Initializing Forecast AI configuration wizard...
[?] Enter OpenAI API Key: *************************************
[?] Enter Anthropic API Key: ***********************************
[?] Enter DeepSeek API Key: ************************************
[?] Enter Solana RPC Endpoint: https://api.mainnet-beta.solana.com
[?] Enter Wallet Private Key (optional): 4xFoRai...walletKey
✓ LLM providers successfully validated.
✓ Wallet address loaded: 9aBz...f42c
✓ Configuration stored in: ~/.forecast_ai/config.yaml
COMMAND SHORTCUT