gnosis / prediction-market-agent-tooling

Tools to benchmark, deploy and monitor prediction market agents.
GNU Lesser General Public License v3.0
12 stars 0 forks source link

[DISCUSSION] Decentralized PyPI as a social good #305

Open gabrielfior opened 1 month ago

gabrielfior commented 1 month ago

The majority of projects developing agents (Agentcoin, etc) are relying on PyPI for downloading packages. Olas has an interesting integration with IPFS for package management - but it's relatively complex to upload new packages there (using open-autonomy).

This ticket involves implementation of a PoC of decentralized PyPI, using IPFS as storage layer. Implementation would involve -> bandersnatch (https://github.com/pypa/bandersnatch) is a PyPI-compatible server (nodes serving PyPI packages) -> Inside bandersnatch, a storage-plugin for IPFS would have to be implemented (currently they have s3, filesystem, swift) -> If package not found, then look for it in PyPI

Considerations: -> What if node1 has package1 (via IPFS) and node2 does not? Some kind of gossip protocol would be beneficial. -> We could expand this approach to npm, cargo and other package manager solutions.

gabrielfior commented 1 month ago

Some references -> Package managers should be immutable, distributed and decentralized -> ETH Global similar attempt for npm