AgentZero
3 AI Agents Research, Debate, Deliver
Created on 13th April 2026
•
AgentZero
3 AI Agents Research, Debate, Deliver
The problem AgentZero solves
The Problem
Current AI research tools (ChatGPT, Perplexity) operate as single-pass systems — one AI, one perspective, free web searches only. They can't access premium data sources, can't self-critique, and can't make autonomous financial decisions about what data is worth paying for.
What Agent Zero Does
Agent Zero is an autonomous AI research council — not a wrapper, but an economic entity with its own wallet. When you give it a research task:
- 3 specialist agents (Researcher, Data Analyst, Investigator) research independently using different premium APIs
- Specialists debate each other's findings, challenge assumptions, and identify gaps
- The agent decides which of 9 paid data sources to use and manages its own spending
- Multi-round research iterates across discovery, deep dive, cross-reference, and synthesis
- Everything is visible — every decision, API call, debate, and cost logged in real-time
What Makes It Unique
- 9 Locus Wrapped APIs: CoinGecko (crypto), Alpha Vantage (stocks), EDGAR (SEC filings), Apollo (company intel), Exa (search), Firecrawl (scraping), Perplexity (AI search), Brave (web), Gemini (synthesis)
- Locus Checkout for USDC payments on Base chain
- Agent-to-Agent API — other agents can hire Agent Zero programmatically
- Self-chaining pipeline — runs for minutes to hours across Vercel serverless invocations
- 3 tiers: Quick (~1 min), Standard (5-10 min), Deep Dive (2-3+ hours)
- 98%+ profit margins — agent earns revenue and tracks its own P&L
Challenges I ran into
Vercel Serverless Timeout
The biggest challenge was running multi-hour research pipelines on Vercel's serverless functions (60-120s timeout). We solved this with a self-chaining architecture — the pipeline runs one segment (~60-80s), saves state to the database, exits, and the status polling endpoint triggers the next segment. This allows indefinite research duration across hundreds of function invocations.
Locus API Integration
- No webhook secret available in Locus beta — we implemented server-side checkout session polling as a fallback for payment detection
- Wrapped API response formats vary across 9 providers — the classifier sometimes returned provider names as
exa_searchvsexa/search, requiring a normalization layer in the API dispatcher - x402 endpoints (AgentMail) blocked by exhausted free tier credits — couldn't implement email delivery
Multi-Agent Coordination
Getting Gemini to produce consistent structured JSON for task classification and research planning required extensive prompt engineering. The classifier initially fell back to "general" for most tasks. We added explicit entity examples, stock tickers, CIK numbers, and domain mappings to improve routing accuracy.
Entity Expansion Quality
The Deep Dive's entity tree expansion initially researched irrelevant topics (expanding "telecommunications" and "real estate" when researching teen money-making). We added entity relevance filtering and cost budgets per tier to keep research focused and prevent wallet drain.
Technologies used
