Pipestream AI

Open-source infrastructure for semantic search and document parsing.

Pipestream AI is a small group of engineers building distributed semantic search, a set of document parsers, and the protobuf and gRPC plumbing that connects them.

The work is public and licensed under Apache 2.0 or MIT. When a fix or a feature belongs in an existing project, it goes back upstream instead of into a fork. The contributions below each link to the pull request, so the claim can be read against the code.

Apache OpenNLP Apache Tika Apache Lucene Quarkus Docling gRPC

Public packages

protomolt

Protobuf toolkit and schema registry over Git: validation, compatibility, search indexing.

protomolt-search

A gRPC search engine for protobuf records: keyword, vector and hybrid queries, a web console, and an embedded mode for desktop and mobile.

protomolt-mobile-samples

Court Search, a sample iOS and Android app that runs Protomolt Search on the device: keyword and meaning search over a bundled court-opinion corpus, with no server.

turboembed

Text encoders and document analysis as native code: a C API, six hardware backends, and a KServe v2 gRPC server.

gRParse

Document parsing over gRPC: OCR and layout on CPU, NVIDIA and Intel images, plus seventeen collector services behind one protobuf Document.

distributed-search

Distributed semantic search with collaborative HNSW KNN across shards.

turbovec-grpc

A gRPC facade over the turbovec vector index: a durable shard server and a coordinator that holds a global top-k heap and streams a rising floor to shards.

quarkus-buf-grpc-generator

Quarkus Mutiny gRPC stubs generated with Buf, cross-platform.

protobuf4j

Pure-Java Protobuf toolkit that runs protoc as WebAssembly.

docling-java

A Java API for Docling, including a gRPC service client.

docling-serve

Docling document conversion over gRPC, on the ai-pipestream fork of docling-serve.

docling-grpc-examples

Runnable multi-language examples for the Docling gRPC interface.

grpc-microsoft

Microsoft Graph as typed gRPC for SharePoint sites, drives and files, with a Sync stream, a Kafka Connect source and MCP tools.

grpc-confluence

Confluence Cloud as typed gRPC: spaces, pages, comments and attachments, with a Sync stream, a Kafka Connect source and MCP tools.

grpc-integration

Shared connector core: a sync ledger, filesystem and S3 output, an OKF and WARC writer, a combined MCP server, and Kafka Connect base classes, used by grpc-confluence and grpc-microsoft.

Nextpad++ semantic search

A plugin that tints each sentence by similarity to a query. The Linux build uses ONNX Runtime. The macOS build uses Apple Natural Language on Metal.

pipestream-quic-protocol-rfc

Draft RFC for a QUIC-based pipeline transport.

gRPC document parsers

gRParse and a fleet of seventeen gRPC services that turn documents into structured protobuf and stream the results back as they parse.

A real pipeline runs into every format at once: PDFs and scanned images, Word and PowerPoint, spreadsheets, email, EPUB, XML, markup, web archives, audio and video. gRParse is the coordinator. It runs OCR, layout, table and figure models on PDF pages and images, routes every other format to the service that owns it, and merges the results into one page-streamed Document. The services cover PDF backends (PDFium, qparse, Poppler and a PDF inspector), LibreOffice, calamine, markup, EPUB, XML, EBCDIC, email, lol-html, fastwarc, vision-language conversion, LightOnOCR, whisper.cpp transcription and enrichment. A Docker quickstart runs the stack on a CPU with one command.

ProtoMolt

A modular Java toolkit for Protocol Buffers at runtime, and a schema registry whose storage is a plain Git repository behind the Confluent protocol. It is the schema layer underneath Pipestream, maintained as its own project.

Every code path operates on descriptors rather than generated classes: gather .proto sources from Git, Maven, jars, or other registries; validate messages against rules carried on the schema (the protovalidate dialect passes the full conformance suite, 2,872 of 2,872 cases, re-scored in CI on every push); diff schemas with a typed compatibility engine; and register versions through compatibility-gated writes, one Git commit each. gRPC consumers fetch compiled binary descriptor sets directly.

An MCP server makes the whole toolkit agent-operable: an AI agent can reflect a live gRPC server, invoke its methods with no generated stubs, and generate native clients in eight languages. The OpenVINO tutorial walks the full path against a real inference server.

The same descriptor model reaches past schemas into data and integration work: projecting messages into Lucene, OpenSearch, Solr, and Microsoft Graph search; landing them in Apache Iceberg tables as committed snapshots written by its own Hadoop-free Parquet emitter; reading and writing OneDrive and SharePoint files and metadata over the Microsoft Graph API; masking fields by declared sensitivity; and rendering schemas as knowledge bundles. Twenty-three verbs run identically over gRPC, REST, and MCP.

TurboEmbed

Text encoder models and the document analysis around them, run as native code with no Python at run time.

TurboEmbed is a Rust workspace with a hand-written C API for embedding text, reranking passages and answering extractive questions on CPUs, NVIDIA GPUs, Intel Arc GPUs, Intel NPUs, Apple silicon and Hailo accelerators. Around the library sit a document analysis stack with typed layers over exact source offsets, entity and relation extraction with GLiNER2 and GLiREL, hybrid search over BM25 and dense vectors, and a gRPC server for the KServe v2 Open Inference Protocol with a browser workbench.

More projects

Other open-source repositories we build and maintain.

protomolt-search

A gRPC search engine for protobuf records. It indexes text, metadata and embeddings from the schema, and answers keyword, vector and hybrid queries across shards. It includes a web console, and an embedded mode for desktop, Android and iOS. → repo

protomolt-mobile-samples

Court Search, a sample iOS and Android app that embeds Protomolt Search on the device. It runs keyword search and search by meaning over a bundled corpus of U.S. Court of Appeals opinions, with no server. → repo

turbovec-grpc

A gRPC facade over the turbovec vector index. A durable node serves handle-addressed shards, and a coordinator holds a global top-k heap and streams a rising floor to those shards. A result is returned when every shard certifies completion. → repo

quarkus-buf-grpc-generator

Generates Quarkus Mutiny gRPC stubs using Buf, so a Quarkus build can consume proto workspaces without a native protoc toolchain. Cross-platform. → repo

docling-serve

The ai-pipestream fork of Docling Serve, with a gRPC API for document conversion alongside the REST API. → repo

docling-grpc-examples

Runnable examples, in several languages, for the gRPC document-conversion interface of the ai-pipestream fork of docling-serve. → repo

grpc-microsoft

Microsoft Graph as typed gRPC for SharePoint sites, drives and files. Clients can list, read and write items, follow a cursor-based Sync stream, and use a Kafka Connect source and MCP tools. Shared sync and output pieces live in grpc-integration. → repo

grpc-confluence

Confluence Cloud as typed gRPC: spaces, pages, blog posts, comments, attachments, labels and properties, with a cursor-based Sync stream, a Kafka Connect source and MCP tools. Shared sync and output pieces live in grpc-integration. → repo

grpc-integration

The shared core used by the Confluence and Microsoft Graph connectors: a sync ledger and connection catalog, an output SPI with filesystem and S3 stores, an Open Knowledge Format and WARC writer, a combined MCP server, and Kafka Connect base classes. It does not import a source API. → repo

Nextpad++ semantic search

A plugin for Nextpad++ that tints each sentence by similarity to a query. The Linux build embeds text with ONNX Runtime (CPU, CUDA or OpenVINO). The macOS build uses Apple Natural Language embeddings on Metal.

pipestream-quic-protocol-rfc

A draft RFC exploring a QUIC-based transport for the pipeline. → repo

Upstream contributions

Functional work merged into or proposed to established open-source projects. Each links to the pull request so the claim can be read against the code.

Dedicated write-ups: Apache OpenNLP 3.0, the add-ons and the gRPC services and the gRPC document parsers. Pages for Quarkus, the Jandex Gradle plugin, and Apicurio are in progress.

Pipestream AI Public Research

Open research on distributed vector search. We publish the work so it can be reviewed, reproduced, and improved on.

Collaborative distributed HNSW search

HNSW graphs give excellent approximate nearest-neighbour recall on a single node, but a naïve distributed search queries every shard to full depth and merges afterward — paying the full cost on every shard. We are investigating a collaborative approach where shards share a running floor value, letting each shard prune candidates that cannot enter the global top-k. The Lucene shared-floor kNN collector is the first upstream piece of this work.

  • distributed-search — reference engine for collaborative KNN across shards.
  • Shared-floor kNN collection — proposed to Apache Lucene (sandbox module).
  • Distributed Lucene index — a shard-native index format, in progress.

Read the research write-up →

Background

The through-line is search. An NLP search engine in 1999, then production work on relevance and live-updating indexes, including rebuilding Etsy's search in 2010 for live updates and modernized relevance, and the search at Adorama. The distributed-search engine and the collaborative-HNSW research are the current chapter of the same problem.

Further back, the same hands wrote the AccessX keyboard and pointer features for Linux in 1999 (StickyKeys, SlowKeys, BounceKeys, and MouseKeys), the first time those accessibility features shipped on the platform, where they went out across the Linux desktops. It was freeware, so the attribution sits in the dark corners of the internet, but AccessX still gets referenced.