Trade Verification Firewall is an AI-native options trading agent built for the Alpaca AI Trading Agents Hackathon that solves a core problem with autonomous trading bots: blind trust in a single AI's judgment. Instead of letting one model generate and execute trades, we split the decision into two independent AI checkpoints. The Alpaca API streams live price and options data into a Gemini-powered Signal Agent, which analyzes the market and proposes a trade. That signal doesn't go straight to execution — it passes to a second, independent Gemini Verifier Agent whose only job is to critically review the first agent's reasoning and either approve or reject it. Only signals that clear both checkpoints are sent back to Alpaca to place a paper trade. Every step of this process — the original signal, the verifier's reasoning, the final decision, and the trade outcome — is logged to Supabase and Google Sheets in real time, creating a complete, timestamped audit trail. This makes the system's decision-making fully transparent and reviewable, rather than a black box. n8n orchestrates the entire pipeline, connecting Alpaca's API, the two Gemini agents, and the logging layer into a single automated workflow that's easy to test, debug, and extend. The result is a trading agent architecture built around a simple principle: no trade fires on a single AI opinion.
Category tags: