Terms of Service

Effective date: 12 November 2026

These terms apply to the PKU harness app, the website pkuharness.com, and the optional PKU harness Cloud service that the project runs (together, "PKU harness"). By using PKU harness you agree to them. If you don't agree, please don't use it.

1. Who we are

PKU harness is an open-source project maintained by the pkuinfo contributors ("we"). It is not run by, endorsed by, or affiliated with Peking University. Campus services that PKU harness connects to belong to the university and its departments, and their own rules apply when you use them.

The source code is released under the MIT License. These terms don't limit your rights under that licence: you can read, build, change and share the code. These terms cover the app and services we distribute and run.

2. Your campus account

  • You sign in with your own Peking University account. Don't use anyone else's account or credentials.
  • You are responsible for following the university's rules for its information systems, including the rules of each service you use through PKU harness (for example course selection, the campus card and Treehole).
  • Your password and authenticator secret are stored only on your phone. Keep your phone locked and don't share access to it.

3. The AI assistant acts for you

  • The assistant can read campus data and take actions on campus services through plugins, within the permissions you grant. Actions taken this way are your actions.
  • For actions that are hard to undo, such as dropping a course, paying, or posting in public, the app asks you to confirm unless you have chosen to allow them without asking. Review what you confirm.
  • AI models make mistakes. Check important results yourself, such as grades, balances, deadlines and course selection results, before you rely on them.
  • The AI provider you connect is a third party. Their terms and privacy policy apply to what you send them, and you pay them for any usage.

4. Plugins

  • Plugins, including community plugins from the marketplace, are written by their authors. We don't guarantee that a plugin works, is accurate, or stays available.
  • Each plugin declares the access it needs, and you decide what to grant. Install plugins only from sources you trust, and remove a plugin if you no longer trust it.
  • Plugin authors are responsible for their plugins following these terms and the law.

5. Copilot mode

Copilot lets the assistant operate other apps on your phone using Android's accessibility service. It works only in the apps you allow, shows a notice while it runs, and you can stop it at any time. You are responsible for what you ask it to do in other apps, and those apps' own terms apply.

6. PKU harness Cloud (optional)

  • Some features, such as sharing a campus card payment code, use our cloud service. It forwards and stores only encrypted data (see the Privacy Policy). You can also run your own server and point the app to it.
  • The service is free, provided as is, with no guarantee that it is available at any given time. It has usage limits, and we may change them.
  • We may block devices or links that abuse the service, for example by flooding it or using card sharing for fraud.

7. Acceptable use

Don't use PKU harness to:

  • access accounts, data or services that you are not allowed to access;
  • overload, attack, or work around the security of campus services or our cloud service;
  • send requests to campus services at a rate that harms them or other users;
  • share a payment code or other access so that someone else can commit fraud;
  • break the law or the university's rules, or infringe anyone else's rights.

8. Updates

The app checks GitHub for new versions and offers to install them, and it can receive signed over-the-air updates for its JavaScript code. Updates can change or remove features. Campus services can change without notice, and a feature may stop working until we update it.

9. Disclaimer

PKU harness is provided "as is", without warranties of any kind, to the extent the law allows. We don't promise that it is free of errors, always available, or suitable for a particular purpose.

10. Limitation of liability

To the extent the law allows, we are not liable for indirect or consequential losses arising from your use of PKU harness, including missed course selections, missed reminders, payments, actions taken by the AI on your instructions, or the behaviour of campus services, AI providers or third-party plugins. Nothing in these terms limits liability that cannot be limited by law.

11. Changes to these terms

We may update these terms. The date at the top shows the current version, and the app tells you when there is a material change. If you keep using PKU harness after a change, you accept the updated terms.

12. Law

These terms are governed by the laws of the People's Republic of China (for this purpose excluding the laws of Hong Kong, Macao and Taiwan). We will try to resolve any dispute with you informally first.

13. Contact

Questions about these terms: open an issue at https://github.com/pkuinfo/pku-harness/issues. Security problems: report them privately as described in https://github.com/pkuinfo/pku-harness/security/policy.