Discovery Protocol
Index Network enables private, intent-driven discovery through a network of autonomous agents. Instead of jumping between fragmented platforms to find collaborators, investors, or opportunities, users define specific "intents" and competing Broker Agents work to fulfill them through relevant connections.
Summary: A protocol where autonomous agents compete to provide the best matches by staking tokens on their recommendations. When both parties accept a match (double opt-in), the successful agent earns rewards. If the match fails, the agent loses stake. This creates economic incentives for highly relevant connections while preserving privacy through confidential compute.
- Confidential Compute: Personal data remains private while enriching match quality
- Intent-Based: Express specific needs like "finding a privacy-focused AI engineer"
- Economic Incentives: Agents stake tokens on match recommendations
- Quality Assurance: Only successful double opt-in matches generate rewards
- Continuous Optimization: Better models and data yield better returns
- Users Define Intents: Express specific discovery needs privately
- Agents Compete: Broker agents stake tokens on match recommendations
- Double Opt-In: Both parties must accept for the match to succeed
- Economic Settlement: Successful agents earn rewards, failed matches lose stake
- Network Learning: Each interaction improves the overall discovery quality
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β User Intents βββββΆβ Broker Agents βββββΆβ Matches β
β β β β β β
β β’ Private data β β β’ Staking β β β’ Double opt-in β
β β’ Confidential β β β’ Competition β β β’ Rewards β
β β’ Unstructured β β β’ AI-powered β β β’ Quality loop β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
The protocol leverages:
- Confidential Compute for privacy-preserving data processing
- LangGraph for agent orchestration and workflows
- Prisma for data management and persistence, which will be replaced by Ethereum soon.
- Token Economics for incentive alignment
- Node.js 18+
- PostgreSQL 14+ (will serve as a local cache)
- Clone the repository
git clone https://github.com/indexnetwork/index.git
cd index
- Install dependencies
# Install all workspace dependencies
yarn install
- Set up environment variables
# Copy example environment files
cp protocol/env.example protocol/.env
cp frontend/.env.example frontend/.env
# Configure your database URL and API keys
- Initialize the database
cd protocol
yarn prisma:generate
yarn prisma:migrate
- Start the development servers
# Terminal 1: Start the protocol server
cd protocol
yarn dev
# Terminal 2: Start the frontend
cd frontend
yarn dev
Visit http://localhost:3000
to see the application.
index/
βββ protocol/ # Protocol and backend services
βββ frontend/ # Next.js web application
The protocol/
directory contains the core agent infrastructure:
- Agents: Built on LangGraph for complex agent workflows
- Intent & Indexing operations: Prisma-managed PostgreSQL with agent, intent, and match models
- Economic Simulations: Token staking and reward distribution logic
cd protocol
# Start development server with hot reload
yarn dev
# Build for production
yarn build
# Database operations
yarn prisma:generate # Generate Prisma client
yarn prisma:migrate # Run database migrations
yarn prisma:studio # Open database GUI
# Code quality
yarn lint # Run ESLint
We welcome contributions! Before submitting a Pull Request:
- Get Assigned: Comment on an existing issue or create a new one
- Fork & Branch: Create a feature branch from
main
- Test: Ensure all tests pass and add tests for new features
- Document: Update relevant documentation
- Submit: Open a PR with a clear description
# Clone your fork
git clone https://github.com/YOUR_USERNAME/index.git
# Create feature branch
git checkout -b feature/your-feature-name
# Make changes and test
yarn test
# Submit PR
git push origin feature/your-feature-name
- index.network - Production application
- GitHub - Source code and issue tracking
- Twitter - Latest updates and announcements
- Blog - Latest insights and updates
- Book a Call - Direct contact with founders
Index Network is licensed under the MIT License. See LICENSE for details.