$npx skillfedfor your agent

vecs

pgvector client

With conditionsPyPI DatabaseReleased Dec 2024114.9K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — vecs-0.4.5.tar.gz · builds from source
v0.4.5 · released 2024-12-13

Yes, if you already operate PostgreSQL with pgvector and need a Python interface to vector operations. The permissive MIT license and lack of runtime dependencies make it low-friction to add to an existing stack. However, the aging maintenance status (last commit 2025-04-09, no releases since 2024-12-13) and high install friction (requires external database setup) mean this is best suited for teams with PostgreSQL expertise and a clear need to keep vectors in relational storage. Not a good choice if you need active development support or are evaluating vector databases from scratch.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a PostgreSQL database with pgvector extension already installed and running, plus a valid connection string to access it.
  • Installation friction is high: the package itself has no runtime dependencies, but requires an external PostgreSQL database with pgvector extension already configured and accessible.
  • The project shows aging maintenance status with the last commit on 2025-04-09 and no releases since 2024-12-13, though the repository remains active and not archived.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects. You must include the license text in distributions.

last release 2024-12-13 (609 days) · last repo commit 2025-04-09 · 290 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,912 downloads/mo, #12,274 on PyPI

Verify before relying

pip install vecs

import vecs
vx = vecs.create_client("postgresql://:@:/<db_name>")
docs = vx.get_or_create_collection(name="docs", dimension=3)
docs.upsert(records=[("id", [0.1, 0.2, 0.3], {"meta": "data"})])
results = docs.query(data=[0.4, 0.5, 0.6], limit=1)
  • Whether the aging maintenance status (last commit 2025-04-09, no releases since 2024-12-13) indicates active development or stalled support.
  • Performance characteristics and scalability limits for large vector collections.
  • Compatibility with recent pgvector versions and PostgreSQL releases.
Same gist for agents: .md · .json

What it is and what it does

vecs is a lightweight Python wrapper around PostgreSQL's pgvector extension, designed to simplify vector storage and retrieval operations. It provides a client interface for creating collections of vectors, upserting records with associated metadata, building indices for fast search, and querying with metadata filtering. The package handles the connection management and SQL generation needed to work with pgvector, abstracting away direct database interaction.

The package is intended for developers building semantic search, similarity matching, or embedding-based applications on top of PostgreSQL. It requires an existing PostgreSQL instance with pgvector already installed—there is no embedded database or managed service bundled with the package itself. Use it when you have vector data to store alongside relational data and want to leverage PostgreSQL's existing infrastructure rather than adopting a separate vector database.

Use it for

  • Build semantic search over documents by storing embeddings and querying with similarity filters.
  • Implement recommendation systems by storing user/item embeddings and finding nearest neighbors.
  • Add vector similarity matching to existing PostgreSQL applications without migrating to a specialized vector store.
  • Query embeddings with metadata constraints, e.g., find similar vectors only from a specific time period or category.
  • Prototype vector search workflows before committing to a dedicated vector database.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you already operate PostgreSQL with pgvector and need a Python interface to vector operations.

The permissive MIT license and lack of runtime dependencies make it low-friction to add to an existing stack. However, the aging maintenance status (last commit 2025-04-09, no releases since 2024-12-13) and high install friction (requires external database setup) mean this is best suited for teams with PostgreSQL expertise and a clear need to keep vectors in relational storage. Not a good choice if you need active development support or are evaluating vector databases from scratch.

Install

vecs on PyPI

Before you install

Installation friction is high: the package itself has no runtime dependencies, but requires an external PostgreSQL database with pgvector extension already configured and accessible. The project shows aging maintenance status with the last commit on 2025-04-09 and no releases since 2024-12-13, though the repository remains active and not archived.

Requires a PostgreSQL database with pgvector extension already installed and running, plus a valid connection string to access it.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects. You must include the license text in distributions.

Quickstart

pip install vecs

import vecs
vx = vecs.create_client("postgresql://:@:/<db_name>")
docs = vx.get_or_create_collection(name="docs", dimension=3)
docs.upsert(records=[("id", [0.1, 0.2, 0.3], {"meta": "data"})])
results = docs.query(data=[0.4, 0.5, 0.6], limit=1)

Verify before relying

  • Whether the aging maintenance status (last commit 2025-04-09, no releases since 2024-12-13) indicates active development or stalled support.
  • Performance characteristics and scalability limits for large vector collections.
  • Compatibility with recent pgvector versions and PostgreSQL releases.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAging 609 days since the last release
Last repo commit
First released
Downloads114,912 / month, #12,274 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: vecs-0.4.5.tar.gz

Tags

Capabilities
postgresql vector search clientpgvector python wrappervector database managementsemantic search postgresvector similarity queriesembedding storage postgresvector indexing client
Topics
vector-searchpostgresqlembeddings

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “postgresql vector search client”

  • vecsvecs is a Python client for storing, indexing, and querying vectors…
  • pgvecto-rsProvides Python bindings for PGVecto.rs, a PostgreSQL vector database…
  • llama-index-vector-stores-postgresIntegrates PostgreSQL with pgvector extension as a vector store…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also pgvector · llama-index-vector-stores-postgres · pgvecto-rs · pgserver · upstash-vector · pg0-embedded · sqlite-vec · nano-vectordb · apache-airflow-providers-pgvector · nucliadb-utils