Query Agents
Query Agents serve as the foundational layer within DA3N's DeFAI Agent OS, acting as the bridge between natural language inputs and precise blockchain data retrieval and analysis. These agents are designed to interpret complex user queries, breaking them down into structured, machine-readable commands that interact with decentralized networks.
Beyond simple data retrieval, Query Agents are equipped with analytical capabilities that enable them to perform real-time data aggregation, trend analysis, and predictive modeling.
Query Agents are highly adaptable, capable of integrating with multiple blockchain protocols and ecosystems, ensuring compatibility across a wide range of decentralized platforms.
Natural Language to SQL Conversion
NLP Engine Architecture
Core Technology: GPT-4 based network
Processing Capabilities
Conversion Capabilities
Multi-language query support
Complex query interpretation
Domain-specific blockchain terminology understanding
Use Case Examples
Example 1: DeFi Token Analysis
Query: "Compare liquidity of top 5 DeFi tokens on Ethereum in last 30 days"
Example 2: Cross-Chain Comparison
Query: "Show total value locked for lending protocols on Ethereum and Polygon"
Request Parameters
Query Specification
Parameter Details
prompt: Natural language input
chains: Target blockchain networks
context: Additional query refinement
Response Formats
Standard Response Structure
Response Components
Query Identifier: Unique tracking
Optimized SQL: Generated query
Results: Raw blockchain data
Metadata: Confidence scoring Performance metrics Queried network details
Last updated