Privacy policy
PIYX is built so your code stays on infrastructure you control. This page says plainly what is stored, where, and what you can do about it.
Last updated 20 October 2026
1. Who this applies to
This policy covers the PIYX web app and the PIYX agent, provided by Piytech. “Operator” below means whoever runs your PIYX installation. For a hosted service that is Piytech; for a copy you run yourself it is you. Contact: the contact details given to you when your account was set up.
2. What is stored, and where
We collect only what is needed to give you the service.
| What | Details | Where it lives |
|---|---|---|
| Account | Email, name (optional), a salted scrypt hash of your password, role, plan and billing status. | The PIYX database (PostgreSQL) |
| Sign-in sessions | A hashed session token, the browser’s user-agent text, and an expiry date. | The PIYX database |
| Projects and chats | Project names and folder paths, chat titles, every message and step PIYX showed you, and a short summary PIYX keeps so long chats stay coherent. | The PIYX database |
| Usage | Token counts per answer and per month, used to apply your plan’s allowance. | The PIYX database |
| Your files | The files in the folder you chose, and files PIYX creates. Attachments you add to a project or quick chat are saved there so PIYX can edit them. | The computer that runs the PIYX agent |
| Project notes | A .piyx folder in the project: notes, a plan, remembered decisions and undo snapshots of files PIYX changed. | The computer that runs the PIYX agent |
| Payments | Card details, invoices and billing address. | Stripe, not PIYX. We keep only your plan, its status and Stripe’s customer reference. |
PIYX does not use advertising or analytics trackers, and the pages you are reading load no third-party scripts.
3. Where your code goes when PIYX works on it
To answer you, PIYX sends parts of your conversation and the files it has read to the language model it is set up with. That is a model server chosen by the operator (for example Ollama, llama.cpp or LM Studio on the operator’s own machine). It is not sent to a third-party AI service unless the operator has deliberately pointed PIYX at one.
Files named like secrets (such as .env files and private keys) are not read by PIYX, are skipped when you attach a folder, and secret-looking values are masked in command output before the model sees it. This reduces risk but cannot catch everything; do not paste secrets into a chat.
PIYX does not use your code or chats to train models.
4. How we use it
- to run PIYX for you: sign you in, show your chats, apply your plan;
- to bill you and prevent abuse (rate limits, plan limits);
- to keep the service secure and fix faults, using server logs that record requests but not the content of your code;
- to contact you about your account, billing or an important change.
6. How long we keep it
Account data is kept while your account exists. Sign-in sessions last 30 days. Deleting a chat deletes its messages; deleting a project deletes its chats from the database. Deleting a project does not delete the folder on disk: your files are yours, and stay where they are.
Billing records may be kept longer where tax or accounting law requires it.
7. Your choices and rights
You can delete any chat or project from the app, download your project files and a .zip of them at any time, and cancel your plan from your account page.
Depending on where you live, you may also have the right to access, correct, export or delete your personal data, to object to or restrict how it is used, and to complain to your data protection authority. To use any of these rights, or to have your account and its data removed, contact the contact details given to you when your account was set up. We will respond within the time the law sets.
8. Protecting your data
Passwords are stored only as salted hashes. Sign-in cookies are HttpOnly and SameSite, and Secure over HTTPS. Requests from other websites are blocked. The agent can require a private token. The security overview lists these measures. No system is perfectly secure; if a breach affects your data we will tell you and the authorities as the law requires.
9. Children
PIYX is not directed at children under 16, and we do not knowingly collect their data. If you believe a child has an account, contact us and we will remove it.
10. Changes to this policy
If we change this policy in a way that matters, we will say so in the app or by email before it takes effect, and update the date at the top. Related: terms of use.