Skip to content

JiwaniZakir/Partnerships_OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Partnerships OS

Partnerships OS

Enterprise partnership intelligence powered by knowledge graphs, voice AI, and automated research.

TypeScript Next.js Neo4j Fastify License: MIT

GitHub stars GitHub forks


Getting Started Β· Architecture Β· Features Β· Contributing


Overview

Partnerships OS is a three-tier intelligence platform that transforms contacts and partnerships into a richly researched, deeply connected knowledge graph. It combines a Neo4j graph database for relationship mapping, a voice-first AI agent for hands-free data capture, and a Notion-synced CRM β€” enabling teams to build, track, and leverage their collective network with unprecedented depth.


✨ Features

  • Knowledge Graph Engine β€” Neo4j-powered relationship mapping with typed edges capturing strength, context, and history across contacts, organizations, and interactions
  • Voice-First AI Agent β€” Mobile voice interface (Deepgram STT + ElevenLabs TTS + Claude reasoning) supporting contact intake, network queries, interaction logging, and outreach recommendations
  • Automated Research Pipeline β€” BullMQ background jobs that enrich contacts via Tavily web research, Claude-powered synthesis, pgvector embeddings, and Neo4j graph inference
  • Interactive Graph Visualization β€” D3.js force-directed network explorer with filters, community detection, and path-finding between any two nodes
  • Notion Bi-Directional Sync β€” Real-time mirroring of contacts, interactions, and pipeline state to structured Notion databases with per-member views
  • RAG-Powered Search β€” Hybrid semantic search combining pgvector embeddings, Neo4j graph traversal, and full-text search with Claude-generated natural language answers
  • AI Discovery Engine β€” Event planning, gap analysis, and warm intro pathfinding powered by graph analysis and LLM reasoning

πŸ—οΈ Architecture

graph TD
    subgraph "Mobile Β· Expo SDK 52"
        M1[Voice Agent] --> M2[Contact Intake]
        M1 --> M3[Network Query]
        M1 --> M4[Interaction Logging]
    end

    subgraph "Web Dashboard Β· Next.js 15"
        W1[D3.js Graph Explorer] --> W2[Contact Profiles]
        W3[Pipeline Views] --> W4[Analytics]
        W5[Admin Console]
    end

    subgraph "API Β· Fastify 5"
        A1[Auth Β· Google OAuth + JWT]
        A2[Contact CRUD]
        A3[Research Pipeline]
        A4[Graph Intelligence]
        A5[Voice Agent Handler]
        A6[Notion Sync Engine]
    end

    subgraph "Data Layer"
        D1[(PostgreSQL + pgvector)]
        D2[(Neo4j Knowledge Graph)]
        D3[(Redis + BullMQ)]
    end

    subgraph "External Services"
        E1[Claude API]
        E2[Notion API]
        E3[Tavily Research]
        E4[Deepgram STT]
        E5[ElevenLabs TTS]
    end

    M1 & M2 & M3 & M4 --> A5
    W1 & W2 & W3 & W4 & W5 --> A2 & A4
    A2 --> D1
    A4 --> D2
    A3 --> D3
    A3 --> E1 & E3
    A5 --> E1 & E4 & E5
    A6 --> E2
Loading

πŸ› οΈ Tech Stack

Monorepo

Turborepo pnpm

Backend

Fastify Prisma Zod

Databases

PostgreSQL Neo4j Redis

AI / Voice

Claude OpenAI Deepgram

Web

Next.js Tailwind CSS D3.js

Mobile

React Native Expo


πŸ“‚ Project Structure

partnerships-os/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ api/                     # Fastify 5 backend
β”‚   β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”‚   β”œβ”€β”€ auth/            # Google OAuth + JWT + domain guard
β”‚   β”‚   β”‚   β”œβ”€β”€ contacts/        # Contact CRUD + research trigger
β”‚   β”‚   β”‚   β”œβ”€β”€ interactions/    # Interaction logging
β”‚   β”‚   β”‚   β”œβ”€β”€ members/         # Internal team management
β”‚   β”‚   β”‚   β”œβ”€β”€ graph/           # Neo4j ops, RAG search, discovery
β”‚   β”‚   β”‚   β”œβ”€β”€ research/        # AI enrichment pipeline + enrichers
β”‚   β”‚   β”‚   β”œβ”€β”€ voice/           # Voice agent orchestrator + handlers
β”‚   β”‚   β”‚   β”œβ”€β”€ notion/          # Bi-directional sync engine
β”‚   β”‚   β”‚   β”œβ”€β”€ jobs/            # BullMQ workers + cron
β”‚   β”‚   β”‚   └── config/          # Env, DB connections, approved members
β”‚   β”‚   β”œβ”€β”€ prisma/              # Schema + migrations
β”‚   β”‚   └── tests/
β”‚   β”œβ”€β”€ web/                     # Next.js 15 dashboard
β”‚   β”‚   └── src/
β”‚   β”‚       β”œβ”€β”€ app/             # App Router (dashboard, graph, contacts, discover)
β”‚   β”‚       β”œβ”€β”€ components/      # shadcn/ui, D3 graph, charts
β”‚   β”‚       β”œβ”€β”€ hooks/
β”‚   β”‚       └── lib/             # API client, auth
β”‚   └── mobile/                  # Expo voice-first app
β”‚       β”œβ”€β”€ app/                 # Expo Router screens
β”‚       β”œβ”€β”€ components/          # VoiceButton, Waveform, Transcript
β”‚       β”œβ”€β”€ services/            # Voice WebSocket, API, auth
β”‚       └── stores/              # Zustand state
β”œβ”€β”€ packages/
β”‚   └── shared/                  # TypeScript types + Zod schemas
β”œβ”€β”€ scripts/                     # Seed, migrations, Notion setup
β”œβ”€β”€ docker-compose.yml           # PostgreSQL + pgvector, Neo4j, Redis
β”œβ”€β”€ turbo.json
└── pnpm-workspace.yaml

πŸš€ Quick Start

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • Docker (for PostgreSQL, Neo4j, Redis)

Installation

# Clone the repository
git clone https://github.com/JiwaniZakir/Partnerships_OS.git
cd Partnerships_OS

# Install dependencies
pnpm install

# Start infrastructure (PostgreSQL + pgvector, Neo4j, Redis)
docker compose up -d

# Configure environment
cp .env.example .env
# Add your API keys (Anthropic, OpenAI, Deepgram, Tavily, Notion, Google OAuth)

# Run database migrations
pnpm db:migrate
pnpm neo4j:migrate

# Seed with sample data
pnpm db:seed

# Start all apps in development
pnpm dev

Services

Service URL
API Server http://localhost:3001
Web Dashboard http://localhost:3000
Neo4j Browser http://localhost:7474
Mobile (Expo) npx expo start

πŸ“‡ Data Model

PostgreSQL (Prisma)

Model Purpose
Member Internal team members authenticated via Google OAuth
Contact External network contacts with AI research profiles + embeddings
Organization Companies, VC firms, universities, nonprofits
Interaction Meeting notes, calls, emails with AI-generated summaries
AuditLog Full operation audit trail for compliance

Neo4j Graph

(:Contact)-[:WORKS_AT {title, since}]->(:Organization)
(:Contact)-[:KNOWS {context, strength}]->(:Contact)
(:Member)-[:ONBOARDED {date, context}]->(:Contact)
(:Member)-[:HAD_INTERACTION {type, date}]->(:Contact)
(:Contact)-[:TAGGED_AS]->(:Tag)
(:Contact)-[:IN_GENRE]->(:Genre)
(:Organization)-[:PARTNERED_WITH]->(:Organization)

🀝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines on how to get started.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Built by Zakir Jiwani

About

Enterprise partnership intelligence platform. Neo4j knowledge graph, voice-first AI agent, Notion-synced CRM.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages