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.9.3-cp313-cp313-manylinux_2_28_x86_64.whl (48.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.9.3-cp313-cp313-manylinux_2_28_aarch64.whl (27.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.9.3-cp313-cp313-macosx_14_0_arm64.whl (15.3 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

cyborgdb_lite-0.9.3-cp312-cp312-manylinux_2_28_x86_64.whl (48.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.9.3-cp312-cp312-manylinux_2_28_aarch64.whl (27.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.9.3-cp312-cp312-macosx_14_0_arm64.whl (15.3 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

cyborgdb_lite-0.9.3-cp311-cp311-manylinux_2_28_x86_64.whl (48.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.9.3-cp311-cp311-manylinux_2_28_aarch64.whl (27.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.9.3-cp311-cp311-macosx_14_0_arm64.whl (15.3 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

cyborgdb_lite-0.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (48.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.9.3-cp310-cp310-manylinux_2_28_aarch64.whl (27.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.9.3-cp310-cp310-macosx_14_0_arm64.whl (15.3 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

cyborgdb_lite-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl (48.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

cyborgdb_lite-0.9.3-cp39-cp39-manylinux_2_28_aarch64.whl (27.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

cyborgdb_lite-0.9.3-cp39-cp39-macosx_14_0_arm64.whl (15.3 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b88615ef96dea01a9a44046f3729b1d17f21fceb2bb5267d9efb6de36666286
MD5 91369ddf8b2b109f35cdaacc271b3067
BLAKE2b-256 3e405ac26b327a6e51e9e3f702141f731f10ea7260d5ad4fdc9a02ae7b9ee984

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 110d6ce183796a2a16c46f8acfd791c9fa183949f1a1e0cbb035f72ee8fb78f6
MD5 35994e2567667a93fa6796148654ef0d
BLAKE2b-256 dd45232b69cb96dc28287980b24c061d32f6981e72b5b0fc8a4b0cb0f1c8209d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 390163f20ea0fffc380f6603e48a2f0c21afe56245a98f1f94ad4b00e96c95c1
MD5 7666293c7bab401cae7f26558ff32553
BLAKE2b-256 a07fefb534b1f3ebb671cda3a15a4d188e1c52bb1eecf352825c81dbe2c523b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e581272504baaa627e4ef1628cd2e4d6693e8b8ef8db8d87340eab96f769c078
MD5 08936942bcbb780f146c48fe1344453a
BLAKE2b-256 b8d417518c792f1fda047ba7a11746ecb2b82d7b97337a6af2f289986dbf7a92

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3705465d4d1bd50a2c7ab75cf1594df64894dc0830d35d5c185cae47ee0d6277
MD5 dd63709496c8d66c69b03536e0f3ac1d
BLAKE2b-256 7ce36f624826616b4f2a94f51b1466702f5db1bba625e73fa81580a8332c680f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a8238c3e07026a4dcdfcdbe8a51985f1ca6f5113867a8f8a0be7d97ebac21d0f
MD5 6f119401e08b417f843e34e75f7624ed
BLAKE2b-256 53602a3f2bd9f4d8c3ca5aed728c4df9429f40f3960d89e60c9f9601312e15e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 09ae110c448befdefb0741d22d6169f863425e417b3b213fb20de9413f3b33f4
MD5 31bfa16d1134d5771d2eb4502f0f7e14
BLAKE2b-256 d5396b93148034c47d79f8b30f89d6de176c51a3d1bd96ded2ba8bcfc9648f4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7d39e6dc31d484376187baa9d0fb743bc5d6af5303f1aaef6ed34aee05089073
MD5 3682935740aab1ce91fe48df37e99392
BLAKE2b-256 67e580f8cafd24d8bdd42eafa70d35ae8cab35f5ff5ad005ae36c25ae94b9736

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 87b00e2163902ac8e5461ad17186f14055ae4b595d8e78dd1010aff13ab9b97b
MD5 f1a8b07804c32bded2e08534e90202cc
BLAKE2b-256 c411ae2d7fc550b35dc86120c6f424ab32be281b9078a31cd21d1bfcec25ae88

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40d89372b91d2e1a72595716d81f44e90b709df58582824a1695b32a2b0627b5
MD5 b919543b467cdcd817ebc47d3fd0287e
BLAKE2b-256 f0a59e8060319cae10a8122de5ad4d51ae69e056f121f7c49e286b3da9be7ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e9f485088b9e5c001b9747ca0ab1fdb4112684637d9b36b45ea1e5886db8f11a
MD5 c0cfa58de4949c2dd0cb884171e96c19
BLAKE2b-256 b0bc7d198544ca43d2ad2c61525ec47015f8f3caf9d2cb40b2c996949cf21f56

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d03f0af8a23e4dff40170870956b68300f0d832c7c07c9d696f33529ca9c35fa
MD5 1c80a93cc664436f666d50b802f587cb
BLAKE2b-256 1bc6a8ff0fce197a80d38d62d02282da717d35365c702849723ef382540c9e28

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d5bd5d8221aadd1954b92907c8200a13cb0a889b18808564af989ba455d3f3b
MD5 dea176427f1ceff3acd788a298dea23c
BLAKE2b-256 c637c1495414de83e7e4749a1e5a574f45ebda380e2b888cc498ce648b84697d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d86952816da83bdedd01050480f32ae868628d859d1fe069142778178d400a42
MD5 593a7aad6f450d9c34e247298ad524b3
BLAKE2b-256 fa1bddca2413ff3bc1b7ad82707ce5d96eef69cd36338d8cc061b8b91ae2cd21

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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.9.3-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for cyborgdb_lite-0.9.3-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9c10cc4b78c7cbc99bcef9b91527cfc80f95d637540cd35882ace97f9eefa792
MD5 2ce2e24d51aae2fcc64ab7b00973526b
BLAKE2b-256 387d22fb71e3b5afcbf679ed39fccab4cbd85fcd1dcf1d9ecb6e2bed2470b1e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyborgdb_lite-0.9.3-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