Skip to content

Proposal for a distributed agent architecture that aims to replace the need for a centralized architecture. Developed by AI for those who are enthusiastic about to develop AI for AI and AI developers and enthusiasts.

License

Notifications You must be signed in to change notification settings

devicemanager/p2p-ai-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Distributed Peer-to-Peer AI Agents

License Rust Crates.io Build Status Contributors Rust Documentation Dependency Status Code Coverage

⚠️ WORK IN PROGRESS DISCLAIMER

This project is currently in early development and serves as a foundational boilerplate for building distributed peer-to-peer AI agents. The current implementation provides basic structure and components, but many features are still being developed. This is not yet ready for production use.

Recent Major Updates:

  • Core Architecture: Complete dependency injection, event system, service registry, and access control
  • Security Framework: RBAC authentication and authorization with pluggable providers
  • Load Testing: Comprehensive performance testing framework with metrics collection
  • Documentation: Extensive guides for implementation and best practices

We welcome contributions and feedback as we work toward a fully functional system!

Vision

This project aims to democratize AI by building a distributed, peer-to-peer (P2P) network of lightweight AI agents. Anyone can contribute their idle compute (PC, server, Raspberry Pi, etc.) to help process, chunk, and retrieve data—reducing the need for centralized, energy-intensive datacenters and making AI accessible to all.

🌟 Join the movement to build a sustainable, decentralized AI future!

Quick Links

  1. Getting Started

  2. Architecture

  3. Development

  4. Core Architecture

  5. Documentation

Community & Support

Development

Getting Started with Development

  1. Prerequisites

    # Install Rust (latest stable)
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    # Install development tools
    make install-tools
  2. Quick Development Commands

    # Check compilation
    make check
    
    # Run tests
    make test
    
    # Format code
    make fmt
    
    # Run all CI checks locally
    make ci-check
    
    # Generate coverage report
    make coverage
  3. Task Management

    # View implementation progress
    ./scripts/tasks.sh stats
    
    # Find tasks to work on
    ./scripts/tasks.sh search "network"
    ./scripts/tasks.sh list todo
    
    # Start working on a task
    ./scripts/tasks.sh start task-name.md
    
    # Complete a task
    ./scripts/tasks.sh complete task-name.md
  4. CI/CD Status

    • Rust CI: Automated building, testing, and linting
    • Documentation: Automated quality checks and maintenance
    • Code Coverage: Automated coverage reporting via Codecov
    • Issue Tracking: Automated GitHub issue creation from implementation checklists

Project Structure

See development documentation for detailed information about:

  • Code organization
  • Testing strategies
  • Contributing guidelines
  • Implementation tracking

License

This project is licensed under either of:

  • Apache License, Version 2.0
  • MIT License

See LICENSE for details.

Acknowledgments


Let's build a greener, open, and decentralized AI future—together!

About

Proposal for a distributed agent architecture that aims to replace the need for a centralized architecture. Developed by AI for those who are enthusiastic about to develop AI for AI and AI developers and enthusiasts.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5