Privacy, Security, & Your Data
From Day 1 of engineering Pieces, we've had a first principle that everything is local first and built with speed, privacy, security, and offline-productivity in mind.
We also know that our partners operate in highly secure and sensitive environments, and we want to be prepared to operate in such environments, e.g., HIPPA, SOC 2, FERPA/COPA, etc. That being said - we can't tell you how happy we are that we have stayed true to this philosophy for cases just like yours!
Where Snippets are Stored#
Your snippets are stored completely locally on your device. This is what the path looks like for an installation on MacOS:
/Users/[YOUR-USERNAME]/Library/com.pieces.os/
You can easily copy this directory to a flash drive and bring it to another computer. ✅
Our Machine Learning Models#
All of our ML models can be completely local and offline (i.e., they're shipped within the application's binary & require no internet) as long as you opt out of blended processing.
If you have not opted out of blended processing, then some of the models will offload computation to the cloud. A few of our models are only available in the cloud, but we are working on making them local.
This table shows which models are available locally and which will use cloud compute unless processing is set to local.
Model | Local | Blended |
---|---|---|
Code vs Text | ✅ | ✅ |
Coding language classification | ✅ | ✅ |
Code Similarity | ✅ | ❌ |
Description Generation | ✅ | ✅ |
Framework Detection | ✅ | ✅ |
Image to text (OCR) | ✅ | ✅ |
Link Extraction | ✅ | ❌ |
Neural Code Search | ✅ | ❌ |
Related Links | 🚧 | ✅ |
Suggested tags from tags | ✅ | ❌ |
Suggested Save | ✅ | ❌ |
Snippet Discovery | ✅ | ❌ |
Secret Detection | ✅ | ✅ |
Search Queries | 🚧 | ✅ |
Tag Generation | ✅ | ✅ |
Title Generation | ✅ | ✅ |
Our ML models are not trained continuously. They do not train on your data as you use the product!
Saving Code Snippets in the Cloud#
The Pieces cloud is entirely opt-in. Authentication is managed by our enterprise-ready authentication partners at Auth0 (Now owned by Okta)
Even when a user signs in, they do not have a cloud until they specifically connect it in Settings.
If a user opts into the cloud, the data is only uploaded when something is shared.
When you click the "Share" icon and create a sharable link, only then is the "Piece" uploaded & accessible.
Finally— A note on cloud architecture for the things that are backed up:
- There is no centralized Database; each user has their own micro-database
- There are no centralized or shared servers
- Each user has their own Cloud Run instance, with their own unique subdomain & their own micro load balancer
Every user's cloud scales up and down completely independent of other users. The cloud is only running when a "Piece" is being accessed, backed up, or updated, and we can easily port our docker images over to an existing "Panasonic Cloud" if needed.
Telemetry & Crash Data#
Most importantly, all data collection is opt-out & we give all the control to our users.
The data that we do collect is completely anonymous & highly secure (we take data very seriously).
Why do we collect data?#
Long story short, we're a Series A stage startup and the data helps us to report growth and hopefully earn more funding.
Here are some screenshots of Telemetry Opt-Outs from the Pieces products:
Pieces for Developers Desktop App#
Pieces for IntelliJ#
Pieces for VS Code#
Pieces for Chrome#
If you have any other questions, please reach out! We want to be make choosing Pieces as easy for you as possible.