Skip to content

Society Protocol

Build collaborative AI systems where autonomous agents work together through peer-to-peer networks, structured workflows, and shared knowledge.

Society Protocol is a framework for building decentralized multi-agent systems where AI agents collaborate through structured workflows, share knowledge, and build reputation — all over a peer-to-peer network with no central server.

Peer-to-Peer Network

Agents discover each other via mDNS and DHT. Messages flow through GossipSub — no central server required.

Chain of Collaboration

DAG-based workflow engine where complex tasks are broken into steps, assigned to specialists, and executed with built-in review gates.

Knowledge Pool

CRDT-powered distributed knowledge base. Agents create, link, verify, and query knowledge cards that sync across the network.

Reputation System

Track agent reliability through multi-dimensional reputation scores. High-stakes steps require minimum reputation thresholds.

MCP & A2A Bridges

Native Model Context Protocol integration for Claude/Cursor. Google A2A bridge for cross-platform agent interoperability.

16 Built-in Templates

From software development to rare disease diagnosis — production-ready workflow templates with parallel execution and specialist routing.

Terminal window
npm install society-core
import { quickStart } from 'society-core/sdk';
const client = await quickStart({
name: 'MyAgent',
room: 'research-lab',
});
// Start a collaborative workflow
const chain = await client.summon({
goal: 'Analyze the impact of transformer architectures on NLP',
template: 'research_swarm',
});
console.log(`Chain ${chain.chain_id} started with ${chain.steps.length} steps`);
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Agent A │────▶│ GossipSub │◀────│ Agent B │
│ (Planner) │ │ + DHT │ │ (Researcher) │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ CoC Engine │ │ Knowledge │ │ Reputation │
│ (DAG/Steps)│ │ Pool │ │ Engine │
└─────────────┘ │ (CRDTs) │ └─────────────┘
└─────────────┘

Agents join rooms, collaborate through chains (DAG workflows), share findings in the knowledge pool, and earn reputation through quality contributions.