# PipesHub

> Self-hosted enterprise search and agent context layer with permission-aware answers and block citations

- Category: Retrieval & Knowledge (RAG) / RAG Frameworks & Platforms
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/pipeshub-ai/pipeshub-ai
- Website: https://www.pipeshub.com
- Canonical page: https://ai-tldr.dev/tools/pipeshub/

## In short

PipesHub is an open-source workplace AI platform that connects the knowledge scattered across a company's business systems to AI applications. It sits in the RAG Frameworks & Platforms category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Python and licensed Apache-2.0. To get started: run the one-command installer.

## Overview

PipesHub is an open-source workplace AI platform that connects the knowledge scattered across a company's business systems to AI applications. It ships 50+ enterprise connectors — Slack, Google Drive, GitHub, Microsoft 365, Notion and others — with both real-time and scheduled indexing, and puts a single search and question-answering layer over all of them. The same index can be exposed to your own agents, workflows and MCP clients rather than only to PipesHub's own UI.

Two properties drive its design. Answers are explainable: responses carry precise block-level citations back to the source document, so a user can check the passage a claim came from. And retrieval is permission-aware: PipesHub enforces source-level access controls, so each person only sees results they were already authorised to see in the originating system. Retrieval itself is graph-backed, capturing relationships across enterprise data rather than treating every chunk independently.

The project is Apache-2.0 and designed to be self-hosted: you bring your own LLM provider and deploy inside your own VPC, so documents never leave your infrastructure. It runs as a Docker Compose stack driven by an interactive installer, and publishes Node.js, Python and Go SDKs plus an MCP package for programmatic access.

## What it does

- 50+ enterprise connectors with real-time and scheduled indexing out of the box
- Permission-aware search that enforces source-level access controls per user
- Grounded answers with precise block citations back to the original documents
- Knowledge-graph-backed retrieval that captures relationships across enterprise data
- Bring-your-own-model and fully self-hostable — any LLM provider, deployed in your own VPC
- No-code visual agent builder, artifacts and code execution in a sandbox, plus APIs, SDKs and MCP tools

## Getting started

PipesHub runs as a Docker Compose stack. You need Docker with Compose v2; the interactive installer generates secrets and a .env file, picks a slim or full deployment, pulls images and waits for the stack to become healthy.

1. Run the one-command installer

   This downloads the deployment files for the latest release into ./pipeshub and launches the interactive installer. When it finishes, open http://localhost:3000.

```bash
curl -fsSL https://get.pipeshub.com/install | bash
```

2. Or inspect the script before running it

   If you would rather read the installer first, download it, review it, and then run it yourself.

```bash
curl -fsSL https://get.pipeshub.com/install -o pipeshub-install.sh
less pipeshub-install.sh        # review it
bash pipeshub-install.sh
```

3. Install from a cloned repository

   To build from source, contribute, or pin the installer to your own checkout, clone the repo and run the same installer from the repo root. Building local images from source requires this path (./install.sh --build); the one-command installer always uses prebuilt images.

```bash
git clone https://github.com/pipeshub-ai/pipeshub-ai.git
cd pipeshub-ai
./install.sh
```

4. Useful installer flags

   Pass -y or --yes to accept all defaults for CI, --version TAG to pin a specific image tag, --reconfigure to re-run the wizard and overwrite an existing .env, and --print-env-only to write .env and print the compose command without starting containers. If you deploy on a cloud server, terminate TLS in front of PipesHub — browsers block some requests over plain HTTP, which shows up as a white screen.

```bash
./install.sh -y --version 0.7.0
```

5. Connect it to your code

   Once the stack is up, connect your business systems from the dashboard, then reach the same context layer programmatically through the published SDKs or the MCP package.

```bash
npm install @pipeshub-ai/sdk
pip install pipeshub-sdk
npm install @pipeshub-ai/mcp
```

## When to use it

- Giving a company one search box over Slack, Drive, GitHub, Microsoft 365 and Notion without copying documents into a third-party cloud
- Answering employee questions with citations a reviewer can open and check, instead of an unsourced summary
- Supplying your own agents and MCP clients with permission-filtered enterprise context through one API
- Running enterprise RAG entirely inside your own VPC when data residency or confidentiality rules forbid a hosted vendor
