lantern logo

lantern

lanterndata/lantern

PostgreSQL vector database extension for building AI applications

GraphCanon updated 1d · GitHub synced 1d

889 stars67 forksLast push 1y Rust AGPL-3.0

Decision brief

Lantern is an extension for PostgreSQL written in Rust, providing capabilities for approximate nearest neighbor search tailored for AI applications.

Good fit when

  • When you need to perform vector database operations integrated with a PostgreSQL environment
  • If your project benefits from the use of Rust for improved performance and memory safety

Avoid when

  • Avoid when an open-source license like AGPL-3.0 might interfere with proprietary or closed-source projects
  • Not suitable if you require direct support for non-vector indexing operations outside ANN capabilities

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (618d since push)
As of 1d
Provenance
Not a fork · Organization account
As of 1d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

cargo add lantern
crates.io

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

LanternData/lantern is a PostgreSQL vector database extension written in Rust, enabling developers to implement approximate nearest neighbor search for AI and machine-learning purposes.

Capability facts

Languages
rust

Source: github.language · Aug 22, 2026

Categories

Tags

README

🔧 Quick Install

If you don’t have PostgreSQL already, use Lantern with Docker to get started quickly:

docker run --pull=always --rm -p 5432:5432 -e "POSTGRES_USER=$USER" -e "POSTGRES_PASSWORD=postgres" -v ./lantern_data:/var/lib/postgresql/data lanterndata/lantern:latest-pg15

Then, you can connect to the database via postgresql://$USER:postgres@localhost/postgres.

To install Lantern using homebrew:

brew tap lanterndata/lantern
brew install lantern && lantern_install

You can also install Lantern on top of PostgreSQL from our precompiled binaries via a single make install.

Alternatively, you can use Lantern in one click using Replit.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.