Quick Start Guide
Get OSSPoly AI up and running in minutes with this step-by-step guide.
Prerequisites
Before starting, make sure you have:
- Node.js 18+ and pnpm for the frontend
- Python 3.11+ for the backend
- A Web3 wallet (MetaMask, Phantom, etc.)
- Required API keys (see API Configuration)
Quick Setup
1. Clone the Repository
git clone https://github.com/The400MillionDollarCorp/OSSPoly.git
cd osspoly
2. Environment Variables
Copy the environment template and fill in your API keys:
cp .env.example .env
Edit .env with your API keys:
OPENAI_API_KEY=your_openai_key
EXA_API_KEY=your_exa_key
FIRECRAWL_API_KEY=your_firecrawl_key
CLOB_API_KEY=your_clob_key
CLOB_SECRET=your_clob_secret
CLOB_PASS_PHRASE=your_clob_passphrase
POLYGON_WALLET_PRIVATE_KEY=your_wallet_private_key
# ... other keys
3. Backend Setup
cd backend
pip install -e ".[dev]"
make lg-server
The backend will start on http://localhost:2024
4. Frontend Setup
In a new terminal:
cd frontend
pnpm install
pnpm dev
The frontend will be available at http://localhost:3000
First Run
- Connect Your Wallet: Use the Web3 wallet integration in the frontend
- Configure Polymarket: Follow the Polymarket Setup guide
- Test the Agent: Try analyzing a market with the AI agent
Verification
To verify everything is working:
- Backend Health: Visit
http://localhost:2024- should show LangGraph server - Frontend: Visit
http://localhost:3000- should show the PolyTrade interface - Agent Test: Use the frontend to test market analysis
Next Steps
- Complete Setup Guide - Detailed installation instructions
- API Configuration - Configure all required APIs
- Polymarket Setup - Set up Polymarket integration
- Usage Guide - Learn how to use the agent
Troubleshooting
Backend won't start?
- Check Python version:
python --version(should be 3.11+) - Verify dependencies:
pip list | grep langgraph
Frontend issues?
- Check Node.js version:
node --version(should be 18+) - Clear cache:
pnpm store prune
API errors?
- Verify API keys in
.envfile - Check API key permissions and limits
Need more help? See the Troubleshooting Guide or check the FAQ.