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.
Public packages
Protobuf toolkit and schema registry over Git: validation, compatibility, search indexing.
A gRPC search engine for protobuf records: keyword, vector and hybrid queries, a web console, and an embedded mode for desktop and mobile.
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.
Text encoders and document analysis as native code: a C API, six hardware backends, and a KServe v2 gRPC server.
Document parsing over gRPC: OCR and layout on CPU, NVIDIA and Intel images, plus seventeen collector services behind one protobuf Document.
Distributed semantic search with collaborative HNSW KNN across shards.
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 Mutiny gRPC stubs generated with Buf, cross-platform.
Pure-Java Protobuf toolkit that runs protoc as WebAssembly.
A Java API for Docling, including a gRPC service client.
Docling document conversion over gRPC, on the ai-pipestream fork of docling-serve.
Runnable multi-language examples for the Docling gRPC interface.
Microsoft Graph as typed gRPC for SharePoint sites, drives and files, with a Sync stream, a Kafka Connect source and MCP tools.
Confluence Cloud as typed gRPC: spaces, pages, comments and attachments, with a Sync stream, a Kafka Connect source and MCP tools.
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.
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.
Draft RFC for a QUIC-based pipeline transport.
distributed-search
A gRPC distributed semantic search engine with collaborative HNSW nearest-neighbour search across shards. It is the reference implementation for the search research below, and the reason the other search work exists.
Vector search scales by sharding an index across nodes, but the standard distributed contract makes every shard run its search to full depth while a coordinator merges and discards most of the results. distributed-search exists to test a better contract: shards that collaborate during the search, sharing a running bound so each can stop chasing candidates the rest of the cluster has already beaten. The core mechanism is being upstreamed to Apache Lucene as a sandbox collector.
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.
-
OpenNLPApache
Apache OpenNLP 3.0.0 is a Java 21 toolkit for tokenization, sentence detection, part-of-speech tagging, named entity recognition, chunking, parsing and related NLP tasks. The 3.0.0 release of 17 November 2026 publishes the library as Maven modules, shares the core inference classes across threads, and includes Unicode text processing with offset alignment, subword tokenization, dependency parsing and a document annotation container. We maintain add-on modules under
org.apache.opennlp.addons. A gRPC service in the sandbox repository runs an uber SNAPSHOT of the toolkit and those add-ons.- Apache OpenNLP 3.0.0 release notes
- Add-on modules at ai-pipestream/opennlp-addons
- gRPC services at ai-pipestream/opennlp-sandbox
- OpenNLP 3.0, the add-ons and the gRPC services
- mergedFix retained line-break offsets in SimpleTokenizer. With
keepNewLinesset, a retained line break sits at the character's actual offset, including a leading line break, andSimpleTokenizer.newInstance(boolean)returns an independent tokenizer. - mergedImprove ONNX native platform diagnostics. If the ONNX Runtime artifact on the classpath has no native library for the operating system and architecture, the first native call in
opennlp-dlnames the platform and points to the manual, and keeps the original error as the cause.
-
TikaApache · merged + open
A
MarkdownParserfortika-parser-text-module. Before it,.mdfiles were detected astext/markdownbut no parser claimed them, so they fell through to plain-text extraction and their headings, tables, and code fences collapsed into flat text. This walks the Markdown AST into structured, lossless XHTML — and upstream has since built follow-on work on it. Alongside it, a strongly-typedDocumentparse contract fortika-grpc, so services can consume Tika output as a schema rather than by parsing HTML. -
Calaminetafia/calamine
Calamine is a Rust library for reading Excel and OpenDocument spreadsheets. In 0.39.0, reversed xlsx dimension references such as
C5:A1are ordered before use, cell references past the worksheet grid return an error, andRange::from_sparsereturns an error instead of aborting when a range would exceed 100 million cells. -
FastWARCChatNoir Resiliparse
FastWARC is the WARC parser in ChatNoir Resiliparse. The
fastwarc-grpccrate, part of Resiliparse, is a streaming gRPC server that reads WARC and WACZ archives and streams records. A follow-up flushes batches before waiting for more input and coalesces payload windows. -
lol-htmlCloudflare
lol-html is a streaming HTML parser and rewriter with a CSS selector API. For an attribute written without a value, such as
hidden,value_source_location()returnsNone, andname_source_location()is present. Neither result depends on how the caller chunked the input. -
LuceneApache · open
A shared-floor kNN collector in the sandbox module — the building block for coordinating an HNSW nearest-neighbour search across independent shards without a central rank pass. Read how the mechanism works →
-
QuarkusQuarkus · merged
Fixes and improvements to the gRPC stack — including a correction to the Stork load-balancer subchannel lifecycle — with further bug fixes and documentation improvements being catalogued.
-
Jandex Gradle Pluginkordamp · merged
Made the plugin compatible with Gradle's configuration cache — the build-caching feature it previously broke on. The task was refactored off non-serializable Gradle types (
Project,Configuration,SourceSet) onto the lazyProperty/ProviderAPI, with correct input/output declarations for up-to-date checking and functional tests covering the cached path. -
gRPC ZeroQuarkiverse · merged
Sustained work on the JVM-only, self-contained protoc codegen for Quarkus: an input-hash cache that skips regeneration when the proto inputs haven't changed, descriptor-FQN validation that catches duplicate proto types, generator and post-processor SPIs for extensibility, clearer codegen failure diagnostics, and the project's documentation.
-
Apicurio RegistryApicurio · merged
Hardening the registry's protobuf handling. Binary descriptor uploads whose identifiers violate the protobuf grammar were being stored intact and carried into downstream consumers; we now validate identifiers and reject conflicting type definitions at the upload boundary. The two follow-on fixes keep consumers alive when schema resolution fails, by falling back to direct protobuf parsing rather than stalling the consumer group.
-
protobuf4jroastedroot · merged
Memory-safety and diagnostics work on this JVM Protobuf toolkit, which runs
protoccompiled to WebAssembly: wrapping nativemalloc/freein anAutoCloseablebuffer so WASM memory can't leak, and surfacing native-pluginstderrin exceptions instead of swallowing it. -
Micronaut gRPCMicronaut · merged
Created the
protobuf-json-supportmodule — a JSON ⇄ Protocol Buffers bridge that lets Micronaut gRPC services speak JSON over a standard proxy, so a gRPC API can be consumed as REST/JSON without hand-written translation. It now ships as a first-class module on the framework's 5.0.x line. -
DoclingDocling
In
docling-java, theDoclingDocumentmodel uses the correct wire formats. A gRPC conversion API is maintained on the ai-pipestream fork of docling-serve and docling-core. Multi-language examples live in docling-grpc-examples.
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.
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.