Chrome extension
Canton for Alibaba lives inside message.alibaba.com. It reads both sides of the chat, keeps the roles straight, and suggests the reply where you type it.
Install in four steps
- 1
Open Chrome's extensions page
Type chrome://extensions in the address bar and switch on Developer mode (top right).
- 2
Load the extension folder
Click 'Load unpacked' and choose the extension folder inside this project (…\ai ali\extension).
- 3
Point it at your Canton backend
Right-click the Canton icon, choose Options, and paste the backend URL shown below. Add the shared key only if you set CANTON_API_KEY.
- 4
Open an Alibaba chat
Go to message.alibaba.com. The Canton panel appears bottom-right. Click 'Capture chat' or wait for a new supplier message, then 'Analyse & draft'.
Backend URL
http://localhost:3000Test the agent API
Sends a sample supplier message to /api/agent/suggest, the same call the extension makes.
What it can do
- Capture the visible chat and infer who wrote what from the layout; you can flip any message.
- Detect new supplier messages and offer analysis, or analyse automatically if you switch that on.
- Show risk, flags and three drafts; insert the chosen one into the composer or copy it.
- Carry your name, company and tone from the extension options.