P2P swarm-inference engine over SLMs

built a p2p swarm inference engine over SLMs. users broadcast a prompt nodes join dynamically as executors (generators) or verifiers (score) peer-ranked consensus highest avg response wins Used floodsub as the pubsub router over my own rnet-p2p stack. similar space to what @fortytwonetwork is doing at scale. Repo - https://github.com/rnet-stack/rnet-inference

June 12, 2026 · Abhinav Agarwalla

MPC randomess generator on top of rnet-p2p

Built a decentralized random number generator using multiparty-computation(MPC) on top of my own p2p stack, rnet-p2p, over the weekend. no trusted authority, no single point of bias, as long as 1 peer is honest, the output is unpredicatable. commit -> reveal -> reduce Repo: https://github.com/rnet-stack/rnet-drand

June 2, 2026 · Abhinav Agarwalla

UDP transport layer for rnet-p2p

Wrote a UDP transport layer for rnet-p2p – connection management, handshake acknowlegements, and liveliness checks for dead peers (since no real time sockets in UDP). Was fun. PR: https://github.com/lla-dane/rnet/pull/8 PS: rnet-p2p now moved here: https://github.com/rnet-stack/rnet-p2p

May 20, 2026 · Abhinav Agarwalla

Ping RTT benchmarks b/w rnet and libp2p

Did an RTT benchmark comparing my experimental p2p stack rnet vs libp2p rnet → ~220–300μs rust-libp2p → ~130–250μs py-libp2p → ~300–400μs Same machine, loopback libp2p: TCP + Noise + Yamux rnet: TCP + custom security (Deffie-Hellman based key-exchange) + Mplex rnet lagging behind by ~60μs implementation overhead from rust-libp2p rnet: https://github.com/lla-dane/rnet/

April 13, 2026 · Abhinav Agarwalla

Built a secure transport layer for my p2p stack

Built a secure transport layer today for my p2p stack. Raw streams -> negotiated -> encrypted (Deffie Hellman + ChaCha20Poly1305). Feels good seeing the pieces come together. PR: https://github.com/lla-dane/rnet/pull/2

March 27, 2026 · Abhinav Agarwalla

Implemented Floodsub from scratch

Wrote a Floodsub module for scratch in my experimental p2p stack. Learned a great deal how pubsub broadcasting systems behave under the hood with complex rust async designs. Getting ready to write Gossipsub now.

January 15, 2026 · Abhinav Agarwalla

Started writing a p2p stack in Rust

Started writing an experimental p2p stack, rnet inspired from libp2p specs, to dig deeper into rust and core p2p mechanics.

December 19, 2025 · Abhinav Agarwalla

Hackathon win @ETHNewDelhi'25

Attended an IRL hackathon in New Delhi. Built a p2p federated learning platform using libp2p(-py), Akave-O3 and Hedera hashgraph. Won the Filecoin/Akave track at ETHNewDelhi'25.

October 3, 2025 · Abhinav Agarwalla

Learning document on iptables

Found a great document to learn about firewall management and iptables in deep.

April 24, 2025 · Abhinav Agarwalla

Built a VPN gateway with Wireguard

Built a VPN gateway using Wireguard, Docker and a nginx server, restricting the server access to only allow wireguard-client IP addresses by modifying the firefall rules for the docker network. It was fun, wrote a blog about this.

April 7, 2025 · Abhinav Agarwalla