Build, deploy, generate keys, and query an encrypted pipeline
Lattica Studio is one workspace for the full life of a homomorphic pipeline. You build it from Lattica's operators, deploy it to our platform, generate keys once, and run queries against it.
The lifecycle
Four stages, in order. Build is the part you write. Deploy, Key generation, and Query are mostly handled for you. Open any stage to see its steps.
On upload or compile error, fix the pipeline and deploy again from Build.
Click a stage to collapse or open it. Build runs on your machine. Deploy, Key generation, and Query run on the platform.
Deploy, Key generation, and Query are short because the platform does the work. Build is where you spend your time. You write the pipeline yourself, using HomOps, operators shaped like standard ML ops, with extra parameters added for FHE. A linear layer, an activation, a matmul each has a homomorphic match, though a few HomOps, like HomModSwitch and Bootstrap, exist only to maintain the ciphertext and have no ML counterpart. You arrange them into a pipeline and set the parameters: input shapes, weights, and the encryption settings. Once it runs, Deploy, Key generation, and Query take over.
What this is for
Lattica Studio is for researchers and developers who want to take a model, make it run under encryption, and test it end to end without leaving one environment.
query tokenWhere to go next
Read the concepts first if homomorphic pipelines are new to you. Otherwise, start at the stage you care about.
Concepts →
The mental model: pipelines, operators, keys, and tokens, in plain terms.
Build the Pipeline →
Arrange HomOps into your pipeline, then set shapes, weights, and encryption parameters.
Deploy the Pipeline →
Upload and compile, then create a token and generate keys.
Run Queries →
Start a worker, load keys, send encrypted queries, read decrypted results, stop the worker.
End-to-End Example →
Build, deploy, generate keys, and query in one script. Copy it, run it, see the result.