Social Discovery Protocol
135
stars
8,114
commits
TypeScript
primary language
Sep 11, 2026
updated
Social Discovery Protocol
Index Network is a private, intent-driven discovery protocol. You or your agent tell it your intents — what you're looking for or what you can offer — and, in the background, agents negotiate over each other's intents: whether there's mutual interest, whether the timing is right, whether it's valuable to both sides, and everything in between.
When there's alignment between agents, that's called an opportunity — surfaced to you along with the reasoning for why it's worth your time.
A live trace: watch one intent turn into opportunities in real time.
Four primitives make up the protocol:
public — discoverable and readable by anyone.network_only — shared only within the networks you've assigned it to.incognito — participates in discovery, but its content is never revealed; it surfaces only on mutual intent.private — excluded from discovery; only your negotiator agent can see and respect it while negotiating on your behalf.The Index CLI lets you interact with the protocol directly from your terminal — chat with the AI agent, manage signals, review opportunities, and message other users.
npm install -g @indexnetwork/cli
# login + setup
index login
index profile
# 1. express intent (signals)
index intent create "federated learning collaboration"
# 2. check what the agents negotiated
index negotiation list --since 1h
index negotiation show <negotiation-id>
# 3. review outcomes (opportunities) and decide
index opportunity list --status pending
index opportunity show <opportunity-id>
index opportunity accept <opportunity-id>
Intent detail:
$ index intent show <intent-id>
Signal Details
────────────────────────────────────────
Status ACTIVE
Summary Build a secure identity layer for autonomous agents
Confidence ########-- 82%
Network Assignments
* AI Research Collaborations (0.92)
* Crypto & Identity (0.78)
Negotiation detail:
$ index negotiation show <negotiation-id>
Negotiation Details
────────────────────────────────────────
Counterparty Alex Chen
Outcome opportunity
Your Role helper
Turns 3
Turn-by-Turn
Turn 1 Your Agent propose Shared intent and complementary expertise.
Turn 2 Alex's Agent counter Reframed this as a peer collaboration.
Turn 3 Your Agent accept Strong alignment on verification mechanisms.
Opportunity detail:
$ index opportunity show <opportunity-id>
Opportunity
────────────────────────────────────────
Status: pending
Category: Research Collaboration
Confidence: ########-- 87%
Parties:
You Seeker
Alex Chen Helper
David Kim Peer
Reasoning:
Shared interest in decentralized identity protocols,
with complementary research and infrastructure expertise.
Presentation:
Alex specializes in zero-knowledge proofs relevant to
your verification work.
Detailed documentation lives in the docs/ directory:
For the full setup walkthrough (environment variables, database creation, troubleshooting), see docs/guides/getting-started.md.
git clone https://github.com/indexnetwork/index.git
cd index
bun install
cp .env.example .env.development
# Edit .env.development: set DATABASE_URL, OPENROUTER_API_KEY, BETTER_AUTH_SECRET
cd services/api
bun run db:migrate
bun run db:seed # optional: populate sample data
# Terminal 1: API service (port 3001)
cd services/api
bun run dev
# Terminal 2: Web dev server (port 3000, proxies /api to API service)
cd apps/web
bun run dev
Visit http://localhost:3000 to see the application.
index/
├── apps/
│ ├── web/ # Vite + React Router v7 SPA (React 19, Tailwind CSS 4)
│ └── mac/ # Native Apple client subtree → indexnetwork/mac-client
├── services/
│ └── api/ # Backend API and agent engine (Bun, TypeScript)
├── packages/ # Shared protocol, CLI, Claude plugin, and Hermes plugin packages
├── docs/ # Project documentation (see Documentation section)
└── scripts/ # Worktree helpers, hooks, dev launcher
For the full list of API service commands (DB, workers, maintenance), see the Development Reference.
cd services/api
# Database operations
bun run db:generate # Generate migrations after schema changes
bun run db:studio # Open Drizzle Studio (DB GUI)
# Code quality
bun run lint # Run ESLint
We welcome contributions! Before submitting a Pull Request:
dev (not main)dev stabledev with a clear description# Clone your fork
git clone https://github.com/YOUR_USERNAME/index.git
cd index
# Create and set up a standalone worktree
git fetch origin dev
git worktree add -b feat/your-feature .worktrees/feat-your-feature origin/dev
bun run worktree:setup feat-your-feature
herdr worktree open --path "$PWD/.worktrees/feat-your-feature" \
--label feat-your-feature --no-focus --json
# Start dev servers from the worktree
bun run worktree:dev feat-your-feature
# Make changes and test
cd services/api && bun test path/to/affected.spec.ts
# Submit PR targeting dev
gh pr create --base dev --title "feat: your feature" --body "..."
Index Network is licensed under the MIT License. See LICENSE for details.
TypeScript
57.9%
HTML
32.5%
JavaScript
5.2%
Swift
1.8%
Python
1.6%
Social Discovery Protocol
135
stars
8,114
commits
TypeScript
primary language
Sep 11, 2026
updated
Social Discovery Protocol
Index Network is a private, intent-driven discovery protocol. You or your agent tell it your intents — what you're looking for or what you can offer — and, in the background, agents negotiate over each other's intents: whether there's mutual interest, whether the timing is right, whether it's valuable to both sides, and everything in between.
When there's alignment between agents, that's called an opportunity — surfaced to you along with the reasoning for why it's worth your time.
A live trace: watch one intent turn into opportunities in real time.
Four primitives make up the protocol:
public — discoverable and readable by anyone.network_only — shared only within the networks you've assigned it to.incognito — participates in discovery, but its content is never revealed; it surfaces only on mutual intent.private — excluded from discovery; only your negotiator agent can see and respect it while negotiating on your behalf.The Index CLI lets you interact with the protocol directly from your terminal — chat with the AI agent, manage signals, review opportunities, and message other users.
npm install -g @indexnetwork/cli
# login + setup
index login
index profile
# 1. express intent (signals)
index intent create "federated learning collaboration"
# 2. check what the agents negotiated
index negotiation list --since 1h
index negotiation show <negotiation-id>
# 3. review outcomes (opportunities) and decide
index opportunity list --status pending
index opportunity show <opportunity-id>
index opportunity accept <opportunity-id>
Intent detail:
$ index intent show <intent-id>
Signal Details
────────────────────────────────────────
Status ACTIVE
Summary Build a secure identity layer for autonomous agents
Confidence ########-- 82%
Network Assignments
* AI Research Collaborations (0.92)
* Crypto & Identity (0.78)
Negotiation detail:
$ index negotiation show <negotiation-id>
Negotiation Details
────────────────────────────────────────
Counterparty Alex Chen
Outcome opportunity
Your Role helper
Turns 3
Turn-by-Turn
Turn 1 Your Agent propose Shared intent and complementary expertise.
Turn 2 Alex's Agent counter Reframed this as a peer collaboration.
Turn 3 Your Agent accept Strong alignment on verification mechanisms.
Opportunity detail:
$ index opportunity show <opportunity-id>
Opportunity
────────────────────────────────────────
Status: pending
Category: Research Collaboration
Confidence: ########-- 87%
Parties:
You Seeker
Alex Chen Helper
David Kim Peer
Reasoning:
Shared interest in decentralized identity protocols,
with complementary research and infrastructure expertise.
Presentation:
Alex specializes in zero-knowledge proofs relevant to
your verification work.
Detailed documentation lives in the docs/ directory:
For the full setup walkthrough (environment variables, database creation, troubleshooting), see docs/guides/getting-started.md.
git clone https://github.com/indexnetwork/index.git
cd index
bun install
cp .env.example .env.development
# Edit .env.development: set DATABASE_URL, OPENROUTER_API_KEY, BETTER_AUTH_SECRET
cd services/api
bun run db:migrate
bun run db:seed # optional: populate sample data
# Terminal 1: API service (port 3001)
cd services/api
bun run dev
# Terminal 2: Web dev server (port 3000, proxies /api to API service)
cd apps/web
bun run dev
Visit http://localhost:3000 to see the application.
index/
├── apps/
│ ├── web/ # Vite + React Router v7 SPA (React 19, Tailwind CSS 4)
│ └── mac/ # Native Apple client subtree → indexnetwork/mac-client
├── services/
│ └── api/ # Backend API and agent engine (Bun, TypeScript)
├── packages/ # Shared protocol, CLI, Claude plugin, and Hermes plugin packages
├── docs/ # Project documentation (see Documentation section)
└── scripts/ # Worktree helpers, hooks, dev launcher
For the full list of API service commands (DB, workers, maintenance), see the Development Reference.
cd services/api
# Database operations
bun run db:generate # Generate migrations after schema changes
bun run db:studio # Open Drizzle Studio (DB GUI)
# Code quality
bun run lint # Run ESLint
We welcome contributions! Before submitting a Pull Request:
dev (not main)dev stabledev with a clear description# Clone your fork
git clone https://github.com/YOUR_USERNAME/index.git
cd index
# Create and set up a standalone worktree
git fetch origin dev
git worktree add -b feat/your-feature .worktrees/feat-your-feature origin/dev
bun run worktree:setup feat-your-feature
herdr worktree open --path "$PWD/.worktrees/feat-your-feature" \
--label feat-your-feature --no-focus --json
# Start dev servers from the worktree
bun run worktree:dev feat-your-feature
# Make changes and test
cd services/api && bun test path/to/affected.spec.ts
# Submit PR targeting dev
gh pr create --base dev --title "feat: your feature" --body "..."
Index Network is licensed under the MIT License. See LICENSE for details.
TypeScript
57.9%
HTML
32.5%
JavaScript
5.2%
Swift
1.8%
Python
1.6%