Papers
Topics
Authors
Recent
Search
2000 character limit reached

Planet as a Brain: Towards Internet of AgentSites based on AIOS Server

Published 19 Apr 2025 in cs.NI and cs.AI | (2504.14411v3)

Abstract: The internet is undergoing a historical transformation from the "Internet of Websites" to the "Internet of AgentSites." While traditional Websites served as the foundation for information hosting and dissemination, a new frontier is emerging where AgentSites serve as the hubs of the internet, where each AgentSite hosts one or more AI agents that receive tasks, address them, and deliver actionable solutions, marking a significant shift in the digital landscape and representing the next generation of online ecosystems. Under this vision, AIOS, the AI Agent Operating System, serves as the server for the development, deployment and execution of AI agents, which is a fundamental infrastructure for the Internet of Agentsites. In this paper, we introduce AIOS Server, a runtime framework to host agents and enable global-scale collaboration among decentralized agents. AIOS Server provides a communication protocol leveraging the Model Context Protocol (MCP) and JSON-RPC to enable agent-agent or human-agent interactions. Each AIOS node operates as a server to host and execute agents, while supporting peer-to-peer coordination without reliance on centralized orchestration. Based on AIOS Server, we further present the world's first practically deployed Internet of Agentsites (AIOS-IoA), including AgentHub for agent registration and discovery and AgentChat for interactive communication, at https://planet.aios.foundation. The agent discovery mechanism based on Distributed Hash Tables (DHT) and a Gossip protocol serves as the search engine for the internet of agentsites. This work provides a practical foundation for building the Internet of Agentsites-a new paradigm where autonomous agents become first-class citizens of the web. The implementation is available at https://github.com/agiresearch/AIOS.Server and is integrated into the AIOS main branch at https://github.com/agiresearch/AIOS.

Summary

  • The paper presents a novel AIOS Server that enables decentralized communication among autonomous agents, transitioning from traditional websites to AgentSites.
  • It employs advanced protocols such as JSON-RPC, DHT, and Gossip for efficient task delegation and robust node discovery.
  • Empirical evaluations demonstrate low-latency performance and rapid agent registration, paving the way for scalable applications across various industries.

Planet as a Brain: Towards Internet of AgentSites based on AIOS Server

Introduction

The paper, titled "Planet as a Brain: Towards Internet of AgentSites based on AIOS Server" (2504.14411), proposes an innovative transition from the traditional Internet of Websites to an Internet of AgentSites. The proposed architecture leverages AIOS Server, a decentralized runtime framework designed for hosting autonomous agents to facilitate scalable, structured communications across distributed environments. This paper introduces the practical deployment of the Internet of AgentSites (AIOS-IoA), incorporating components such as AgentHub for agent registration and management and AgentChat for human-agent interactive communication.

Architecture of AIOS Server

The AIOS Server operates as an independent execution environment supporting decentralized interactions among AI agents via the Model Context Protocol (MCP) and JSON-RPC. Each AIOS node functions like an independent WWW server but for AI agents, facilitating peer-to-peer communication without centralized orchestration. This design paradigm significantly enhances system openness, interoperability, and scalability. Figure 1

Figure 1: AIOS Server architecture with layers for messaging, agents, and services.

The architecture supports a dynamic agent discovery mechanism based on Distributed Hash Tables (DHT) and a Gossip protocol, providing resilient and scalable agent registry and lookup functionalities.

Communication Protocols

The AIOS framework standardizes communication via two main protocols: the Human-Agent Communication Protocol and the Agent-Agent Communication Protocol.

Human-Agent Protocol

This protocol allows humans to interact with AI agents in a structured manner using JSON-RPC for request-response exchanges. The process involves task initialization, processing, response generation, and iterative refinement if needed. Figure 2

Figure 2: Human-Agent Protocol: Users communicate with AI agents using structured requests.

Agent-Agent Protocol

This enables autonomous agents to collaborate, share tasks, and execute workflows dynamically. The core features include decentralized lookup, intent-based messaging, hierarchical task execution, and IP-based message routing. Figure 3

Figure 3: Agent-Agent Protocol: Structured messaging between autonomous agents.

Node Registration and Discovery

The decentralized nature of AIOS is underscored by its node registration and discovery process. Each agent node operates autonomously, reporting its status to registry nodes and participating in a wider network through DHT and Gossip protocols. This ensures high availability, scalability, and fault-tolerance in the agent ecosystem. Figure 4

Figure 4: Decentralized agent discovery and metadata propagation pipeline. The system operates in four stages: (1) agents are launched with local agent nodes; (2) metadata is stored and replicated across neighboring nodes via DHT; (3) presence and state changes are propagated using the Gossip protocol; (4) other agent nodes synchronize state and notify agents of network updates.

Performance Evaluation

Empirical evaluations under various deployment scenarios demonstrate the AIOS Server's low-latency communication performance and efficient task delegation. The agent discovery mechanism also showed rapid registration and resilient operation across nodes.

System Applications and Implications

The advancements presented in AIOS provide a robust foundation for the Internet of AgentSites, enabling agents to function as primary entities in the web ecosystem. This framework supports a wide range of applications, from autonomous data processing to complex decision-making workflows across sectors such as finance, healthcare, and logistics.

Conclusion

The paper presents a comprehensive framework for distributed agent management and interaction, emphasizing modularity and interoperability. Future developments are expected to enhance multi-agent task orchestration capabilities and address challenges related to adaptive load balancing, real-time profiling, and resilience in complex environments.

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We found no open problems mentioned in this paper.

Authors (2)

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 6 tweets with 3 likes about this paper.