Query Agent
A proposed Bittensor subnet built to automate and deliver verified, reproducible analytics answers.
Videos

Tech Stack
Description
Official Pitch Deck: https://docs.google.com/presentation/d/1cMqGxY_nNalS5WcSeZnyYT-xCMnOkZZipTCd0ilu6mU/edit?usp=drivesdk
QueryAgent is a proposed Bittensor subnet built to automate and deliver verified, reproducible on-chain analytics.
It works like a blockchain analytics platform, but instead of relying on a single centralized backend or dashboards, QueryAgent operates as a decentralized marketplace where analytics agents compete to answer questions correctly and efficiently.
Today, teams use tools like explorers, dashboards, and AI assistants to understand on-chain activity. But getting reliable answers still requires SQL skills, schema knowledge, and manual verification, especially when data refreshes in stages and results drift over time.
QueryAgent is designed to solve this by automating the process (ask questions in plain English and get SQL + result + snapshot ID) and making verification the default.
What QueryAgent does:
Users ask analytics questions in plain English (with optional constraints like time windows or chain/subnet scope).
Example questions include:
• Which subnets had the highest volume growth over the last 7 days?
• How many unique wallets interacted with subnet 18 this month?
• What changed in validator rankings this quarter?
Miners respond by generating a structured Answer Package, which includes:
• Executable SQL
• Result preview (table and/or result hash)
• Provenance (tables used and filters applied)
• Snapshot ID (the frozen dataset version)
• A concise explanation
Validators then re-run the miner’s SQL on the same canonical dataset snapshot and compare the output to ground truth. Scores are computed objectively, and miner weights are assigned accordingly.
QueryAgent’s core belief is simple: Everyone should be able to perform onchain analytics and analytics should be as verifiable as the blockchain itself.
For more details:
QueryAgent Whitepaper v1: https://docs.google.com/document/d/15wbXRDCqq-aKzdXHcyEl9RAcvl-g6DlvjPngOwpaGBY/edit?usp=drivesdk