1
Install CyborgDB
Install CyborgDB on your machine:
Python
2
Create a Client
Create a CyborgDB client:For more info, refer to Create a Client.
Python
Without an API key the client runs in free-tier mode, capped at 1,000,000 items per index. Pass a key from the CyborgDB Admin Dashboard as the first argument (
cyborgdb.Client(api_key, storage_config=...)) for unlimited usage. See Get an API Key.3
Create an Encrypted Index
4
Add Items to Encrypted Index
5
Query Encrypted Index
Query the encrypted index for similar vectors and chain
get() for contents. CyborgDB’s encrypted search index stores only embeddings — contents live in separately encrypted item records retrieved via get(), so a real result reads with a two-step pattern:Python
include=["contents"] is not a valid query option — contents are only retrievable via get(). See Query an Encrypted Index and Get Items for the full API.6
Next Steps
Learn more about CyborgDB:
Python API Reference
Explore the Python API reference to learn how to use CyborgDB in your applications.