Is the patent agency a government department or a commercial organization?

Patent agencies are government departments. It is an office set up by the State Patent Office in various provinces and cities to facilitate patent application in various regions. Patent application consultation, payment and electronic registration can all be handled in the agency, and patent agencies also handle some related matters here. Patent agencies, firms and companies are all commercial agencies, and asking them for help is to collect agency fees in addition to official fees.