REST Server for CyborgDB: The Confidential Vector Database
Project description
CyborgDB Service
A FastAPI-based REST API wrapper for CyborgDB, providing Confidential Vector DB capabilities over HTTP. It enables you to ingest & search vectors embeddings in a privacy-preserving manner, without revealing the contents of the vectors themselves. CyborgDB works as a standalone database as well as with existing DBs (e.g., Postgres, Redis) and enables you to add, query and retrieve vector embeddings with transparent end-to-end encryption.
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 (configurable per operation)
- Familiar API: Easy integration with existing AI workflows
- Multiple Backing Stores: Works with PostgreSQL, Redis, S3, 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
Getting Started
To get started in minutes, check out our Quickstart Guide.
Installation
- Install
cyborgdb-service
pip install cyborgdb-service
- Set API Key as environment variable
export CYBORGDB_API_KEY=your_api_key_here
- [Optional] Set configuration environment variables
export CYBORGDB_DB_TYPE='standalone|redis|postgres|s3'
export CYBORGDB_CONNECTION_STRING=your_connection_string_here
Tip: Run cyborgdb-service --help for a detailed list of all configuration options.
- Run the server
cyborgdb-service
API Key Configuration
You need to provide your API key using any of these methods:
Method 1: Environment Variable (Easiest)
export CYBORGDB_API_KEY=your_api_key_here
cyborgdb-service
Method 2: .env File
Create a .env file in the project root:
CYBORGDB_API_KEY=your_api_key_here
Then run:
cyborgdb-service
Method 3: Inline with Launch
CYBORGDB_API_KEY=your_api_key_here cyborgdb-service
Documentation
For more information on CyborgDB, see the Cyborg Docs.
License
CyborgDB Service is licensed under the MIT License. The underlying library, CyborgDB Core, is licensed under Cyborg's Terms of Service.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cyborgdb_service-0.16.2-py3-none-any.whl.
File metadata
- Download URL: cyborgdb_service-0.16.2-py3-none-any.whl
- Upload date:
- Size: 33.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03652ec70e7673a5ecd5f76c307f08e491e26f57bb7971a8513480cea4dec79c
|
|
| MD5 |
f45860df92a4e64dded0be9145048659
|
|
| BLAKE2b-256 |
abe4789e495d6008f4e6d24ffa7e736a3b4b09a9a08133a12f8f3458f0c2cf5d
|
Provenance
The following attestation bundles were made for cyborgdb_service-0.16.2-py3-none-any.whl:
Publisher:
build_and_package_wheels.yml on cyborginc/cyborgdb-service
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cyborgdb_service-0.16.2-py3-none-any.whl -
Subject digest:
03652ec70e7673a5ecd5f76c307f08e491e26f57bb7971a8513480cea4dec79c - Sigstore transparency entry: 1454431062
- Sigstore integration time:
-
Permalink:
cyborginc/cyborgdb-service@8443394747158cd68dfeff10e5edd80e781be505 -
Branch / Tag:
refs/tags/v0.16.2 - Owner: https://github.com/cyborginc
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_and_package_wheels.yml@8443394747158cd68dfeff10e5edd80e781be505 -
Trigger Event:
push
-
Statement type: