Skip to main content

Evaluation Version of CyborgDB: The Confidential Vector Database

Project description

CyborgDB Lite

PyPI - Version PyPI - Python Version

CyborgDB Lite is an evaluation-only/non-commercial preview of CyborgDB, the first Confidential Vector Database. It enables you to ingest & search vectors emeddings in a privacy-preserving manner, without revealing the contents of the vectors themselves. CyborgDB works with existing DBs (e.g., Postgres, Redis) and enables you to add, query and retrieve vector embeddings with transparent end-to-end encryption.

Why Confidential?

Vector Search is at the heart of popular AI applications like RAG, recommendation systems, and semantic search. CyborgDB Lite leverages cryptographic hashing and symmetric encryption to enable Approximate Nearest-Neighbor (ANN) search over encrypted space, keeping your vector embeddings secure throughout their lifecycle.

Key Features

  • End-to-End Encryption: Vector embeddings remain encrypted throughout their lifecycle, including at search time
  • Zero-Trust Design: Novel architecture keeps confidential inference data secure
  • High Performance: GPU-accelerated indexing and retrieval with CUDA support
  • Familiar API: Easy integration with existing AI workflows
  • Multiple Backing Stores: Works with PostgreSQL, Redis, and in-memory storage
  • Cloud Ready: Supports AWS RDS, AWS ElastiCache, Azure Database for PostgreSQL, Azure Cache for Redis, Google Cloud SQL, and Google Cloud Memorystore

Installation

# Ensure Python 3.9 - 3.13 is installed
# You may want to create a virtual environment:
conda create -n cyborg-env python=3.12
conda activate cyborg-env

# Install CyborgDB Lite:
pip install cyborgdb-lite

Quickstart

import cyborgdb_lite as cyborgdb
import secrets

# Create a client with memory storage
# You can replace this with Postgres
index_location = cyborgdb.DBConfig("memory")  # For index contents
config_location = cyborgdb.DBConfig("memory") # For config/loading
items_location = cyborgdb.DBConfig("memory")  # For item contents

# Create a client
client = cyborgdb.Client(index_location, config_location, items_location)

# Create an IVFFlat index
index_config = cyborgdb.IndexIVFFlat(dimension=4, n_lists=1024)

# Generate an encryption key for the index
index_key = secrets.token_bytes(32)

# Create an encrypted index
index = client.create_index("my_index", index_key, index_config)

# Add items to the encrypted index
items = [
    {"id": "item_1", "vector": [0.1, 0.2, 0.3, 0.4], "contents": "Hello!"},
    {"id": "item_2", "vector": [0.5, 0.6, 0.7, 0.8], "contents": "Bonjour!"},
    {"id": "item_3", "vector": [0.9, 0.10, 0.11, 0.12], "contents": "Hola!"}
]

index.upsert(items)

# Query the encrypted index
query_vector = [0.1, 0.2, 0.3, 0.4]
results = index.query(query_vector)

# Print the results
for result in results:
    print(f"ID: {result.id}, Distance: {result.distance}")

Connecting to Different Backing Stores

PostgreSQL

index_location = cyborgdb.DBConfig(
    location="postgres",
    table_name="index_table", 
    connection_string="host=localhost dbname=cyborgdb_lite user=postgres password=postgres"
)

Limitations

CyborgDB Lite is an evaluation version with the following limitations:

  • Maximum 1,000,000 encrypted embeddings
  • Only 2 supported backing stores (PostgreSQL & Memory)
  • Only 1 index type (IVFFlat)
  • Maximum 4 CPU threads
  • Non-commercial use only

For production use or to remove these limitations, please upgrade to CyborgDB Core.

Documentation

For more detailed documentation, visit:

System Requirements

  • Python 3.9 - 3.13
  • Operating Systems: Linux, macOS, or WSL

License

CyborgDB Lite is provided under a limited, evaluation-only license for non-commercial use. For commercial use, please contact Cyborg for licensing information.

About Cyborg

Cyborg is dedicated to making AI safe and secure. We develop solutions that enable organizations to leverage AI while maintaining the confidentiality and privacy of their data.

Visit our website | Contact Us

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl (48.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl (28.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.10.1-cp313-cp313-macosx_14_0_arm64.whl (15.4 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_x86_64.whl (48.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_aarch64.whl (28.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.10.1-cp312-cp312-macosx_14_0_arm64.whl (15.4 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_x86_64.whl (48.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_aarch64.whl (28.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.10.1-cp311-cp311-macosx_14_0_arm64.whl (15.4 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_x86_64.whl (48.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_aarch64.whl (28.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.10.1-cp310-cp310-macosx_14_0_arm64.whl (15.4 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_x86_64.whl (48.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_aarch64.whl (28.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.10.1-cp39-cp39-macosx_14_0_arm64.whl (15.4 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

Details for the file cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1044cbb012f4c0c6d633a94124ee354bedf1d45ac8ee71d99de339546e73cdc1
MD5 be4611c18e91478d29d0a9bc1a2b7295
BLAKE2b-256 d54e30d0a16c3fcecf076928334e415dc79fe143e87aa63b95a6778cd32bad21

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 035e2e24733f66ffa6c4f3a2adc56566768621408334b25d95de98f812fe5e2e
MD5 a2baf4597b97730e1f006829943df92a
BLAKE2b-256 5129b4cd1e772e5ae249b8c3da7c5bbba5894a70bf975b88ef7217415b895b92

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0438abbc22cee795a3569a6322bc318cf1fecfd5100b9d012a98a53bd841ccce
MD5 7aa1aea2f369abf64af64f7fb3009528
BLAKE2b-256 010a08a188888302c85ba1352d64ec33fb17fed46ee0112bbce08a2cb9b4fd1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1f67862063c071631cb24a56311744e6e3ac03b0ad2ffcfd1f407f3ee2c113fe
MD5 2e015b9dbc521ac00e14567ccf1db2e2
BLAKE2b-256 ff26003bed6a6d60724b9277f858c4802a3b6b8c80dae62e79ce9eee12044c0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 508ed065e621437ccf35f0a32fe0a766417fc1af07ddc2297fee9f1c563af66b
MD5 cb79ea4db91f21a1f21eeb56b7607017
BLAKE2b-256 c283b962de30b9f443628cf667d722b796a02609e48085cadf21fe9af9c93ac7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5a443cd96ae710890fff0d0af7fec9dc4ce5133a188e816a8d016efe742e23cf
MD5 3079d678f9887f31e8a0b2dece7acdd0
BLAKE2b-256 cb998259b01ee9479632ab2cd9117de5bd43854081e3258b5d5fb3f69475c6f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c2eb10f3fa8696d991b91282169c8fb31f6d3ecbab796d4a947c8f5196fadfe
MD5 3dcb0bac0946e9b331d3a46171817ba8
BLAKE2b-256 729a768cbfe13d83cad3f41d08abe99471a2f7fd2a6df159d2d1ae194e7b5838

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 305cd39a3192aaf874cb0f08892754932053a44d870083d6c1b27f47afc87c42
MD5 b0a5e20be430557133160b17987ec0f6
BLAKE2b-256 e7ea7b6d452c2f79a0da15d2821193e8cef7b885604d3f3006f8ede800ced206

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7556a91959de572e83b307a5e313605cc14b413b73410405edfd6d1411eb5f55
MD5 a8df02d4d75720c0fbcfcbea7332edd9
BLAKE2b-256 b315b3e4a5c4158f3b5eafe3e068a65edcd01a7f68e92efda7131425809d911c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f4671d160d28eff49102137330bc5c089428c2b4f61b33a5893fc3179ae1cc2
MD5 f26825ec49a90323259e067cdf1c6574
BLAKE2b-256 c8979503600683ffd6fe25a7cf1d60009aabd479a018dafc4359a9b2d9493ccb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 880734b04e14f14fcff8320e04ac5c833e764a50c4eb289f6b1ef7aea51be724
MD5 a6967aed09f5ff546126228d58bdb7b1
BLAKE2b-256 ba476de769ca73ea80c00027d9c73189fa00f70b354bdb319c98e9bacc88cefe

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 68dfdba99bd3399876e026f51b80edf62e9951b34140e896bf9b5ea4d77231e6
MD5 32cc61898371e2f53700d367f0831ead
BLAKE2b-256 e3bbcb2366e9f97778e80bcd08d0652e39da9b8a34e3ffae60b8cf9280c1f4ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08aa539605a128df284f9ba6f67141a1889097005efc7eb12c79999679ad889d
MD5 020a5abef3ed193fc7bc055e774a6a0e
BLAKE2b-256 7cf3d73a1707e01b9393dd44ce492ba021feaed7925c87cb7e955876e3253d5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_x86_64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0fef27eaf523a1fd92fb2aa00137423c7c14dd1f13af31c049c1290d54496dd2
MD5 7d9618d35a1fe31a9acbb39f349ef9ec
BLAKE2b-256 b95916d4ef4807192ab7c6e6bae0d5916b93b80546ca064e941ee77053694b5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp39-cp39-manylinux_2_28_aarch64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyborgdb_lite-0.10.1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.10.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3fa5c0902e3c93e0d81a637b482ad92caccdcc2e5d078389dd1b919afd95c69e
MD5 210c5247e663a2d8d4726b4d65d9757e
BLAKE2b-256 e8648625bf1d4a77d6ef85135ff9e2093d0a8d078bc7c6f40847a94e10b90d5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.10.1-cp39-cp39-macosx_14_0_arm64.whl:

Publisher: build_test_py_lite.yaml on cyborginc/cyborgdb-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page