Skip to main content

Apps & Clients

Use SereneDB applications, or connect with any PostgreSQL-compatible client or driver through the PostgreSQL wire protocol. Framework integrations build higher-level features — such as a LangChain vector store — on the same protocol.

PostgreSQL connections require a user name. If the startup packet omits the database name or sends an empty one, SereneDB connects to the database named after that user. An explicit database name takes precedence.

A connection keeps one paged result open at a time. A result fetched a page at a time (a portal executed with a row limit, as JDBC's setFetchSize, psycopg's server-side cursors and asyncpg's cursors do) is closed by any other statement run on the same connection, and its next fetch fails with SQLSTATE 22023. Read such a result to its end before running another statement, or run the other statements on another connection.

Apps​

AppPurposeGuide
Serene Docs SearchSelf-hosted full-text, hybrid, and AI-assisted search for documentationGuide

Programming Languages​

LanguageDriverVersionSupportGuide
Pythonpsycopg22.9.10FullGuide
Pythonpsycopg33.2.3FullGuide
JavaJDBC42.7.4PartialGuide
JavaScriptnode-postgres8.13.0FullGuide
C++libpqxx7.9.1FullGuide
C#Npgsql8.0.4FullGuide
Rusttokio-postgres0.7.12FullGuide
RRPostgres1.4.7FullGuide

Frameworks & Integrations​

FrameworkPackagePurposeGuide
LangChain (Python)langchain-serenedbVector store: embeddings, metadata filtering, hybrid BM25 + vector retrievalGuide

Elasticsearch clients​

Elasticsearch clients and tools connect over HTTP to the subset of the Elasticsearch REST API that SereneDB serves.

ClientVersionSupportGuide
elasticsearch (Python)8.19, 9.5PartialGuide

Tools​

SereneDB also ships its own command-line clients inside the serenedb binary: serenedb psql, a PostgreSQL-compatible client for a running server, and serenedb shell, a local shell for querying database files directly.

ToolVersionSupportGuide
psqlanyFullGuide
serenedb psqlbundledFullGuide
serenedb shellbundledFullGuide
DBeaver24.2.2PartialGuide
DataGrip2024.2.2PartialGuide
Grafana10.4.2PartialGuide