Inspiration
Trading prediction markets should be as simple as having a conversation. Instead, users have to search for contracts, interpret order books, research market conditions, and manually execute trades across different interfaces.
We also noticed that valuable market data is often locked behind subscriptions or API keys, even when users only need a single answer. With AI agents increasingly capable of making autonomous payments, we wanted to explore a better approach: an agent that can retrieve information on demand, pay for it through blockchain infrastructure, and help users trade without giving up control.
What it does
Konviction is a voice-first AI trading assistant that lets users interact with prediction markets through natural conversation, either in their browser or through a phone interface.
Users can ask questions like "Find me a Bitcoin prediction market" or "What's the current order book?" The agent retrieves live market information from Gemini Sandbox and explains the available contracts, prices, and liquidity.
Konviction also brings agentic research into the trading experience. Through QuickNode and x402, the system is designed to purchase blockchain data on demand using USDC payments on Circle's Arc infrastructure, giving agents access to external research without requiring users to manage individual API subscriptions.
When users decide to trade, they can request market or limit orders, specify quantities, review quotes, and confirm execution by voice. The agent also supports checking positions and managing existing orders.
The goal is to make an entire trading workflow possible through a single conversation.
How we built it
We built Konviction around ElevenLabs Conversational AI, connecting its voice agents to a custom trading backend through structured tool calls.
Our frontend uses React, TypeScript, and Vite, deployed through Vercel. The dashboard displays prediction markets, order books, trading proposals, account positions, and order activity.
The backend uses Node.js server functions to communicate with the Gemini Prediction Markets Sandbox API. We developed tools for contract discovery, live quotes, order book retrieval, trade preparation, order confirmation, and portfolio management.
When a user requests a trade, the backend retrieves current market information, calculates estimated fees, and generates an order proposal. The agent reads back the order details before accepting confirmation. The server then validates the proposal and submits the authorized order to Gemini Sandbox.
For agentic research, we integrated QuickNode into our blockchain data architecture and developed an x402 payment workflow using Circle's Arc blockchain. The workflow handles HTTP 402 payment requests, payment authorization, and access to external API data using USDC. Circle Gateway nanopayments provide a mechanism for small, usage-based research payments.
We separated research authorization from trading authorization, keeping sensitive credentials and execution logic on the server rather than exposing them to the AI model or frontend.
For persistence, the application supports SQLite locally, with Supabase and Vercel Blob available for hosted storage.
Challenges we ran into
One of our biggest challenges was working with the liquidity available in Gemini Sandbox prediction markets. Some contracts had thin order books, making it difficult to consistently execute orders at the expected prices.
We also needed to handle the difference between quoted prices and execution prices. Because markets can change during a conversation, we implemented fresh quote validation and explicit confirmation before orders are submitted.
Another challenge was connecting conversational AI with financial operations. Natural language can be ambiguous, but trading APIs require exact contract identifiers, quantities, prices, and order types. We needed to translate conversational requests into structured actions while ensuring the user understood precisely what was being executed.
Integrating x402 introduced a different challenge: allowing agents to request paid data while keeping payment authorization and wallet credentials outside the model.
Accomplishments that we're proud of
We're particularly proud of bringing market research, trading, and portfolio management into one conversational interface.
Instead of requiring users to navigate multiple pages, Konviction can discover contracts, retrieve live market information, explain prices, and prepare trades through voice commands.
We also built a trading backend that supports market and limit orders, spoken confirmation, position management, and persistent order tracking.
Another accomplishment was connecting blockchain research and programmable payments to the AI agent architecture. By combining QuickNode, x402, and Circle's Arc infrastructure, we created a foundation for agents to access specialized financial data through usage-based payments.
Most importantly, Konviction demonstrates how voice agents can become interfaces for financial applications rather than simply conversational assistants.
What we learned
We learned that building a useful financial agent requires much more than connecting an LLM to an exchange API.
Trading requires accurate market data, clear order confirmations, reliable execution handling, and strong separation between the model's decisions and the backend's permissions.
Working with x402 also showed us how programmable payments can change how AI agents access information. Instead of maintaining subscriptions to every possible data provider, an agent can request specific information and pay for access when needed.
We also learned that blockchain activity provides valuable context, but it shouldn't be treated as a guaranteed prediction of market outcomes.
Finally, we discovered how important latency and conversation design are when connecting voice interfaces to real-time financial systems.
What's next for Konviction
We want to expand Konviction beyond individual trading sessions into a continuously available AI trading assistant.
Our next steps include introducing configurable agent spending budgets for autonomous research, monitoring open positions after conversations end, and sending phone notifications when orders fill or markets settle.
We also plan to expand our research infrastructure with additional QuickNode data streams, cryptocurrency volatility metrics, and comparisons across prediction market platforms such as Polymarket.
Longer term, we want to move beyond sandbox trading toward live markets, while maintaining server-enforced authorization, explicit trade confirmation, and configurable spending limits.
Our vision is simple: a financial agent you can talk to, that can research, transact, and help manage your trades without requiring you to navigate a trading terminal.
Built With
- arc
- elevenlabs
- gemini
- javascript
- quicknode
- react
- solana
- sqlite
- twilio
- typescript
- vite
- x402