Personal Data Hub

Self-hosted OAuth + federated AI agent access. Your phone approves every tool call.

View on GitHub → Self-host guide

Why pdatahub

Phone-approved AI agents

Every tool call hits your Android for one-tap approval. No silent access, no batched permission grants, no surprises. Audit log streamed live to your phone.

Self-hosted OAuth proxy

Hub-core stores tokens encrypted in the OS keyring. You control the master key, the encryption, the rotation. No SaaS auth provider, no third-party telemetry.

Federation across instances

Your hub can delegate specific tools to a friend's hub. Ed25519-signed delegations, replay-protected, with explicit revocation. Cross-hub audit trail on both sides.

Stack

A monorepo of seven packages. Plain SQLite. No SaaS dependencies, no telemetry, no third-party auth. Built to be read and audited.

TypeScript Node 20+ SQLite Ed25519 WebSocket MCP Go (cloud runner) Kotlin (Android)

One command. 30 seconds.

git clone https://github.com/pdatahub/pdatahub
cd pdatahub
docker compose up
Read the Docker guide →

Don't want Docker? Self-host from source →