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.
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 PyPIConsiderations: -> 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.