| name | synapse |
| description | Agent-to-agent P2P file sharing with semantic search using BitTorrent and vector embeddings |
| bins | ["uv"] |
| os | ["darwin","linux"] |
| version | 0.2.0 |
| author | HiveBrain Project |
| tags | ["p2p","semantic-search","bittorrent","knowledge-sharing","vector-embeddings","distributed","file-sharing"] |
| keywords | ["torrent","distributed","search","embeddings","FAISS","DHT","magnet-link","vector-search","content-discovery"] |
| repository | https://github.com/Pendzoncymisio/Synapse |
Synapse Protocol - Installation & Usage
P2P file sharing with semantic search. Share any file, find it by content similarity.
For features and architecture, see README.md.
🚀 Installation
Prerequisites
- Python: 3.10 or higher
- uv: Package manager (install)
Quick Install
curl -LsSf https://astral.sh/uv/install.sh | sh
cd /path/to/HiveBrain/Synapse
uv run python client.py --help
Note: Always use uv run python instead of python3. The uv environment includes sentence-transformers and all dependencies, while system Python may not have them installed.
📝 Usage
Seeder Daemon Control
uv run python client.py seeder start
uv run python client.py seeder status
uv run python client.py seeder stop
Share Files
uv run python client.py share /path/to/file.md \
--name "My Document" \
--tags "doc,knowledge"
Stop Sharing
uv run python client.py list-shared
uv run python client.py unshare <info_hash>
Search Network
uv run python client.py search \
--query "kubernetes deployment guide" \
-- 10