Lukita.
ASGARD Trading Agent
// AI TRADING INFRASTRUCTURE — 2026

ASGARD TRADING AGENT

AI-Powered Prediction Market Trading Bot

Autonomous prediction market trading agent that scans 2000+ Polymarket markets, detects mispriced outcomes using AI analysis and real-world data feeds, and executes trades via the CLOB API. Features a weather engine using NWS forecasts, a news velocity scanner for breaking-news edge detection, and a multi-strategy AI pipeline with anti-hallucination safeguards.

Client InternalRole Architect & DeveloperPlatform Discord Bot + CLI
PythonDiscord.pyClaude AITavilyPolymarket CLOBNWS APIFirecrawlSQLiteaiohttp
13Commands
2000+Markets Scanned
4Strategies
7Safety Checks
// Architecture

How It's Built

Multi-layered trading intelligence system. Discord bot frontend exposes 13 slash commands. Backend orchestrates Tavily search, Claude Sonnet AI analysis, NWS weather forecasting, Firecrawl web scraping, and Polymarket CLOB order execution. MIMIR episodic memory system tracks market history. Auto-trader module with $20 exposure cap and circuit breaker safety.

01

Discord Interface

13 slash commands: /scan, /weather, /velocity, /picks, /analyze, /live-trade, /paper-trade, /auto-trade, /wallet, /portfolio, /pnl, /whales, /status

Discord.pyApp CommandsEmbeds
Discord Interface
02

AI Pipeline

Multi-stage analysis: Ollama pre-classification, Tavily news research, Claude probability assessment. Anti-hallucination guardrails with date verification and evidence requirements

Claude SonnetTavilyOllama
AI Pipeline
03

Weather Engine

Zero-cost NWS forecast-based edge calculator for temperature bracket markets. Pulls 7-day forecasts, calculates bracket probabilities with calibrated std dev, identifies mispriced weather markets

NWS APINormal Distribution CDF
Weather Engine
04

News Velocity

Background scanner polling breaking news every 60s. Detects news-price dislocations on Polymarket. Keyword heuristic pre-filter, Claude verification gate. Feeds signals to auto-trader

TavilyClaudeasyncio
News Velocity
05

Auto-Trader

Autonomous execution with 7-step validation: edge threshold, position limits, circuit breaker, stale price guard, duplicate check, exposure cap, credential verification

py-clob-clientPolygon RPCSQLite
Auto-Trader
06

Memory (MIMIR)

Episodic + semantic memory via Throne. Stores scan results, trade decisions, market verdicts with supersession chains. Recalls market history before analysis

SQLiteThrone DB
Memory (MIMIR)
// Deliverables

What Shipped

012000+ market scanning with Firecrawl web scraping + gamma-api keyword search
02NWS weather engine — zero-cost edge detection on 50+ temperature markets daily
03News velocity scanner — 60-second polling for breaking news trading signals
04Claude AI probability assessment with anti-hallucination safeguards
05Autonomous trade execution with $5/trade and $20 total exposure caps
06Circuit breaker integration — blocks trades after consecutive losses
07MIMIR episodic memory — tracks all scans and trades across sessions
08Stale price guard — re-fetches price before execution, aborts on 3%+ drift
09Multi-strategy: weather, news velocity, heuristic signals, AI analysis
10Paper trading mode for strategy validation before live deployment
// Next

THRONE

Self-Evolving Multi-Agent AI Orchestration