Subsquid & Guru Network Data Partnership

Authors: https://gurunetwork.ai/, https://subsquid.io/

Abstract

This whitepaper details the integration of Subsquid and Guru Network, highlighting the technical architecture and potential use cases enabled by this collaboration. The Guru Network, a Multi-Chain AI Compute Layer, focuses on AI-driven user flow orchestration across both on-chain and off-chain environments. By integrating Subsquid's decentralized data aggregation and query capabilities, the Guru Network enhances its ability to automate complex business processes with reliable, real-time multi-chain data. Subsquid SDK simplifies the integration process and the Guru Data Warehouse aggregates these data streams for AI processors. The economic interactions between the $GURU and $SQD tokens drive network participation and value creation in future. This integration significantly advances decentralized AI-driven automation, offering robust solutions for DeFi, social applications, gaming, infrastructure management, and the creator economy.

Introduction

The integration of Subsquid with the Guru Network aims to harness the capabilities of Subsquid's decentralized data aggregation and query network to serve as a reliable data provider for AI processors and Web3 automation orchestrated by the Guru Network's nodes[1]. This collaboration addresses the challenge of accessing and processing large-scale blockchain and off-chain data, enabling enhanced AI-driven business process automation across multiple blockchain networks.

Subsquid Network Overview

Subsquid Network is designed to meet these requirements with a decentralized architecture that includes[3]:

  • Data Providers: Upload raw data to permanent storage and distribute it among network nodes.

  • Workers: Store and serve data in a peer-to-peer manner, earning rewards for their contributions.

  • Scheduler: Distributes data chunks among workers based on capacity and redundancy requirements.

  • Logs Collector: Collects liveness pings and query execution logs from workers.

  • Rewards Manager: Calculates and distributes rewards based on worker performance.

  • Data Consumers: Query the network through gateways, with access controlled by locked SQD tokens.

The network supports simple queries initially, with plans to introduce more complex SQL queries and query planning layers in the future.

Guru Network Overview

The Guru Network focuses on AI-driven user flow orchestration across on-chain and off-chain environments, providing a robust framework for Blockchain Business Process Automation (BBPA). It leverages the Cross-Chain Interoperability Protocol (CCIP)[2] to facilitate seamless multi-chain operations and integrates AI processors to manage complex business processes.

Key components of the Guru Network include:

  • Flow Orchestrator: Manages BBPA engines and AI processes.

  • Data Warehouse

  • BBPA Engine Event Bus: Serves as a network-native oracle for process orchestration.

  • AI Compute Oracles (Prophets): Provide predictive capabilities to enhance AI-driven decision-making.

Subsquid <-> Guru Data Warehouse Integration Details

The Guru Data Warehouse serves as a crucial aggregation point for data streams from Subsquid before they are utilized in processes running on Guru Network orchestration nodes. Here’s how it works:

  1. Data Aggregation: Subsquid provides comprehensive on-chain and off-chain data streams, which are hooked up into the Guru Data Warehouse via Subsquid SDK -> Data Warehouse storage adapters. The data includes transaction data, smart contract states, and relevant off-chain data such as price feeds and external data sources.

  2. Data Processing: Once the data is aggregated in the Guru Data Warehouse, it undergoes preprocessing to ensure it is ready for AI processors. This preprocessing includes data cleaning, normalization, and compression, making the data suitable for high-efficiency querying and processing.

  3. Real-Time Data Utilization: The processed data is then utilized by AI-driven processes running on Guru Network orchestration nodes. These nodes leverage the data to execute complex business process automations, make data-driven decisions, and provide real-time insights.

  4. Enhanced Decision Making: By integrating Subsquid’s data streams, the Guru Network ensures that its AI processors have access to the most accurate and up-to-date information. This enhances the reliability and efficiency of automated processes, leading to more accurate and impactful decision-making.

Architecture

The integration of Subsquid and Guru Network involves the following key components:

  1. Subsquid Network:

  • Data Providers: Submit raw data to the network.

  • Workers: Store and serve the data.

  • Scheduler: Manages data distribution among workers.

  • Logs Collector: Aggregates logs for liveness and performance monitoring.

  • Rewards Manager: Distributes rewards to network participants.

  • SDK: Works in conjunction with Guru Data Warehouse as transport layer between two systems.

  1. Guru Network:

  • Flow Orchestrator: Manages BBPA engines and AI processes.

  • Guru Data Warehouse: Aggregates and processes data from Guru Indexer, Subsquid(SDK) and other data providers(adapters).

  • AI Processors: Utilize data from the Guru Data Warehouse to execute business processes.

  • BBPA Engine: Runs business process automation on-chain and off-chain.

Use Cases

Decentralized Finance (DeFi)

The integration of Subsquid and Guru Network can revolutionize DeFi by providing real-time, reliable data for automated trading strategies, risk management, and financial analytics. AI-driven processes can use this data to make informed decisions, enhancing the efficiency and profitability of DeFi operations.

Decentralized Social Applications (DeSoc)

By leveraging the combined capabilities of Subsquid and Guru Network, decentralized social applications can offer enhanced user experiences through personalized AI-driven interactions and content recommendations based on real-time data analytics.

Decentralized Gaming (GameFi)

In decentralized gaming, real-time data from Subsquid can be used to manage in-game economies and assets efficiently. AI-driven processes can automate complex tasks such as player matchmaking, asset management, and in-game events, providing a seamless gaming experience.

Decentralized Physical Infrastructure (DePIN)

For decentralized physical infrastructure networks, the integration can provide real-time monitoring and management of physical assets. AI-driven processes can automate maintenance schedules, optimize resource allocation, and enhance the overall efficiency of infrastructure management.

Decentralized Creator Economy

Creators in the decentralized economy can benefit from AI-driven analytics and process automation powered by Subsquid data. This can include automated content distribution, personalized marketing strategies, and real-time audience engagement analytics.

$GURU and $SQD Economy Interactions

The integration of Subsquid with the Guru Network introduces potential interactions between the $GURU and $SQD tokens, which can drive economic activity and incentivize network participation.

$GURU Token

The $GURU token underpins the economic operations of the Guru Network, serving as a fundamental element of the Contract Secured Revenue (CSR) model. Key uses include:

  • Incentivizing Participation: Participants earn $GURU tokens by contributing computational resources, developing AI processes, and engaging in network activities.

  • Ensuring Security: The staking mechanisms involving $GURU tokens help secure the network by aligning the incentives of participants.

  • Facilitating Transactions: $GURU tokens are used to pay for transactions and services within the network, ensuring smooth and efficient operations.

$SQD Token

The $SQD token is the native token of the Subsquid Network, used to:

  • Reward Node Operators: $SQD tokens are used to reward workers for storing and serving data, ensuring data availability and reliability.

  • Enable Data Access: Data consumers use $SQD tokens to query the network, with access controlled by the amount of locked $SQD tokens.

  • Governance and Curation: $SQD holders participate in network governance and delegate tokens to signal the reliability of workers.

Economic Interactions

  1. Data Queries and Processing Fees: AI processors within the Guru Network will use data aggregated from Subsquid. To access this data, they will pay processing fees in $GURU tokens. Part of these fees can be converted to $SQD tokens to compensate Subsquid workers for data retrieval and storage.

  2. Staking and Rewards: Both $GURU and $SQD tokens can be staked to participate in the network. Participants can earn rewards in the form of $GURU tokens for running compute nodes and contributing AI models, while $SQD tokens can be earned by providing data services in the Subsquid Network.

  3. Inter-Network Collaboration: The integration allows for seamless collaboration between the Guru Network and Subsquid, with $GURU and $SQD tokens facilitating economic interactions. For example, data consumers in the Guru Network might lock $SQD tokens to gain higher query limits, enabling more efficient data utilization for AI processes.

  4. Token Liquidity and Value: The combined usage of $GURU and $SQD tokens across both networks can enhance liquidity and value. As the networks grow and more participants join, the demand for both tokens will increase, driving their economic value.

Closing Thoughts

While we’re still in the very early days of both AI and blockchain, their intersection remains one of the hottest narratives in crypto today. The sharing of AI agents and references throughout an ecosystem takes the open and permissionless nature of blockchain and blends it with the self-improvement models in AI and machine learning.

By combining Subsquid’s scalable data aggregation with Guru Network’s robust AI and process orchestration, the collaboration will enable more efficient, secure, and scalable blockchain-based business process automation, driving innovation and growth within the Web3 ecosystem.

References:

  1. GURU Network: Multi Chain AI Compute Layer Available at: https://gurunetwork.ai/assets/img/litepapper_dexguru_network.pdf

  2. Guru: Building The AI Orchestration Network Available at: https://gurunetwork.ai/assets/img/guru_network_architecture_whitepaper.pdf

  3. Subsquid Network whitepaper Available at: https://docs.subsquid.io/subsquid-network/whitepaper/

Last updated