π Agentic Syndicate β Polymarket Autonomous Trading - YC Halloween & Hyperspell Hackathon Winner
Agentic Syndicate is an integration of browser automation and an AI multi-agent trading advisor built to discover and analyze Polymarket markets and (optionally) execute trades. It includes:
- A FastAPI Python backend that runs agents and exposes API endpoints.
- A React + TypeScript frontend demo and dashboard.
- A multi-agent decision system (Data Collector, Odds Analyzer, Research, Sentiment) that produces weighted trade recommendations.
- Browser automation powered by Browser-Use for scraping and interaction.
This README gives a concise developer-oriented overview and quick start steps.
- Market discovery: find trending and active Polymarket markets using browser automation.
- Multi-agent analysis: multiple specialized agents analyze markets and vote on recommendations.
- Autonomous trading: optional automated execution and portfolio tracking.
- Extensible: add new agents or integrate other data sources / LLMs.
- Copy and configure environment variables:
cp backend/.env.example backend/.env
# Edit backend/.env and set BROWSER_USE_API_KEY and any optional provider keys- Install dependencies and set up the project:
make setup- Start backend and frontend:
make start- Open the frontend at:
- UI: http://localhost:8080
- API docs (when backend running): http://localhost:8000/docs
- Discovery: the Data Collector agent uses Browser-Use to navigate Polymarket and extract candidate markets.
- Analysis: each agent (Odds Analyzer, Research, Sentiment) evaluates the market and returns a vote + confidence.
- Aggregation: Decision Coordinator weights votes and computes a final recommendation and suggested bet size.
- Execution (optional): the trading agent executes trades against a connected account or simulation, and updates portfolio state.
- Data Collector β scrapes markets, validates data quality and liquidity.
- Odds Analyzer β computes value estimates and expected edge.
- Research Agent β gathers supporting external context (news, events).
- Sentiment Agent β analyzes public opinion signals.
- Decision Coordinator β aggregates agents' outputs and produces final recommendation.
Run a browser automation task (example):
curl -X POST http://localhost:8000/api/run-task \
-H 'Content-Type: application/json' \
-d '{"task":"Go to example.com and return the title","max_steps":5}'Get a multi-agent market recommendation (example):
curl -X POST http://localhost:8000/api/decide \
-H 'Content-Type: application/json' \
-d '{"market_data": {"market_id": "trump-2024","yes_price": 0.54, "volume_24h": 125000}}'Start autonomous trading (example):
curl -X POST http://localhost:8000/api/trading/start \
-H 'Content-Type: application/json' \
-d '{"markets":["Trump 2024"], "check_interval":300, "min_confidence":0.7}'See docs/API.md for full endpoint documentation.
Backend (run API locally):
cd backend
source .venv/bin/activate
uvicorn browser_api_server:app --reload --port 8000Frontend (run dev server):
cd webpage
npm install
npm run dev- Copy
backend/.env.exampletobackend/.envand setBROWSER_USE_API_KEY(required) plus any optional LLM API keys. - Never commit
.envor secrets to source control.
Run integration tests:
make testPlease read CONTRIBUTING.md for contribution guidelines, coding style and PR workflow.
- This project can execute trades. Use
dry-runor sandbox modes for testing before connecting real funds. - Be mindful of external API rate limits and the legal/regulatory rules for automated trading in your jurisdiction.
MIT β see LICENSE.
If you'd like, I can:
- Add a short architecture diagram or ASCII flow to the README.
- Add sample unit tests and a CI job to run them.
- Add a safety switch (DRY_RUN env var) and a small script to validate required env vars before starting the backend.
Tell me which of those you'd like next.
π HalloweenHack# π HalloweenHack - AI-Powered Browser Automation & Trading System# π HalloweenHack
AI-powered browser automation + autonomous trading.
This repository bundles:A full-stack application combining AI-powered browser automation with autonomous trading capabilities, featuring a React frontend and FastAPI backend powered by Browser-Use.Browser automation project with React frontend and Browser-Use Python backend.
-
Frontend:
webpage/(React + TypeScript) -
Backend:
backend/(FastAPI + Browser-Use) -
Docs:
docs/(API & system guides)## π Table of Contents## π Quick Start
Quick start
- Features```bash
Install and run the project locally (recommended):
- Quick Start# First time setup
make setup- [Project Structure](#-project-structure)make setup
make start
```- [Tech Stack](#οΈ-tech-stack)
Open the UI at http://localhost:8080 and API docs at http://localhost:8000/docs- [API Documentation](#-api-documentation)# Start the project
Common commands- [Development](#-development)make start
---------------
- [Testing](#-testing)```
```bash
make help # list available commands- [Contributing](#-contributing)
make setup # install deps
make start # start backend + frontend- [License](#-license)Then open: **http://localhost:8080**
make start-backend # start backend only
make start-frontend# start frontend only
make test # run tests
make clean # clean build artifacts## β¨ Features## π Available Commands
Layout
------### π Browser Automation```bash
HalloweenHack/
βββ backend/ # Python backend and agents- Natural language task executionmake start # Start backend + frontend
βββ webpage/ # React frontend
βββ docs/ # Documentation and API reference- Vision-enabled browsing with screenshot analysismake stop # Stop all servers
βββ scripts/ # Helper shell scripts
βββ Makefile- Headless and headed browser modesmake health # Check backend health
βββ README.md
```make test # Run test automation
Docs & contribution### π€ Multi-Agent Trading Systemmake clean # Clean caches
-------------------
- **Data Collector Agent** - Validates market data quality and liquidity```
See `docs/` for API and system guides. Read `CONTRIBUTING.md` for development and PR guidance.
- **Odds Analyzer Agent** - Identifies value bets and market inefficiencies
License
-------- **Research Agent** - Gathers news and contextual information## π Documentation
MIT β see `LICENSE`.- **Sentiment Agent** - Analyzes social media sentiment
If you want a shorter or more detailed README, tell me which sections to expand or trim.- **Decision Coordinator** - Aggregates agent recommendations using weighted voting- **Getting Started**: See `START_HERE.md`
- **Makefile Help**: See `MAKEFILE_HELP.md`
### πΌ Autonomous Trading- **Browser-Use Guide**: See `QUICKSTART.md`
- Continuous market monitoring
- Automated trade execution## π URLs
- Real-time portfolio tracking
- Risk management with configurable limits- **React App**: http://localhost:8080
- **API Server**: http://localhost:8000
### π¨ Modern Web Interface- **API Docs**: http://localhost:8000/docs
- React + TypeScript frontend
- Real-time updates with live agent status## π οΈ Tech Stack
- Portfolio dashboard with P&L tracking
# π HalloweenHack
AI-powered browser automation + autonomous trading.
This repository bundles:
- Frontend: `webpage/` (React + TypeScript)
- Backend: `backend/` (FastAPI + Browser-Use)
- Docs: `docs/` (API & system guides)
Quick start
-----------
Install and run the project locally (recommended):
```bash
make setup
make start
Open the UI at http://localhost:8080 and API docs at http://localhost:8000/docs
make help # list available commands
make setup # install deps
make start # start backend + frontend
make start-backend # start backend only
make start-frontend# start frontend only
make test # run tests
make clean # clean build artifactsHalloweenHack/
βββ backend/ # Python backend and agents
βββ webpage/ # React frontend
βββ docs/ # Documentation and API reference
βββ scripts/ # Helper shell scripts
βββ Makefile
βββ README.md
See docs/ for API and system guides. Read CONTRIBUTING.md for development and PR guidance.
Copy the example env file and add your API keys and configuration:
cp backend/.env.example backend/.env
# then edit backend/.env and add your BROWSER_USE_API_KEY and any other keysMIT β see LICENSE.
If you want a shorter or more detailed README, tell me which sections to expand or trim. β β βββ components/ # React components