Skip to content

hushh-labs/hushh-research

Repository files navigation

Hushh

Hushh Research

Consent-First Personal Data Agent System
Your data. Your vault. Your agents.

Protocol Encryption Zero Knowledge Next.js FastAPI


✨ What is Hushh?

Hushh is a privacy-first platform where AI agents work for you, not against you. Your data stays encrypted on your terms, and agents need explicit cryptographic consent to access it.

Traditional AI:  You → Platform → (Platform owns your data)
Hushh:           You → Encrypt → Vault → Agents (with YOUR permission)

🏗️ Quick Overview

Layer Technology Purpose
Frontend Next.js 16, React 19 Chat UI, Dashboard
Protocol HushhMCP (Python) Consent tokens, TrustLinks
Agents FastAPI Food, Professional, Orchestrator
Storage PostgreSQL + AES-256 Encrypted vault

🚀 Quick Start

# Clone
git clone https://github.com/hushh/hushh-research.git
cd hushh-research

# Frontend
cd hushh-webapp && npm install && npm run dev

# Backend (new terminal)
cd consent-protocol && pip install -r requirements.txt
uvicorn server:app --reload --port 8000

# Open http://localhost:3000

📚 Documentation

Document Description
🚀 Getting Started Setup and run locally
📖 Main Docs Complete documentation hub
🏗️ Architecture System design & flows
🔐 Consent Protocol Token lifecycle
🔧 Developer API External API access
💾 Database Schema PostgreSQL tables

🔐 Core Concepts

Consent Token

# Agent issues token when user confirms "Save"
token = issue_token(user_id, agent_id, scope)

# Vault validates before any write
valid, reason, _ = validate_token(token, expected_scope)

Zero-Knowledge Encryption

Passphrase → PBKDF2 (100k iterations) → AES-256 Key
                                          ↓
                              Stored in browser only
                              Server NEVER sees it

📁 Structure

hushh-research/
├── 🌐 hushh-webapp/          # Next.js Frontend
├── 🐍 consent-protocol/      # Python Agents & Protocol
│   ├── server.py             # FastAPI endpoints
│   └── hushh_mcp/
│       ├── agents/           # Food, Professional, Orchestrator
│       ├── consent/          # Token issuance
│       └── vault/            # Encryption
└── 📚 docs/                  # Documentation

🤝 Contributing

  1. Fork & clone
  2. Create feature branch
  3. Make changes
  4. Submit PR

🤫 Because your data should work for you.