← Platform Hub
1 — Start the Platform
1
Open PowerShell and navigate to the project
You must be in this folder for all commands
# In PowerShell (Windows key → type "powershell" → Enter)
PS > cd C:\Users\Leogutierrez777\Desktop\chainlink-bot-1
2
Start the platform server
Keep this PowerShell window open while using the platform
PS > uv run python app.py

Then open your browser to http://localhost:8000

3
OpenClaw (optional — separate window)
Only needed if using OpenClaw features
# Open a SECOND PowerShell window (no cd needed)
PS > openclaw gateway

# If port 18789 is already in use:
PS > openclaw gateway --force

Runs at http://localhost:18789

2 — All Pages & Local Ports
PageURL (local only)Category
Platform Hublocalhost:8000Home
Sniper Dashboardlocalhost:8000/sniper-dashboardTrading
Scalperlocalhost:8000/scalper-dashboardTrading
Autonomous Tradinglocalhost:8000/autonomous-tradingTrading
DexScreenerlocalhost:8000/dexscreenerTrading
Agent Neolocalhost:8000/neo-agentAI Agents
Agent Lablocalhost:8000/agent-labAI Agents
Agent Swarmlocalhost:8000/ai-agent-swarmAI Agents
AI Chatlocalhost:8000/ai-chatAI Agents
Morning Brieflocalhost:8000/morning-briefMarket
Token Screenerlocalhost:8000/token-screenerMarket
Analyticslocalhost:8000/analyticsMarket
Prediction Marketslocalhost:8000/prediction-marketsMarket
Wallet Managerlocalhost:8000/wallet-managerWallets
Security Monitorlocalhost:8000/security-monitorPlatform
Terminal Guidelocalhost:8000/terminal-guidePlatform
Mission Controllocalhost:8000/mission-controlPlatform
AI Flowlocalhost:8000/ai-flowPlatform
OpenClawlocalhost:8000/openclaw / gateway: 18789Platform
Santa Chatlocalhost:8000/santa-chatCommunity
Social Media (Rudy)localhost:8000/social-mediaCommunity
Recursion Lorelocalhost:8000/recursion-loreCommunity

💡 Local ports (localhost:XXXX) are only accessible on your machine — they are not public or exposed to the internet.

3 — Active AI Tools & MCP Integrations

These tools are wired into the AI editor (the VS Code AI assistant). They activate automatically or on request — no extra setup unless noted.

🌊
AI Flow
Active
Spawns multiple AI agents to work in parallel on complex tasks. Handles memory, coordination, hooks, and self-learning. Fires automatically on every file edit and bash command via hooks.
ai-flow [command]
Example: ai-flow memory list
🎭
Playwright MCP
Active
The AI controls a real browser — clicks buttons, takes screenshots, scrapes web pages, and automates browser tasks. Already used in this project (screenshots saved in .playwright-mcp/ folder).
Tell the AI editor:
"Use playwright to screenshot localhost:8000"
"Scrape this page and extract the prices"
🐙
GitHub MCP
Active
The AI manages your GitHub repo directly — creates PRs, opens/closes issues, reviews code, pushes commits, without you running git commands manually.
Tell the AI editor:
"Create a PR for these changes"
"Open a GitHub issue for this bug"
🗄️
Supabase MCP
Needs .env keys
The AI reads and writes your Supabase database directly — runs queries, manages tables, handles auth. Add your keys to .env to activate.
Add to .env:
SUPABASE_URL=your_url
SUPABASE_SERVICE_KEY=your_key
🛡️
Security Monitor
Active
Built-in prompt injection guard. Watches all AI inputs/outputs for malicious instructions, credential exfiltration attempts, and persona hijacking. Logs all threats to audit log.
Dashboard: localhost:8000/security-monitor
Audit log: logs/security/audit.log
🟩
Agent Neo
Active
Autonomous trading intelligence. Scans Solana tokens via DexScreener, runs GoPlus Security checks to auto-reject rug pulls, honeypots, and freeze authority tokens.
Dashboard: localhost:8000/neo-agent
API: localhost:8000/api/neo/scan
4 — API Keys Reference

Your keys live in .env in the project folder. Never share them. The file is gitignored — it never gets pushed to GitHub.

Key NameServiceStatus
OPENROUTER_API_KEYOpenRouter API — powers Agent Neo, AI Chat, Morning Brief (free models)Required
HELIUS_RPC_URLHelius — fast Solana blockchain dataRequired
SOLANA_PRIVATE_KEYYour trading wallet — keep ultra secretRequired
OPENCLAW_GATEWAY_URLOpenClaw service (http://localhost:18789)Set
OPENCLAW_GATEWAY_TOKENOpenClaw auth tokenSet
SUPABASE_URLSupabase database URLOptional
SUPABASE_SERVICE_KEYSupabase service role keyOptional
5 — Troubleshooting
🔴
Platform won't start
Check uv is installed: uv --version
Reinstall dependencies: uv sync
Look at the error message in PowerShell output.
🟡
Port 8000 already in use
Find what's using it: netstat -ano | findstr :8000
Kill it: taskkill /PID [number] /F
Then start the platform again.
🟡
Agent Neo prices showing null
Normal — Pump.fun sometimes blocks scrapers (Cloudflare 530 error). DexScreener data still works. No action needed.
🟡
OpenClaw "Cannot connect"
Start it first in a separate PowerShell window: openclaw gateway
If port is busy: openclaw gateway --force
🔴
Agent Neo AI not responding
Check OPENROUTER_API_KEY is set in your .env file.
Verify it's valid at openrouter.ai/keys.
🟢
Morning Brief 500 error
Fixed in current version. If it returns, restart the server: Ctrl+C then uv run python app.py
6 — Daily Workflow
☀️
Morning Routine
  1. PowerShell → cd chainlink-bot-1
  2. Run uv run python app.py
  3. Open Morning Brief for market summary
  4. Check Agent Neo for token opportunities
  5. Review Security Monitor for threats
🔨
Building New Features
  1. Open chainlink-bot-1 in VS Code
  2. Talk to the AI editor in the sidebar
  3. All new pages go on the hub at localhost:8000
  4. Push to GitHub when done (The AI handles git)
  5. Render auto-deploys from main branch
Production deployment:  Push to github.com/leosurf777/chainlink-bot main branch → Render picks it up automatically at chainlink-bot-backend.onrender.com
🏠 Hub