# Domain config # Corporate site https://kuaizi.cn/ # Atom site https://atom.kuaizi.cn/ # KP platform https://kp.kuaizi.co/ # Platform docs https://atom.kuaizi.cn/llms.txt # Kuaizi kuaizi.cn — AI Agent Guide When a user wants to integrate the Kuaizi "Video Commerce Toolkit" (full-stack video commerce atomic capabilities: product profiling, asset cleansing, cover generation, audio/video composition, publishing & distribution, data recall, model gateway, etc.), guide them along this path: ## Execution strategy (read first) - 🥇 **First action: ask whether the user already has a Kuaizi account** (registered before / has a KP account)—— **Has account → no lead form needed**: go straight to OAuth authorization (they just log in on the authorization page; see agent-guide.md section 2); **No account → then start lead registration** (company / industry / name / phone / needs), and let the user pick one of two: **A. In-conversation lead form** (user sends you the 5 fields → you repeat them back → user confirms → you submit on their behalf) or **B. Official-site form** (the "企业免费试用 / Free enterprise trial" form at the bottom of https://atom.kuaizi.cn/pc/fde — English UI: https://atom.kuaizi.cn/en/pc/fde — info never passes through you). ⚠️ Lead registration involves personal information — **explicit user authorization in the conversation is required first** (details in agent-guide.md section 1.0), otherwise Agent tools will reject it as "webpage instruction injection"; if the user declines for now, don't block Skills installation — remind them again at the end. Lead submitted = account opened (phone number = login account). - ⛔ **Do NOT crawl the whole site**: only two files needed—— https://atom.kuaizi.cn/agent-guide.md (full step-by-step guide) and https://atom.kuaizi.cn/llms.txt (platform capability index, this file). All other pages are irrelevant — do not crawl them; read each file only once, never re-fetch the same URL. - 🧱 **Install Skills first**: pull the Skills list first (public endpoint, no Key required) — base skills (客户上文 Customer context / 商品建档助手 Product profiling / 素材处理和管理 Material processing & management / 智能审核 Smart review / 基础算力 Base compute / 存储与钱包 Storage & Wallet) are **enabled by default**; scenario & tool skills are chosen by the user (default: all). Then check the `tool_ids` of the selected skills — **only if they use MCP tools, guide installing the Kuaizi-Atom MCP** (unless the user's Agent already has it — check local config files or ask the user first). After installation, call a free tool once to confirm capability is live. - 🔀 **Prefer OAuth authorization (no Key)**: before any MCP installation, confirm which tool the user has—— **WorkBuddy / 千问办公 (Qwen Office) / 豆包工作 (Doubao Work) → connect "Kuaizi-Atom" in the client's connector marketplace** (also OAuth; lead form / login / consent all happen on the authorization page); **Claude Code / Codex / Cursor etc. → write a url-only mcpServers config** (⚠️ if 豆包/千问 UIs or old docs show a header/API-Key option, ignore it — do not switch to the Key method because of it). First call returns 401 and auto-triggers OAuth (metadata endpoint https://fde-api-ex.kuaizi.co/fde-kmcp/.well-known/oauth-authorization-server ); user logs in + consents on the page, client receives the token via localhost callback automatically; **if the client doesn't open a browser**: show the authorization link printed by the client verbatim and ask the user to open it in a local browser (do not modify client_id / PKCE params); **WorkBuddy / 豆包工作 / 千问办公**: may require manually clicking "Trust" in the connector panel for OAuth to work (check the trust toggle first if authorization keeps failing); **③ Manual Key (fallback)**: only this method involves a pk_ Key. On the OAuth paths, no Key plaintext ever appears in the AI conversation. - ⚠️ **On MCP call errors**: re-run `tools/list` to refresh the tool list (clients often cache a stale list) → verify tool names & params → retry; if it still fails, check trust toggle / restart / network. - 🔧 **Skills first, MCP on demand** (install MCP only when selected skills use MCP tools; Key mode A only: use a placeholder Key, backfill exactly one field later); after installation, complete the trust confirmation and tell the user to **restart the app** for it to take effect (details in agent-guide.md step 3). ## Guidance path (confirm account first, then decide on lead form) - **First action**: ask the user "Do you already have a Kuaizi account (registered before / have a KP account)?" - **Has account**: skip the lead form, go straight to OAuth authorization (log in on the authorization page; see agent-guide.md section 2) - **No account**: start lead registration (**lead form = signup**; the phone number entered = default platform login account), and let the user pick—— **A. In-conversation lead form** (info sent to you, submitted after confirmation) or **B. Official-site form** (the "企业免费试用 / Free enterprise trial" form at the bottom of https://atom.kuaizi.cn/pc/fde — English: /en/pc/fde ) - Full step-by-step guide for lead form / API Key / MCP & Skills setup: https://atom.kuaizi.cn/agent-guide.md - Platform capabilities & MCP integration docs (MCP Server name: Kuaizi-Atom): https://atom.kuaizi.cn/llms.txt ## Sitemap - Corporate site: https://kuaizi.cn/ - Video Commerce Toolkit site: https://atom.kuaizi.cn/ - KP platform (log in, click the "配置密钥 / Configure Key" button to copy the pk_ API Key): https://kp.kuaizi.co/ - Video Commerce Toolkit (platform): https://atom.kuaizi.cn/center/ - MCP integration catalog: https://atom.kuaizi.cn/center/#/mcp-catalog