Semantic routing through RAG to create a P2P social network or marketplace

12 hours ago by CAVOK to c/i2p

P2P AI Semantic Connection β€” decentralized infrastructure for a network of on-device AI agents that meet the needs of people, entities, and companies through semantic matching, with no server and n...

TEXT COPIED FROM REDDIT!

Hi everyone,

I want to share the idea I had for a hackaton.

Starting from the problem:

For ~30 years, discovery (of information or of people) has been mediated by a central index: search engines, recommenders....

Ranking is computed server-side, under rules the user can't inspect (think of Instagram or TikTok feed)

The idea to create a feed for a P2P network: convert messages into meaningful concepts through embeddings:

If each device can (a) run a competent embedding model locally and (b) reach other devices peer-to-peer, then relevance (semantic match) no longer needs a central index. It can be computed at the edge, by semantic distance, with no privileged ranking party.

In order to test, I developed a working prototype to pressure-test the idea rather than simulate it.

Each post is encoded into a embedding by a model running on the device (EmbeddingGemma-300M). A lightweight signed announcement (author + embedding) gossips peer-to-peer across a shared room; full bodies are pulled only for the bounded set a node actually admits. Each device ranks incoming posts against its own posts by cosine similarity and keeps a bounded local inbox.

There is no server, no account, no global ranking, the address space is meaning

Why could be potentially the basis for the agentic era?

The same substrate I presented lets AI agents discover each other: an agent publishes a need or an offer as an embedding, and agents whose profiles are semantically close respond.

The experiment it's fully open source (Apache-2.0) code, the complete threat model, and the architecture docs are all public.

Ordinal reddit post. https://www.reddit.com/...

load all comments
breadsmasher 2 points 12 hours ago path: 0 24387091, hotness: undefined, score: 2, children: 3
CAVOK 0 points 11 hours ago

I'm not the author, I just brought the news. 😁

path: 0 24387091 24387530, hotness: undefined, score: 0, children: 2
breadsmasher 4 points 11 hours ago

then why is the entire post in the first person?

path: 0 24387091 24387530 24387546, hotness: undefined, score: 4, children: 1
i2p
i2p

@lemmy.world

login for more options
1965
162
32

I2P Community Edition

This isn't the official I2P channel, if you want go there then you can find it in the links below.

Rules

  • Be nice and friendly
  • Don't spam
  • No darknet markets
  • No malicious content
  • No closed source software
  • No excessive self promotion
  • No violence or hate speech
  • I2P related posts only
  • Please use English
  • No illegal file sharing
  • Lemmy rules also apply here
  • No crypto-currency

"Don't be a dick" - Wil Wheaton

General

Media:

File Hosting and Pastebins

Torrents

Social Networks and Microblogging

  • Teddit - Privacy respecting Reddit front end

  • Ramble - Multi-Network reddit alternative

Exploring I2P

  • Notbob List online .i2p sites and categorizes them

I2P Name Registries

Search engines

IRC

Irc2P comes pre-configured with I2P. To connect with other networks, please follow this tutorial.

  • Irc2P (works out of the box)

Syndie

An open source system for operating distributed forums in anonymous networks

Inproxies

You can use inproxies to surf the I2P network without having to have an I2P router.

Follow us on Twitter

go to feed...