# Zhongtang Persistent Agent Service / 中棠持久 Agent 服务窗口 Status: public consultation beta. The persistent conversation API is online. All rule-generated prices remain test prices until the firm approves live pricing. 状态:公开咨询测试版。持久会话 API 已上线;在本所审核正式价格前,规则生成的价格均为测试报价。 ## Purpose / 用途 This service is designed for a client's AI agent, not only for a human chat widget. One persistent conversation supports China entity setup tax planning, bookkeeping and tax filing, payroll and individual income tax, annual CIT settlement, and annual-audit applicability. These services are delivered by Guangzhou Zhongtang CPAs; complex questions and non-standard prices require staff confirmation. 本服务面向客户的 AI Agent,不只是人类聊天插件。一个持久会话可持续处理设立前后财税规划、记账报税、薪酬个税、年度汇算和年度审计适用性。服务由广州中棠会计师事务所承接;复杂问题和非标准价格必须由本所员工确认。 ## Public routes / 公网入口 - Human and Agent product page: https://ai.zhongtang.vip/agent/ - Capability discovery: https://ai.zhongtang.vip/agent/api/v1/capabilities - Service catalog: https://ai.zhongtang.vip/agent/api/v1/services - Agent guide: https://ai.zhongtang.vip/agent/guide.txt - OpenAPI contract: https://ai.zhongtang.vip/agent/openapi.json - Create a conversation: POST https://ai.zhongtang.vip/agent/api/v1/agent/conversations This Agent service is separate from the existing AI receptionist and the audit draft API. Do not reuse their authentication or endpoints. 本 Agent 服务与既有 AI 接待员、审计报告初稿 API 相互独立,不要混用认证或接口。 ## Conversation model / 会话方式 1. Create a conversation with the initial question, service ID if known, structured details, and the preferred BCP 47 language tag. 2. Save the returned window ID and high-entropy access token in the Agent's credential store. The token is shown only once; the server stores only its hash. 3. Send later information in the same conversation with a unique client_message_id. 4. Read new messages incrementally with the greatest received seq: GET messages?after={seq}. 5. Return later for staff replies and confirmed quotes. Do not create duplicate conversations merely because an answer is not immediate. 6. Anonymous consultation is the initial permission level. Registration, authorization, secure document upload and orders must reuse this conversation when those modules are enabled. ## Languages / 语言 The language field accepts any valid BCP 47 language tag, including but not limited to en, zh, ar, fa, ur, ko, ja, de, fr, es, pt-BR, ru and zh-Hant. The online model generates and translates replies into the requested language in real time. Original text is retained alongside staff Chinese review text. Mobile staff views default to original text so a phone-side model can translate with full conversational context. language 字段接受任意合法 BCP 47 语言标签,不限于英语、中文或阿拉伯语。在线模型按客户指定语言实时生成和翻译。系统同时保留原文与员工中文审阅稿;手机员工视图默认展示原文,便于手机模型结合完整上下文翻译。 ## Pricing and safety / 报价与安全 - Structured quote amounts come from the deterministic pricing engine or staff confirmation, not from model-generated numeric fields. - Test prices are explicitly marked test=true and must not be represented as live offers. - Do not send passwords, identity documents, financial files or API secrets through the anonymous text-consultation stage. - Do not put access tokens in URLs, public logs or page content. - The current public build has no payment, production order or sensitive-document upload capability. 结构化报价金额来自确定性规则引擎或员工确认,不采用模型生成的金额字段。test=true 均为测试报价,不得当作正式要约。匿名文字咨询阶段不得发送密码、身份证件、财务文件或 API 密钥;不得把访问凭证放入 URL、公共日志或网页正文。当前公网版本未开放支付、正式订单或敏感资料上传。