# 🔒 Privacy Policy

Last updated: July 19th

This Privacy Policy describes how Sweep AI ("we", "us", "our") collects, uses, and discloses your Personal Information when you use our app Sweep AI ("the App").

By using the App, you agree to the collection and use of information in accordance with this policy.

## Information Collection and Use

Data Collection

While using our App, we may collect information related to your codebase, commits, GitHub tickets, pull requests (PRs), and PR comments ("Data"). This Data is used to understand how you interact with our App and to improve our services.

- The logs from Sweep(which contain snippets of code) are logged for debugging purposes. These will only be stored for 30 days. We send this data to OpenAI to generate code.
- OpenAI has an agreement stating they will not train on this data and will persist it for 30 days to monitor trust and safety.
- We store the codebase as embeddings, which are not readable as plaintext.
- We use posthog to log telemetry in order to understand how Sweep is being used. This includes the number of tickets created, comments created, and PRs merged.
- No data being used will be sold to third parties.

## Use of Data

We use the collected data for various purposes:

- To automatically generate and modify PRs, which are integral to the service we provide
- To provide analysis or valuable information so that we can improve the App
- To monitor the usage of the App
- To detect, prevent and address technical issues

## Transfer of Data

Your information, including the Data, may be transferred to — and maintained on — computers located outside of your state, province, country, or other governmental jurisdiction where the data protection laws may differ from those of your jurisdiction.

## Disclosure of Data

We may disclose your Data in the good faith belief that such action is necessary to:

- To comply with a legal obligation
- To protect and defend the rights or property of Sweep AI
- To prevent or investigate possible wrongdoing in connection with the App
- To protect the personal safety of users of the App or the public
- To protect against legal liability
- No data being used will be sold to third parties.

## Security of Data

The security of your data is important to us but remember that no method of transmission over the Internet or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Data, we cannot guarantee its absolute security.

## Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.

You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

## Contact Us

If you have any questions about this Privacy Policy, please contact us:

By email: [team@sweep.dev](mailto:team@sweep.dev)

By visiting this page on our website: [https://sweep.dev](https://sweep.dev/)

This Privacy Policy does not apply to the practices of third parties that we do not own or control, including GitHub or any third party services you access through GitHub. You can reference the GitHub Privacy Policy to learn more about its privacy practices.

Please note that this is a basic privacy policy and may not cover all potential legal and privacy issues that could arise. We recommend consulting with a legal professional to ensure your privacy policy is comprehensive and complies with all applicable laws and regulations.
