If you apply for a patent, how to prevent the agent from stealing the patent?

According to the Patent Agency Ordinance

Article 23

Patent agents shall be responsible for keeping confidential the inventions and creations they have learned in their agency business activities, unless the patent application has been published or announced.

Article 25

If a patent agent commits one of the following acts, if the circumstances are minor, his patent agency shall give him criticism and education. If the circumstances are serious, the employment relationship shall be terminated by the patent agency where it belongs, and the patent agent's work permit shall be withdrawn; The patent administration authorities of provinces, autonomous regions and municipalities directly under the Central Government shall give a warning or the Chinese Patent Office shall revoke the qualification certificate of patent agents: (1) failing to perform their duties or being incompetent, thus harming the interests of the clients;

(2) divulging or plagiarizing the contents of the invention and creation of the client;

(3) Exceeding the agency authority and harming the interests of the client;

(four) accept the entrustment, privately undertake the patent agency business, and collect fees.

If the acts mentioned in the preceding paragraph cause economic losses to the client, the patent agency may claim compensation from the patent agent according to a certain proportion after assuming the responsibility for economic compensation.

In addition, if you are really uneasy, you can sign a confidentiality contract with the patent agency.

PS: To find a regular patent agency, you can search the "Agency Inquiry" column on the homepage of China National Intellectual Property Administration website. To prevent encountering black agents, the rights and interests are not guaranteed.