Docs

Discover how Phala's AI Agent Contract offers the essential tools to develop and profit from intelligent applications.

Explore Now

Phala x Streamr: Powering Real-Time, Decentralized AI Agents

2025-04-10

We’re excited to announce a new partnership between Phala Network and Streamr, a leader in decentralized, real-time data streaming. This collaboration brings together Phala’s trusted computing infrastructure and Streamr’s peer-to-peer data delivery network to enable a new class of AI agents—ones that can process live data securely, privately, and without reliance on centralized intermediaries.

Together, we’re turning the vision of real-time, decentralized AI into a reality.


About Streamr

Streamr is a decentralized network purpose-built for real-time data streaming. It uses a peer-to-peer (P2P) architecture and a publish/subscribe (pub/sub) model, allowing data producers to broadcast streams that applications and nodes can subscribe to and consume instantly.

By eliminating centralized servers, Streamr significantly reduces latency, removes single points of failure, and enhances overall resilience. Its integration with blockchain technology also supports monetization and access control through its native DATA token, creating a robust, open data economy for Web3 applications.


Why This Partnership Matters

This partnership is rooted in a shared mission: to build a more open, user-controlled web. Rather than defaulting to cloud giants like AWS or Google Cloud, Streamr chose to work with Phala to ensure the privacy and autonomy of its data ecosystem.

Phala brings its Trusted Execution Environments (TEEs) and Phat Contracts—lightweight off-chain programs—to the integration. TEEs act as secure, encrypted enclaves where AI computations can take place in complete privacy. Even the machine’s owner can’t access the data or logic inside. This creates a strong foundation for verifiable AI computation, where results can be trusted without exposing sensitive data.

By combining Streamr’s real-time data delivery with Phala’s secure compute layer, developers can build AI systems that:

  • Process live data as it happens
  • Preserve full end-to-end privacy
  • Resist censorship or control by centralized entities
  • Produce verifiable outputs that anyone can trust

A Real-Time, Privacy-Preserving AI Agent

So, what does this look like in action?

  1. An AI agent, running inside a Phala TEE, subscribes to a Streamr data stream—for example, real-time weather sensor data.
  1. The stream delivers live inputs directly to the secure enclave, where the AI model processes the data.
  1. The resulting insights—such as a weather forecast—are published back to Streamr as a new stream, accessible to others across the network.

Throughout this process, no raw data ever leaves the secure environment, and no centralized provider is involved. The computation is private, the results are verifiable, and the system remains fully decentralized. Best of all, it happens in real time—enabling AI that adapts continuously as new data arrives.


The Bigger Picture

This isn’t just a technical integration—it’s the foundation for a new generation of decentralized applications. Imagine:

  • A financial trading AI that analyzes live market data and executes strategies without revealing its logic
  • A smart city network where local sensors can process data without sending anything to a centralized cloud
  • A global supply chain monitoring system that works across companies, without requiring mutual trust in a single authority

With Phala and Streamr, these are no longer theoretical ideas—they’re practical, buildable solutions.


A Shared Vision for the Future

This partnership showcases what’s possible when decentralized infrastructure layers work together. Streamr removes bottlenecks in real-time data sharing. Phala ensures that AI computations remain private, secure, and verifiable. Together, we unlock new opportunities for developers to build AI agents that are not just innovative, but also aligned with the values of Web3—privacy, transparency, and decentralization.

About Phala

Phala Network is a decentralized cloud that offers secure and scalable computing for Web3.

With Phat Contracts, an innovative programming model enabling trustless off-chain computation, developers can create new Web3 use cases.

Get the latest Phala Content Straight To Your Inbox.