@thinkingai/ae-cli 6.1.40 → 6.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/cli-installation-guide.md +18 -10
- package/dist/{ai-monitor-DST4NDOK.js → ai-monitor-E62FT3TT.js} +5 -7
- package/dist/ai-monitor.js +6 -8
- package/dist/{auth-BD3NIY3T.js → auth-SDK5OAGP.js} +4 -4
- package/dist/{capability-3NJOQHZQ.js → capability-F6YWGPZZ.js} +8 -10
- package/dist/{chunk-FRJUB66C.js → chunk-CDBW5RE6.js} +2 -2
- package/dist/{chunk-VXKKTUU2.js → chunk-DIYDOOBL.js} +2 -2
- package/dist/{chunk-WRYXVIJP.js → chunk-DZRQGI2Z.js} +1 -1
- package/dist/{chunk-SQEK6S4X.js → chunk-GTENC5CO.js} +1209 -183
- package/dist/{chunk-IY5G42YY.js → chunk-KAZ5FWPB.js} +2 -2
- package/dist/{chunk-KBJHBVO7.js → chunk-N2QILIGH.js} +1 -1
- package/dist/{chunk-STHIGWWC.js → chunk-WG27BD67.js} +75 -4
- package/dist/{chunk-RW6Z2NN3.js → chunk-ZK6KEGUR.js} +6 -6
- package/dist/{chunk-24DCOJBJ.js → chunk-ZSKLELL7.js} +2 -2
- package/dist/{compat-check-7VBBE7KO.js → compat-check-J5K3NO5G.js} +2 -2
- package/dist/{config-LFRZBPH5.js → config-O3W6XLHO.js} +4 -4
- package/dist/index.js +29 -31
- package/dist/{metadata-AR64J76Z.js → metadata-3GA2N27I.js} +5 -7
- package/dist/{personal-semantic-preference-BCOSI4DO.js → personal-semantic-preference-T2HFF2V4.js} +4 -6
- package/dist/{project-semantic-DJLXAXLD.js → project-semantic-WJOP2HGJ.js} +4 -6
- package/dist/{sync-4TUIQ2PZ.js → sync-K65X7ODO.js} +3 -3
- package/dist/{te-agent-EMDWA3M6.js → te-agent-QWZC36YS.js} +1 -3
- package/dist/{te-analysis-NJHSEKGW.js → te-analysis-7E2GVKOR.js} +29 -14
- package/dist/{te-community-JSUSZEYH.js → te-community-NQNSLNON.js} +5 -8
- package/dist/{te-dataops-I264BUTI.js → te-dataops-PMI7UX36.js} +3 -4
- package/dist/{te-engage-XNMQYO5N.js → te-engage-EZBV5IPQ.js} +4 -6
- package/dist/{te-experiment-5SCHMYVO.js → te-experiment-RDB3TYBG.js} +4 -6
- package/dist/{te-kb-QQ53TNRZ.js → te-kb-OWPJB243.js} +4 -6
- package/dist/{te-team-V6BBI52R.js → te-team-NCMN34IL.js} +4 -6
- package/dist/{things-THHGDSEC.js → things-UBMLTY3S.js} +1 -3
- package/dist/{update-53ZUXWV5.js → update-LYVYF3KJ.js} +3 -3
- package/dist/{web-runtime-HIXOSNJ6.js → web-runtime-XJWDFVP3.js} +343 -664
- package/package.json +1 -1
- package/skills/ae-onboarding/SKILL.md +42 -23
- package/skills/ae-onboarding/references/about-ae.md +68 -0
- package/skills/ae-onboarding/references/business-data.md +46 -0
- package/skills/ae-onboarding/references/business-sdk.md +1 -1
- package/skills/ae-onboarding/references/demo-journey.md +58 -0
- package/skills/ae-onboarding/references/demo-operations.md +45 -21
- package/skills/ae-onboarding/references/onboarding_experiment_launch.md +5 -4
- package/skills/ae-onboarding/references/onboarding_experiment_plan.md +9 -2
- package/skills/ae-onboarding/references/onboarding_growth.md +37 -5
- package/skills/ae-onboarding/references/onboarding_run.md +20 -2
- package/skills/ae-onboarding/references/onboarding_status.md +2 -0
- package/skills/ae-onboarding/references/presentation.md +79 -0
- package/skills/ae-onboarding/scripts/experiment-requests.mjs +9 -4
- package/skills/ae-onboarding/scripts/generate.mjs +5 -5
- package/skills/ae-onboarding/scripts/resolve-experiment-preset.mjs +5 -2
- package/skills/ae-onboarding/scripts/web-journey.mjs +39 -27
- package/dist/chunk-6E6HCTP2.js +0 -60
- package/dist/chunk-PUSFEC6B.js +0 -29
- package/dist/chunk-QOJXLXDJ.js +0 -55
package/package.json
CHANGED
|
@@ -1,66 +1,85 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ae-onboarding
|
|
3
|
-
version: 1.1.
|
|
4
|
-
description: "Guide Demo analysis
|
|
3
|
+
version: 1.1.56
|
|
4
|
+
description: "Guide Demo growth analysis, business diagnosis, and A/B draft review in AE onboarding, and route business data integration in a local agent."
|
|
5
5
|
metadata:
|
|
6
6
|
internal: true
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
Use this Skill for an explicitly started AE PLG session or the platform's active first-experience conversation. Retain the session ID returned by [`ae-cli analysis onboarding run`](references/onboarding_run.md) and use `--session-id` for all subsequent calls. To inspect progress, use [`ae-cli analysis onboarding status`](references/onboarding_status.md).
|
|
9
|
+
Use this Skill for an explicitly started AE PLG session or the platform's active first-experience conversation. Retain the session ID returned by [`ae-cli analysis onboarding run`](references/onboarding_run.md) and use `--session-id` for all subsequent calls. To inspect progress, use [`ae-cli analysis onboarding status`](references/onboarding_status.md). Write summaries, chart labels and choices in the customer's conversation language. For Chinese use 星屿游戏 and 星光冒险礼包 for Star Island and its item, and 赛季通行证 for the second sample.
|
|
10
10
|
|
|
11
|
-
For each user decision, show the result or context, then render the choice in the same turn. Use `interaction.options`
|
|
11
|
+
For each user decision, show the result or context, then render the choice in the same turn. Use the values from `interaction.options` when present and follow [onboarding copy and charts](references/presentation.md) for the localized labels and inline Markdown charts. In Codex, prefer the blocking `request_user_input` when available and use `request_user_input_async` otherwise. In Claude Code, call `AskUserQuestion`. Use the equivalent native picker in other hosts. When a local picker returns before the user answers, use the host’s wait mechanism and keep the turn open until the user chooses or dismisses it. If the picker is unavailable or fails, ask the same question with its options in chat and resume on the user’s reply. Progress updates and actions that can proceed automatically require no choice.
|
|
12
|
+
|
|
13
|
+
Use clickable text links for dashboards, evidence, experiment pages, official resources and contact pages. Explain briefly what to click and what it opens. Keep the picker for user decisions that advance the conversation.
|
|
14
|
+
|
|
15
|
+
Use [inline Markdown charts](references/presentation.md#choose-and-render-a-chart) throughout the Demo, from the opening finding through the final report. Reuse the current result's `markdown_charts` when available.
|
|
16
|
+
|
|
17
|
+
Use the [market-specific product resources](references/about-ae.md#product-resources) for the product introduction and completion links. The conversation language determines the copy and link labels.
|
|
18
|
+
|
|
19
|
+
Keep the verified report, its link, the completion greeting, and the market-specific website and contact links together in the final local reply. Follow the [completion format](references/demo-operations.md#choose-the-next-step) when the host displays choices separately.
|
|
20
|
+
|
|
21
|
+
For a single action, use a picker that supports one option. In Codex, use `request_user_input_async` when available for that action. If the host requires multiple options, show the single action in plain text and wait for the user to choose it or ask to stop. Keep any host-provided skip or dismiss behavior.
|
|
12
22
|
|
|
13
23
|
## Web onboarding
|
|
14
24
|
|
|
15
|
-
When the platform identifies this as the active first-experience conversation, skip Login.
|
|
25
|
+
When the platform identifies this as the active first-experience conversation, skip Login. At the start of the walkthrough, run `node <this-skill-directory>/scripts/web-journey.mjs active` from the current conversation directory. Use the existing sandbox CLI from that directory, omitting `--host`, `--region`, and `--website-env` from all commands. Reuse the same session ID. If the platform-provided identity or CLI is unavailable, explain that the experience cannot proceed. Do not install the CLI, open a login page, or switch credentials.
|
|
26
|
+
|
|
27
|
+
Start with `ae-cli analysis onboarding run --language <locale> --format json` using the conversation language (`zh-CN`, `en-US`, `ja-JP`, or `ko-KR`). If the customer directly requests the Demo, add `--choice demo` and use the recommended sample unless they select another one. On `choose_experience`, show **Start the demo**, **See what ThinkingAI can do**, and **Not now** using the returned `interaction.options`. If the customer chooses **See what ThinkingAI can do** or asks what AE does before the Demo, show the [Web introduction and links](references/about-ae.md#web-onboarding), then return to that same picker. Pass `--choice demo` after the customer chooses **Start the demo**.
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
When the conversation language changes at the opening picker, run the same command with the current `--session-id` and new `--language`. During or after a Demo, use `ae-cli --dry-run analysis onboarding run --session-id <session-id> --language <locale> --format json` to refresh `product_resource_market` for the links. Carry the new language into subsequent `run` commands.
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
For each choice, use the CLI result carrying `interaction` as the final tool call and end the reply with one fenced `options` block. Use one to five localized plain lines without numbering. When offering sample selection, first call `node <this-skill-directory>/scripts/web-journey.mjs choose-sample`. After giving follow-up recommendations, call the same script with `after-follow-up`. A choice is sent back as the user's message.
|
|
32
|
+
|
|
33
|
+
After verifying the experiment report, follow [the Web completion choices](references/demo-operations.md#choose-the-next-step). Write the `done` marker only after the user chooses **Finish the demo** or explicitly ends the verified Demo. If they stop before a report is verified, write `stopped` instead. Run the marker command from the current conversation directory. The platform shows the workspace entry after the reply. Business SDK setup requires the customer's local workspace. If asked about it in Web onboarding, explain that it is available in a local agent.
|
|
20
34
|
|
|
21
35
|
## Login
|
|
22
36
|
|
|
23
|
-
For a
|
|
37
|
+
For a local onboarding request, start with `ae-cli auth status --format json` on the requested or active host. If the user is signed in and wants to use that account, read [shared progress](references/onboarding_run.md#shared-progress) on that host. If there is no signed-in account and the user has left the account route open, show **Create an AE account** and **Sign in to my existing AE account** in the user's language, then wait for a choice. A host or market identifies the environment. The account choice determines when to open a browser or run a login command.
|
|
38
|
+
|
|
39
|
+
When the user explicitly requests onboarding and needs a new account, offer **Create an AE account** and **Learn about AE** before starting website onboarding. Use the [localized labels](references/about-ae.md#localized-labels). If they choose **Learn about AE**, show the introduction and available product resources, then offer **Create an AE account**. Wait for the user to choose signup or request it directly before starting website onboarding. When resuming a session that already has a login page, follow the current login step.
|
|
24
40
|
|
|
25
|
-
|
|
41
|
+
After the user chooses signup, follow [website signup](references/onboarding_run.md#website-signup) to resolve the production market or use the requested overseas test market. Keep that market through login. Use the requested display language or the conversation language for the UI, and English for a neutral local welcome. Existing accounts use their original host.
|
|
26
42
|
|
|
27
43
|
Follow `next_action` and the browser receipt. For `guide_existing_window`, direct the user to the page already opened in their system default browser. For `show_fallback_link` or a window the user cannot find, give the exact URL for that browser. For `complete_website_login`, show **I finished signing in** and **I need help signing in**. For `approve_device`, show **I approved CLI access** and **I need help authorizing the CLI**. Resume the same session when the user confirms. For `restart_website_login` or `reauthorize_cli`, show the returned recovery choice and **Not now**. If a matching older CLI returns `run_onboarding` with zero delay after claiming authorization, run once more in the same turn. On `choose_experience`, show the experience picker immediately.
|
|
28
44
|
|
|
29
45
|
After the user confirms signing in, if website authorization is `authorizing`, `approved`, or `claimed` but still settling, wait `poll_after_ms` and retry the same session within the current turn. Avoid asking them to confirm the same browser action again. Show the next picker as soon as the CLI returns it.
|
|
30
46
|
|
|
31
|
-
##
|
|
47
|
+
## Local agent experience
|
|
48
|
+
|
|
49
|
+
After login, resume the user's original AE task if they signed in to perform it. For a walkthrough, tell them what the Demo will help them find, then show **Start the demo** first and **Learn about AE** second, using `demo_entry` when available. After the product introduction, return to the same choice. Pass `--choice demo` only after the user chooses or directly requests the Demo. Route a direct request to connect business data through [business data integration](references/business-data.md).
|
|
32
50
|
|
|
33
|
-
|
|
51
|
+
Follow the [local Demo journey](references/demo-journey.md) for project overviews, growth opportunities, and business diagnosis. A direct request for either existing growth scenario or the purchase funnel can go straight to its analysis. On `confirm_business_project`, show the returned candidate and pass `--confirm-business-project-id` after confirmation. On `resolve_business_project`, direct the user to AE to resolve the registration project. Use the project ID returned by AE.
|
|
34
52
|
|
|
35
53
|
## Demo
|
|
36
54
|
|
|
37
|
-
|
|
55
|
+
For a versioned onboarding entry, follow [shared progress](references/onboarding_run.md#shared-progress) before starting or resuming the first Demo. After verifying its A/B replay, record completion using the same run ID. Web uses the platform identity for the same commands.
|
|
38
56
|
|
|
39
|
-
When the sample is ready, open the growth picker from `interaction.options`. Offer **Find a growth opportunity**, **Win back players who started checkout but did not pay**, and **Change sample**. In Chinese use **帮我找一个增长机会**, **找回结账未支付的玩家**, and **更换样例**. For a direct request for either scenario or the purchase funnel, go straight to [growth results](references/onboarding_growth.md).
|
|
40
57
|
|
|
41
|
-
|
|
58
|
+
Use the server-selected recommendation when there is no confirmed sample selection. Keep the selected sample through the verified experiment. Offer a sample picker after a verified report. Pass `run --sample <sample-id>` once after the user selects a sample for the next round. If the response says `poll_demo`, wait for `poll_after_ms` and resume `run`. Report a preparation error with its retry action.
|
|
42
59
|
|
|
43
|
-
|
|
60
|
+
On Web, show the [project overview](references/onboarding_growth.md#demo-overview) before using the existing growth picker. On a local agent, use the [local Demo overview](references/demo-journey.md#project-overview) and its two analysis routes. A direct scenario uses [growth results](references/onboarding_growth.md).
|
|
61
|
+
|
|
62
|
+
Run the selected growth scenario and retain it through follow-up and experiment planning. On `phase=ready`, show the finding, the [scenario-specific visual](references/onboarding_growth.md#presentation), and a visible **Data basis** section with the localized heading, sample scope, source counts, and calculation.
|
|
63
|
+
|
|
64
|
+
For Web and a directly requested growth scenario, offer **See how to follow up** (**看看怎么跟进**) after the result. Follow the local journey for selections made from the local Demo overview. For checkout recovery with fewer than two eligible accounts, explain the count and offer another scenario.
|
|
44
65
|
|
|
45
66
|
When the customer asks how to follow up with these users, show the [follow-up chart and recommendation](references/onboarding_growth.md#follow-up) from the last ready growth response for the selected sample and scenario. If baseline links were missing, use one read-only `status` call to check for them and include only links returned for this sample. In Web, make this check before the `after-follow-up` call.
|
|
46
67
|
|
|
47
|
-
In that turn, make the chart visible above the picker.
|
|
68
|
+
In that turn, make the chart visible above the picker. Offer only **Create an A/B draft** (**生成 A/B 草稿**). Wait for the customer's choice before generating the plan.
|
|
48
69
|
|
|
49
70
|
### Generate an A/B experiment plan
|
|
50
71
|
|
|
51
|
-
When the customer chooses **生成 A/B
|
|
52
|
-
|
|
53
|
-
For every Demo experiment plan, require `approver.status=ready` before offering launch confirmation. On `failed`, report the returned reason and retry plan preparation after resolving it.
|
|
72
|
+
When the customer chooses **生成 A/B 草稿** or selects a runnable diagnosis action, call [experiment-plan for the selected scenario](references/onboarding_experiment_plan.md). For the local journey use `--draft-only`. This returns a saved draft with `approver.status=deferred` and review choices. For Web's existing plan flow continue to require `approver.status=ready` before presenting launch confirmation.
|
|
54
73
|
|
|
55
|
-
On `phase=ready`, retain `run_id` and
|
|
74
|
+
On `phase=ready`, retain `run_id` and display the [A/B comparison table](references/demo-operations.md#present-the-plan). In the local journey, offer **Approve draft** first, then the three [optional review questions](references/demo-journey.md#review-the-same-draft). Record each question after answering it and use the updated choices for the same draft. For plan failures, follow the returned action and resolve the failure before offering launch.
|
|
56
75
|
|
|
57
76
|
### Confirm and start the A/B experiment
|
|
58
77
|
|
|
59
|
-
When the customer chooses
|
|
78
|
+
When the customer chooses **审核通过并启动** or explicitly confirms the displayed runnable plan, call [experiment-launch](references/onboarding_experiment_launch.md) with its saved `run_id` and `--wait-report`. This starts the experiment, immediately replays the synthetic events and waits for exposure data. **Required for every onboarding Demo approval:** only `ae-cli analysis onboarding experiment-launch` may submit or approve the draft, including on retries and resumes. If a resumed run returns `upload_experiment_replay`, proceed with `--wait-report` immediately. After the Receiver accepts the replay, [verify the persisted events](references/demo-operations.md#report-verified-results) in the same turn. Once they match the replay receipt, present the Demo report in the conversation, even if the platform summary is pending or differs. Follow the [completion format](references/demo-operations.md#choose-the-next-step) for the report link, welcome message and next choices.
|
|
60
79
|
|
|
61
|
-
For an explicit request to launch a Demo experiment, use the requested or previously selected scenario. If neither is available, use the default. Obtain a `run_id` and launch using the existing authorization. For a draft-only
|
|
80
|
+
For an explicit request to launch a Demo experiment, use the requested or previously selected scenario. If neither is available, use the default. Obtain a `run_id` and launch using the existing authorization. For a local review draft request, use `experiment-plan --draft-only`. For requests that explicitly ask to create an AE platform draft, follow [draft-only creation](references/demo-operations.md#draft-only-creation). After the Demo, route **Connect my data** through [business data integration](references/business-data.md).
|
|
62
81
|
|
|
63
82
|
|
|
64
83
|
## Business SDK in a local agent
|
|
65
84
|
|
|
66
|
-
On `identify_workspace_projects`, follow [plan-based SDK setup](references/business-sdk.md) with the bound registration project. Complete after the user confirms setup and show the project-specific real-time data link.
|
|
85
|
+
Use `--choice business` after the user requests SDK installation or selects that route. On `identify_workspace_projects`, follow [plan-based SDK setup](references/business-sdk.md) with the bound registration project. Complete after the user confirms setup and show the project-specific real-time data link.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# About Agentic Engine
|
|
2
|
+
|
|
3
|
+
When the user chooses **Learn about AE**, use the introduction in the display language and include the official links for their market from [Product resources](#product-resources).
|
|
4
|
+
|
|
5
|
+
In a local agent, finish the pre-registration introduction with **Create an AE account** as the next choice. Open registration only after the user chooses it. After login return to the experience choice. After an experiment keep the same session and return to the report's follow-up choices.
|
|
6
|
+
|
|
7
|
+
## Web onboarding
|
|
8
|
+
|
|
9
|
+
Use the introduction in the conversation language. Use `product_resource_market` from the latest Web onboarding `run` or `--dry-run` result to select the [product website and contact page](#product-resources). Show only those two resources as clickable text links with the localized labels below. Omit the links when the field is absent or `null`. Before the Demo, return to the same Web opening picker. After a verified experiment, return to the same [report follow-up choices](demo-operations.md#choose-the-next-step).
|
|
10
|
+
|
|
11
|
+
## Product resources
|
|
12
|
+
|
|
13
|
+
In a local agent, use the market confirmed for the signed-in account's AE host. Before sign-in, use the confirmed registration market. Take all links from that one row, including the manual and case studies. For example, a Chinese conversation in the United States market uses Chinese link labels and the United States URLs. When the market is unknown, show the introduction and add the links once the market is confirmed. For Web, follow the [Web market rule](#web-onboarding).
|
|
14
|
+
|
|
15
|
+
| Market | Product website | Contact us | Cases or reading | Manual |
|
|
16
|
+
| --- | --- | --- | --- | --- |
|
|
17
|
+
| China (`cn`) | https://www.thinkingai.cn/ | https://www.thinkingai.cn/request-demo/ | [Enterprise AI Agent use cases](https://www.thinkingai.cn/blog/enterprise-ai-agent-14-use-cases-casebook/) | [ThinkingAI documentation](https://docs.thinkingai.cn/6.1/zh/) |
|
|
18
|
+
| United States (`us`) | https://www.thinkingai.io/en/ | https://www.thinkingai.io/en/contact-sales/ | [Agentic Engine white paper](https://thinkingai.io/en/ebooks/agentic-engine-white-paper/) | [ThinkingAI documentation](https://docs.thinkingai.io/en/) |
|
|
19
|
+
| Japan (`jp`) | https://www.thinkingai.io/jp/ | https://www.thinkingai.io/jp/request-demo/ | — | — |
|
|
20
|
+
| South Korea (`kr`) | https://www.thinkingai.io/kr/ | https://www.thinkingai.io/kr/request-demo/ | — | — |
|
|
21
|
+
|
|
22
|
+
Show the available links as text links. After the verified local report, use the same row's website for **Learn about AE** and contact page for **Contact us**. In a local agent, show the product video when the host supplies a verified playable asset for that market.
|
|
23
|
+
|
|
24
|
+
## Localized labels
|
|
25
|
+
|
|
26
|
+
Use the label for the customer's conversation language. The market determines the link destinations.
|
|
27
|
+
|
|
28
|
+
| Action | 中文 | English | 日本語 | 한국어 |
|
|
29
|
+
| --- | --- | --- | --- | --- |
|
|
30
|
+
| Register | 创建 AE 账号 | Create an AE account | AE アカウントを作成 | AE 계정 만들기 |
|
|
31
|
+
| Learn | 先了解 ThinkingAI | See what ThinkingAI can do | ThinkingAI について | ThinkingAI 알아보기 |
|
|
32
|
+
| Connect data | 接入数据 | Connect my data | データを接続 | 데이터 연결 |
|
|
33
|
+
| Continue Demo | 继续体验Demo | Continue the demo | デモを続ける | 데모 계속하기 |
|
|
34
|
+
| Change Demo | 换个 Demo 继续 | Try another demo | 別のデモを試す | 다른 데모 체험하기 |
|
|
35
|
+
| Finish Demo | 完成体验 | Finish the demo | デモを終了 | 체험 완료 |
|
|
36
|
+
| End experience | 体验结束 | End the experience | 体験を終了 | 체험 종료 |
|
|
37
|
+
|
|
38
|
+
## 中文
|
|
39
|
+
|
|
40
|
+
**Agentic Engine(AE)**是 ThinkingAI 为产品、运营和数据团队打造的 AI Agent 平台。接入业务数据、团队知识库和运营工具后,你可以在当前 AI 工具里提问。分析 Agent 按团队的指标口径查数,运营 Agent 可以找出值得跟进的用户,并为他们准备合适的消息。
|
|
41
|
+
|
|
42
|
+
比如,新注册用户第二天很少回来。你可以用 AE 比较各渠道的留存,查看用户集中在哪一步退出新手引导,并通过原始报表核对结果。你还能用 A/B 实验比较两版引导,看看哪一版让更多用户留下来。
|
|
43
|
+
|
|
44
|
+
产品官网 · 联系我们
|
|
45
|
+
|
|
46
|
+
## English
|
|
47
|
+
|
|
48
|
+
**Agentic Engine (AE)** is ThinkingAI’s AI agent platform for product, growth, and data teams. Connect your business data, team knowledge, and engagement tools, then ask questions in your current AI tool. An analysis agent uses your team's metric definitions, and an engagement agent can identify users worth following up with and prepare messages for them.
|
|
49
|
+
|
|
50
|
+
If few new users return the next day, you can use AE to compare retention across channels, find where users drop out of onboarding, and check the underlying reports. An A/B test can then compare two onboarding flows to see which one keeps more users.
|
|
51
|
+
|
|
52
|
+
Product website · Contact us
|
|
53
|
+
|
|
54
|
+
## 日本語
|
|
55
|
+
|
|
56
|
+
**Agentic Engine(AE)**は、ThinkingAI がプロダクト、グロース、データチーム向けに提供する AI エージェントプラットフォームです。業務データ、チームのナレッジ、エンゲージメントツールを接続すると、普段使っている AI ツールから質問できます。分析エージェントはチームの指標定義に沿ってデータを調べ、エンゲージメントエージェントはフォローすべきユーザーを見つけてメッセージを準備します。
|
|
57
|
+
|
|
58
|
+
たとえば、新規登録ユーザーが翌日にほとんど戻ってこない場合、チャネル別の継続率を比較し、オンボーディングのどこでユーザーが離脱したかを調べ、元のレポートで確認できます。さらに A/B テストで二つのオンボーディングを比較し、どちらがより多くのユーザーの継続につながるかを検証できます。
|
|
59
|
+
|
|
60
|
+
製品サイト · お問い合わせ
|
|
61
|
+
|
|
62
|
+
## 한국어
|
|
63
|
+
|
|
64
|
+
**Agentic Engine(AE)**은 ThinkingAI가 제품, 성장, 데이터 팀을 위해 만든 AI 에이전트 플랫폼입니다. 비즈니스 데이터, 팀 지식, 운영 도구를 연결하면 현재 사용하는 AI 도구에서 질문할 수 있습니다. 분석 에이전트는 팀의 지표 정의에 따라 데이터를 분석하고, 운영 에이전트는 후속 대응이 필요한 사용자를 찾아 메시지를 준비합니다.
|
|
65
|
+
|
|
66
|
+
예를 들어 신규 가입 사용자가 다음 날 거의 돌아오지 않는다면, 채널별 리텐션을 비교하고 온보딩에서 사용자가 주로 이탈하는 단계를 찾아 원본 보고서로 확인할 수 있습니다. 두 온보딩 흐름을 A/B 테스트로 비교해 어느 쪽에서 더 많은 사용자가 계속 이용하는지도 확인할 수 있습니다.
|
|
67
|
+
|
|
68
|
+
제품 웹사이트 · 문의하기
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Connect business data in a local agent
|
|
2
|
+
|
|
3
|
+
Use this flow when the user selects **Connect my data** after the Demo or directly asks to connect business data. Keep the signed-in account, host and onboarding session. Route an explicit task first. An existing data file or Feishu Sheet or Bitable link supplied for this task is enough to start source inspection in the same turn. Follow the route's own confirmation steps for writes.
|
|
4
|
+
|
|
5
|
+
When a route needs an AE project, reuse the user's verified business project. Use `analysis onboarding status --session-id <session-id>` if the current response lacks that context. A `business_project` with the matching top-level `project_id` is the bound registration project. If AE returns only a candidate, confirm it with the user. If the project is missing, ask which business project to use. Verify any explicitly selected target on the same host before writing. Use the business project throughout and keep the Demo project for sample results. Only the SDK route uses `analysis onboarding run --choice business`.
|
|
6
|
+
|
|
7
|
+
## Data source choices
|
|
8
|
+
|
|
9
|
+
If the source and intent are unclear, show the short introduction below. In other languages, translate the introduction and the option labels. Keep CSV and Excel as the file examples.
|
|
10
|
+
|
|
11
|
+
> **用你的数据试一次**
|
|
12
|
+
>
|
|
13
|
+
> 上传 CSV 或 Excel 文件,或粘贴飞书电子表格、多维表格链接。我会先检查字段,告诉你哪些数据可以导入。
|
|
14
|
+
|
|
15
|
+
Render `business_data.interaction` in the native picker. Use these labels in Chinese and as the fallback order for older CLI builds:
|
|
16
|
+
|
|
17
|
+
| Value | 中文 | English |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| `import_data` | 导入文件或飞书表格 | Import a file or Feishu table |
|
|
20
|
+
| `sdk` | 接入应用 SDK | Connect an app SDK |
|
|
21
|
+
| `more_data_tools` | 更多接入工具 | More integration tools |
|
|
22
|
+
|
|
23
|
+
- **Import a file or Feishu table.** Use `ae-data-integration`. Ask for the file or link if missing. Inspect its structure, account identifiers and event time when applicable. Show the proposed mapping and validation results before any upload. After ingestion, verify the expected data in AE. Use the same route for other supported formats when the user provides one.
|
|
24
|
+
- **Connect an app SDK.** Run `ae-cli analysis onboarding run --session-id <session-id> --choice business`. Follow [SDK setup](business-sdk.md) with the selected application platform and code directory. An SDK how-to question can go directly to `ae-data-integration-helper`.
|
|
25
|
+
- **More integration tools.** Show the choices below. Handle a user's explicit request for any of them directly.
|
|
26
|
+
|
|
27
|
+
## More integration tools
|
|
28
|
+
|
|
29
|
+
Render `business_data.tools` in the native picker. If the host cannot fit the list in its picker, show the labels as text and accept their selection or a natural-language request.
|
|
30
|
+
|
|
31
|
+
| Value | 中文 | English | Route |
|
|
32
|
+
| --- | --- | --- | --- |
|
|
33
|
+
| `datax` | 用 DataX 接入 | Connect with DataX | Follow [DataX setup](#datax-setup). |
|
|
34
|
+
| `logbus2` | 配置 LogBus2 | Configure LogBus2 | Use `ae-data-integration-helper` for setup and troubleshooting. Use the tracking code route for configuration generated from a confirmed plan. |
|
|
35
|
+
| `tracking_plan` | 生成埋点方案 | Create a tracking plan | Use `ae-tracking-matrix` to route to `ae-generate-tracking-plan`. |
|
|
36
|
+
| `migrate_tracking` | 迁移已有埋点 | Migrate existing tracking | Start with `ae-tracking-matrix`, then use `ae-migrate-tracking-code` for the existing provider and confirm the migration mode. |
|
|
37
|
+
| `dimension_table` | 导入维度表 | Import a dimension table | Use `ae-metadata` to create or bind the dimension table in the business project. |
|
|
38
|
+
| `check_ingestion` | 检查已有上报 | Check existing ingestion | Use `ae-tracking-matrix` for verification. Read `tracking live-data list`, `tracking ingest summary` or `tracking ingest-error list` as needed. |
|
|
39
|
+
|
|
40
|
+
When the customer selects **More integration tools** or directly requests database sync, check `ae-cli --host <verified-host> config show`. Append **DataOps 数据源同步** to the picker or route the request to `ae-dataops` only if `businesses.dataops` is `true`. Verify the DataOps space when required by that route.
|
|
41
|
+
|
|
42
|
+
### DataX setup
|
|
43
|
+
|
|
44
|
+
Use `ae-data-integration-helper` and the [DataX Quick Start](https://github.com/alibaba/DataX/blob/master/userGuid.md) and [ThinkingAI Writer guide](https://docs.thinkingai.io/en/manual/ta-datax-writer). Ask only for the missing source type and the machine that will run DataX. If setup is needed, check Java and Python, install DataX and the ThinkingAI Writer on the selected machine, then run the DataX self-test. For an existing installation, check the Reader and Writer and proceed to configuration.
|
|
45
|
+
|
|
46
|
+
Configure the Reader, Writer and field mapping for the verified business project. Run a small confirmed batch using `datax.py` when the machine is accessible. Otherwise, provide the configuration and commands for the user's machine. Verify that the expected rows landed in AE with the ingestion tools and report the actual result.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use the host's picker for project selection, plan confirmation, code insertion approval, and setup completion. When the tracking Skill expects `ok`, offer **Confirm and continue** and **Request changes**; collect free text only for the requested changes or missing values.
|
|
4
4
|
|
|
5
|
-
1. Read `workspace_projects
|
|
5
|
+
1. Read `workspace_projects` and verify manifests and startup files. When the customer already selected a code directory, use it after verification. Otherwise show project choices with their platform and directory, and wait for a selection. Verify the AppID and receiver for the session's bound registration project with `ae-cli analysis project info get`, or use the `project.info.get` capability on the same host if the dedicated command is unavailable. Keep this AE target through the plan and code steps.
|
|
6
6
|
2. Load `ae-tracking-matrix` for routing. For a codebase without a plan, use `ae-generate-tracking-plan` with the selected codebase as source. For an existing plan, review a copy against the chosen entrypoints and reuse compatible events. Show the planned business events, properties and trigger locations for confirmation. If the selected SDK supports auto-collection, include its supported options in the plan review and let the user choose whether to enable them. Use the existing plan delivery flow for optional synchronization or Excel.
|
|
7
7
|
3. Hand the confirmed plan and resolved project context to `ae-generate-tracking-code`. Reuse existing initialization or add the supported SDK. Insert explicit tracking calls at the confirmed business triggers and apply the user's auto-collection choices. Preserve existing auto-collection settings unless the user confirms a change. Use one authoritative reporting location per business fact. Keep server credentials out of client code.
|
|
8
8
|
4. Run the project's normal non-deploying checks. Show the returned `realtime_data_url` and how to trigger the planned actions. In Chinese, label the link **查看实时数据**. Use the verified host and bound business project ID in `<host>/#/data/realtime?setupProjectId=<project_id>` if an older CLI omits the URL. Present **I finished setup** and **I need help testing** in a picker. After confirmation, resume `run --choice business --sdk-complete` and include the link again. Report event arrival only after observing the customer's events in AE.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Local Demo journey
|
|
2
|
+
|
|
3
|
+
Use this flow in a local Agent after login. Keep the `session_id`, selected sample, selected analysis route, and current experiment `run_id` through the conversation. Preserve earlier reports when a user starts another round.
|
|
4
|
+
|
|
5
|
+
## Project overview
|
|
6
|
+
|
|
7
|
+
If AE supplies a registration industry, use the corresponding sample as the initial selection. Games, software and SaaS, and other industries use `star-island`. Commerce and retail, and content and community use `season-pass`. When the industry is unavailable, use the server recommendation. Advance pending preparation with `run` and the same session after `poll_after_ms`. If preparation fails, offer to retry the same sample.
|
|
8
|
+
|
|
9
|
+
Use one matching baseline `growth` read as described in [Demo overview](onboarding_growth.md#demo-overview). Use the [opening finding and chart for this sample](presentation.md#differentiate-the-samples). Give the item, dates and timezone in a short data note. Invite the user to click the available **View Demo dashboard** or **View purchase funnel** links to check the data.
|
|
10
|
+
|
|
11
|
+
After the overview, render the two choices in `demo_overview.interaction`. Use the [sample-specific labels](presentation.md#differentiate-the-samples) and the localized `featured_question` to explain the follow-up choice. `featured_question` and `featured_topic` rotate when the user starts another round with the same sample. The sample picker appears after a verified experiment report.
|
|
12
|
+
|
|
13
|
+
## Growth opportunity
|
|
14
|
+
|
|
15
|
+
Answer the current `featured_question` from the matching baseline and show the reason to follow up, with source counts. Use returning viewers for `product_revisits`, checkout abandoners for `checkout_recovery`, and the ordered funnel for `purchase_conversion`. For Season Pass show the overlap when comparing the two audiences. Offer the strategy that fits the result and wait for the user to select it. Use `item-coupon` for a discount-versus-reminder comparison and `checkout-recovery` for a product-details-versus-checkout comparison. Read the selected `growth --scenario` when the confirmed evidence does not match or when checkout recovery needs its saved cohort. Then generate the review draft.
|
|
16
|
+
|
|
17
|
+
## Business diagnosis
|
|
18
|
+
|
|
19
|
+
1. **Choose a topic.** Use `charts.daily_viewers` from the ready overview to show the [seven-day trend](presentation.md#choose-and-render-a-chart) for the selected item, when available. Label it as daily unique viewers of the item detail page. Show the three item-specific topics in `demo_overview.diagnosis`, with the featured topic first. Ask which part of the item's purchase flow the user wants to understand.
|
|
20
|
+
2. **See the topic's data and choose a question.** For revisits use the purchase-rate comparison. For checkout use the checkout share or the audience overlap when comparing follow-up audiences. For conversion use the Markdown funnel. Lead with the finding and show one [matching chart](presentation.md#choose-and-render-a-chart). When the overview already showed the same numbers for the same question, show exact counts or the next relevant detail instead of repeating the visual. Show the three short follow-up questions for that topic below the result.
|
|
21
|
+
3. **See the answer and choose an action.** Answer the chosen question with the finding, supporting counts and any hypothesis that needs a test. Show the three corresponding actions. Add one sentence per action explaining what it would test. Label a review-only proposal here so its scope is clear before the user selects it.
|
|
22
|
+
4. **Generate the draft.** Carry the chosen action and its audience into the plan. For runnable scenarios, use the verified replay preset and show that the draft can be replayed before presenting review choices.
|
|
23
|
+
|
|
24
|
+
| Topic | Questions to offer | Evidence to use |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| Product revisits | 回看后没买,适合测什么? · 哪些回访玩家值得先跟进? · 能看出为什么不再回来吗? | `single_day`, `multi_day`, `purchase_rates`, and `candidate_cohorts`. Distinct viewing days measure item revisits during the sample period. The data does not identify a player's motive or game retention. |
|
|
27
|
+
| Checkout without payment | 先改结账入口还是付款信息? · 先跟进所有未付玩家还是回访者? · 能判断是离开结账还是游戏流失吗? | `funnel`, `checkout_recovery`, and `candidate_cohorts`. Compare the unpaid count and share, and distinguish the overlapping cohort. The observed event order cannot establish the cause of a checkout interruption. |
|
|
28
|
+
| Purchase conversion | 哪些玩家更接近付款? · 哪一步掉队最多? · 价格会影响回访后的购买吗? | `data_basis.funnel_transitions`, `purchase_rates`, and `candidate_cohorts`. Compare both transitions and keep hypotheses about price, item information, and checkout separate. |
|
|
29
|
+
|
|
30
|
+
Use the three actions for the selected question, in this order. Localize the labels as short actions. In Chinese, use **测试礼包八折券** for the Star Island coupon or **测试通行证八折券** for the Season Pass coupon. For direct checkout, use **提醒玩家直接回到结账**. For other actions, put the single change in the label, such as **付款前先显示金额和商品详情**.
|
|
31
|
+
|
|
32
|
+
| Topic and question | Actions |
|
|
33
|
+
| --- | --- |
|
|
34
|
+
| Product revisits 1 | Test a coupon for repeat viewers, improve item information, test a direct checkout link |
|
|
35
|
+
| Product revisits 2 | Test a coupon for repeat viewers, target the overlapping cohort, test a direct checkout link |
|
|
36
|
+
| Product revisits 3 | Preview gameplay for single-day viewers, improve item information, test a coupon for repeat viewers |
|
|
37
|
+
| Checkout 1 | Test a direct checkout link, show an amount and item summary before payment, target the overlapping cohort |
|
|
38
|
+
| Checkout 2 | Test a direct checkout link, target the overlapping cohort, test a coupon for repeat viewers |
|
|
39
|
+
| Checkout 3 | Test a direct checkout link, show an amount and item summary before payment, target the overlapping cohort |
|
|
40
|
+
| Conversion 1 | Test a coupon for repeat viewers, test a direct checkout link, improve item information |
|
|
41
|
+
| Conversion 2 | Test a direct checkout link, preview gameplay for single-day viewers, show an amount and item summary before payment |
|
|
42
|
+
| Conversion 3 | Test a coupon for repeat viewers, improve item information, test a direct checkout link |
|
|
43
|
+
|
|
44
|
+
Map the coupon and direct checkout actions to their existing Demo presets and generate a saved draft. If the checkout cohort has fewer than two accounts, offer the same sample's coupon draft. For other actions, write a review-only proposal in the conversation with the matching cohort and one change to test. Use the same optional review questions and put **Approve draft** first. Explain up front that approval records the review in the conversation. If the user wants a Demo report, offer an existing replayable action for the current sample and start review of its new draft separately.
|
|
45
|
+
|
|
46
|
+
## Review the same draft
|
|
47
|
+
|
|
48
|
+
Generate a launchable draft with `experiment-plan --draft-only --session-id <session-id> --scenario <scenario>`. Keep the returned `run_id`. Lead with the audience, the difference between the two arms, and the primary metric. Give allocation, timing and delivery rules in a short detail section. Before the picker, tell the user what approval does. Use the [short review labels](presentation.md#common-choices) for the returned `interaction`, with approval first.
|
|
49
|
+
|
|
50
|
+
| Choice | How to answer |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| 为什么选这批人? | Use the selected cohort, funnel or viewing-day criterion, sample dates, and verified count. Explain the relationship between the cohort's behavior and the hypothesis. |
|
|
53
|
+
| 小批试点怎么做? | Use `review.pilot_accounts_per_arm` to suggest a small workflow check. Explain how to verify allocation, exposure, and data collection. Keep the saved draft's original audience and allocation for this Demo. |
|
|
54
|
+
| 不加奖励可以测什么? | For checkout recovery, explain that the current draft already varies the destination at the same price. For a coupon draft, describe a separate same-price hypothesis about item information. |
|
|
55
|
+
|
|
56
|
+
Answer the selected question about the same draft. After the answer, record the option value with `experiment-plan --session-id <session-id> --run-id <run-id> --answered-question <value>` for a saved draft. Use the returned choices in the same turn. The list drops just the answered options, and approval stays first even after the third answer. Use `status --session-id <session-id> --run-id <run-id>` to resume the saved draft and its remaining questions. For a review-only proposal or an older CLI without this flag, track the answered questions for this draft in the conversation and apply the same picker rule. Launch requires the user to select approval for a runnable draft. Explain that this prepares the signed-in Demo approver, starts the experiment and replays synthetic events. Generate a new draft when the selected scenario, audience, or arms change.
|
|
57
|
+
|
|
58
|
+
If launch is blocked, keep the same `run_id` and follow the returned action. After approval and event ingestion, follow [report verification](demo-operations.md#report-verified-results) and show the chart for the selected sample.
|
|
@@ -19,12 +19,12 @@ The `item-coupon` replay exposes up to 12 accounts per arm and simulates up to e
|
|
|
19
19
|
| Coupon audience | Accounts with at least two reporting dates of item views and no purchase for the same item |
|
|
20
20
|
| Checkout recovery audience | Accounts that viewed the item, then started checkout, and did not buy within the sample window |
|
|
21
21
|
| Randomization | Exclusive account-ID bucket, 100% of the eligible audience, split 50/50 |
|
|
22
|
-
| Coupon arms | Full-price reminder at 100
|
|
23
|
-
| Checkout recovery arms | Reminder to product details vs. reminder directly to checkout, both at 100
|
|
22
|
+
| Coupon arms | Full-price reminder at 100 vs. item coupon at 80, in the saved plan currency |
|
|
23
|
+
| Checkout recovery arms | Reminder to product details vs. reminder directly to checkout, both at 100 in the saved plan currency |
|
|
24
24
|
| Delivery | Same placement and timing, one exposure per account at most, stop after purchase |
|
|
25
25
|
| Cycle | Start as soon as eligible, evaluate over seven days |
|
|
26
|
-
| Metrics |
|
|
27
|
-
| Economics |
|
|
26
|
+
| Metrics | Distinct buyers and paid order amount from `payment_success` for the active sample and item. USD metrics include a currency filter. |
|
|
27
|
+
| Economics | Cost of 50 per paid order in the saved plan currency. Profit equals paid order revenue minus order costs. |
|
|
28
28
|
|
|
29
29
|
Use the same saved preset selection and audience for plan display, targeting and replay. Reuse the sample's revenue metric and the Feature key generated for the run. Checkout recovery replays one exposure per assigned account and simulated full-price payments.
|
|
30
30
|
|
|
@@ -32,21 +32,21 @@ Use the same saved preset selection and audience for plan display, targeting and
|
|
|
32
32
|
|
|
33
33
|
Show the Demo audience, hypothesis, and evaluation period from the ready `experiment-plan` response. Insert `plan_preview_markdown` as a visible two-column Markdown table in the conversation. Translate labels and descriptions, keeping both columns, prices, and allocation values. With an older CLI, build the same **A · Control** and **B · Treatment** table from `plan.arms` and `plan.currency`. Show each group's path, price, and split side by side.
|
|
34
34
|
|
|
35
|
-
Show the metrics and cost per paid order below the table. Both groups use the same placement and timing, with at most one exposure per account and no follow-up after purchase. Localize the preview to the customer's language. Keep the local `plan_path` private.
|
|
35
|
+
Show the metrics and cost per paid order below the table. Both groups use the same placement and timing, with at most one exposure per account and no follow-up after purchase. Localize the preview to the customer's language. Format amounts from `plan.currency` as USD or CNY, independent of the response language. Keep the local `plan_path` private.
|
|
36
36
|
|
|
37
|
-
Every ready Demo plan includes `approver`.
|
|
37
|
+
Every ready Demo plan includes `approver`. In the local journey, `approver.status=deferred` means the draft is available for [review](demo-journey.md#review-the-same-draft). The confirmed launch prepares the approver. For legacy plans require `approver.status=ready` before offering launch and report preparation failures. When a coupon plan returns `metric_event`, report its status. If delivery is uncertain, check the saved event ID before sending another event. For `poll_demo`, resume Demo preparation. For `action_required`, follow the returned `next_action`.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Present the draft and its returned review choices. Use **审核通过并启动** for launchable drafts in Chinese. Explain that confirmation authorizes the Demo experiment, the signed-in account's approval when eligible, and replay of synthetic events. Keep the same draft when the customer asks a question or dismisses the picker. Launch only after explicit confirmation.
|
|
40
40
|
|
|
41
41
|
## Start and replay the confirmed experiment
|
|
42
42
|
|
|
43
|
-
Use [`experiment-launch`](onboarding_experiment_launch.md) with the confirmed plan and `--wait-report`
|
|
43
|
+
Use [`experiment-launch`](onboarding_experiment_launch.md) with the confirmed plan and `--wait-report` as soon as the customer approves. It creates the Feature and metrics, saves the draft, checks readiness, approves the exact round as the signed-in approver, and verifies that the experiment is running. It immediately sends exposure and payment events in one Receiver batch. The coupon scenario also sends coupon claims. Outcomes are timestamped five seconds after the account's exposure.
|
|
44
44
|
|
|
45
45
|
- Use the launch command as the sole path for approval writes, including after the draft already exists. Do not invoke standalone `experiment approval submit` or `experiment approval approve`, the corresponding raw capabilities, or a UI approval as a fallback. A read-only approval check can help diagnose a blocker.
|
|
46
46
|
- While the command is running, wait for the same process in the current turn. If the execution tool returns a process handle, keep polling that handle. The CLI already polls the approval round and retries recoverable errors. A pending round or a generic `CAPABILITY_EXECUTION_FAILED` does not justify stopping an active invocation or switching commands.
|
|
47
|
-
- On `wait_experiment_report
|
|
48
|
-
-
|
|
49
|
-
- On `wait_for_other_demo_experiment`, show the existing experiment link when present. The user can still explore either scenario. Resume the confirmed run after the other experiment has ended.
|
|
47
|
+
- On `wait_experiment_report` or `inspect_experiment_report` with an accepted replay and a receipt, start event verification in the same turn. For a pending report, use `poll_after_ms` if the events still need time to arrive. Keep using the saved replay.
|
|
48
|
+
- For `upload_experiment_replay`, immediately resume the same run with `--wait-report`. For `verify_experiment_results` or an older `phase=complete` response, continue to [Report verified results](#report-verified-results) in the same turn. Briefly describe progress in the conversation while the data is being prepared.
|
|
49
|
+
- On `wait_for_other_demo_experiment`, show the existing experiment link when present. The user can still explore either scenario. Resume the confirmed run after the other experiment has ended. If this is a versioned round with an active experiment from an earlier Demo, the user can also choose the other sample before binding a new run.
|
|
50
50
|
- On `run_checkout_recovery_growth`, refresh the baseline, generate a new proposal and get confirmation for the new plan.
|
|
51
51
|
- On `resume_experiment_launch` for a recoverable error, or if the execution tool times out or interrupts the process, resume `experiment-launch` in the same turn with the same `session_id`, `run_id`, and launch flags once the original process has exited. Keep the existing draft and original confirmation. Stop and explain the blocker if credentials, permissions, or approval state prevent continuation, or if the user asks to stop.
|
|
52
52
|
- On `reconcile_replay_delivery`, check the saved event UUIDs in AE. Continue to report verification if all events are present. Resolve uncertain delivery before submitting again.
|
|
@@ -55,26 +55,50 @@ Use a CLI build that provides both onboarding commands for this flow.
|
|
|
55
55
|
|
|
56
56
|
### Draft-only creation
|
|
57
57
|
|
|
58
|
-
For an explicit draft-only request, build the payloads with [experiment-requests.mjs](../scripts/experiment-requests.mjs) using the saved industry, experiment type, sample, item,
|
|
58
|
+
For an explicit draft-only request, build the payloads with [experiment-requests.mjs](../scripts/experiment-requests.mjs) using the saved industry, experiment type, sample, item, run ID and `plan.currency` (as `currency`). For checkout recovery, pass `checkout_cohort.account_ids` from the private plan as `accountIds` in the request builder's private input file. Save the revenue metric if needed, then save the Feature, primary metric, and draft. Return the draft ID.
|
|
59
59
|
|
|
60
60
|
## Report verified results
|
|
61
61
|
|
|
62
|
-
Use the experiment ID, run ID
|
|
62
|
+
Use the experiment ID, run ID and replay receipt returned by `experiment-launch`. Begin checking the persisted events as soon as the Receiver accepts the replay, including when the platform report is pending. Match exposures by experiment and group IDs, and outcomes by run ID, sample, item, and event or order IDs. If the expected events are still arriving, wait between read-only checks with bounded backoff and keep polling in the same turn. Reuse the saved receipt for each check.
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Use the platform report as a cross-check. Pass `--project-id` and `--exp-id` to each read. Refresh `ae-cli experiment report summary` with `--force-refresh true` once after ingest. Reuse `sample_size_report` when present. For `ae-cli experiment report sample-size` and `ae-cli experiment report metric-trend`, use `--start-time` and `--end-time` from `report_dates` when available and pass `--metric-id` for each trend. Run independent reads in parallel. If the exposure view is still pending, reuse the existing `--wait-report` response instead of repeatedly issuing the same failing platform query.
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Use the saved assignment receipt for assigned counts, and use query results for exposure, coupon claims, purchases, and order amounts. Match outcome accounts to verified exposure groups, keep the run and item filters, and match payment currency to the saved receipt or plan. Treat a legacy receipt without currency as CNY. Deduplicate buyers by account and orders by `order_id`.
|
|
67
67
|
|
|
68
|
-
Use the
|
|
68
|
+
Use verified distinct buyers divided by exposed users for each arm's payment rate. Follow the [Markdown A/B report layout](presentation.md#markdown-layouts) for the selected sample. Show exposure, buyers, payment rate and amount side by side. For the coupon scenario, include assigned users, coupon claims, costs and profit. Compute costs using `plan.cost_per_paid_order` and the verified unique order count. Format amounts in the saved currency (USD or CNY). Mark the result as a Demo simulation. If a group has no verified exposure, show its rate as unavailable.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
The Demo result is ready when the persisted events reconcile with the saved replay receipt. For a versioned round, record completion with [shared progress](onboarding_run.md#shared-progress) before showing the final choices. If the platform report is pending, unavailable or disagrees, identify the affected metrics and label the event-derived figures as the source. Omit disputed platform statistics and continue to the completion message and choices in the same turn. A receiver acknowledgement or an exposure-only report does not establish that all expected events are present.
|
|
71
|
+
|
|
72
|
+
### Completion message
|
|
73
|
+
|
|
74
|
+
After delivering the verified result in either host, display the matching message before the next-step picker. Replace `{item}` with the localized item from this run, or the localized Demo name if the item is unavailable. After a later round in the same session, congratulate the user on completing that round.
|
|
75
|
+
|
|
76
|
+
| Language | Message |
|
|
77
|
+
| --- | --- |
|
|
78
|
+
| 中文 | **恭喜你完成了首次增长体验!** 你已经用「{item}」样例走完了从业务诊断到 A/B 实验验证的流程。ThinkingAI 是一套基于数据和 Agent 的增长引擎,把数据分析、用户触达、用户访谈和 A/B 实验连成完整的增长闭环。你可以用自己的 Agent 体验这套增长流程。 |
|
|
79
|
+
| English | **Congratulations on completing your first growth demo!** You used the {item} sample to go from business diagnosis to verifying an A/B test. ThinkingAI is a growth engine powered by data and agents. It connects data analysis, user engagement, user interviews, and A/B testing into a complete growth loop you can explore with your own agent. |
|
|
80
|
+
| 日本語 | **初めてのグロース体験の完了、おめでとうございます!** 「{item}」のサンプルで、課題の分析から A/B テストの検証まで体験しました。ThinkingAI はデータとエージェントを活用するグロースエンジンです。データ分析、ユーザーへのアプローチ、ユーザーインタビュー、A/B テストをつなぐ一連の流れを、ご自身のエージェントでも体験できます。 |
|
|
81
|
+
| 한국어 | **첫 성장 체험을 마쳤습니다. 축하합니다!** ‘{item}’ 샘플로 비즈니스 진단부터 A/B 테스트 검증까지 진행했습니다. ThinkingAI는 데이터와 에이전트를 기반으로 한 성장 엔진입니다. 데이터 분석, 사용자 접점 관리, 사용자 인터뷰, A/B 테스트가 이어지는 성장 과정을 자신의 에이전트로 경험할 수 있습니다. |
|
|
71
82
|
|
|
72
83
|
### Choose the next step
|
|
73
84
|
|
|
74
|
-
|
|
85
|
+
Present the verified Demo report directly in the conversation. Lead with one finding that answers the draft hypothesis and show the two groups side by side. Below the figures, show **View A/B experiment report** (**查看 A/B 实验报告** in Chinese) as a text link using the `experiment_url` for that exact run. For an older CLI without `experiment_url`, build `/#/atlas/experiment/detail?expId=<exp-id>¤tProjectId=<demo-project-id>` from the verified experiment and project IDs, and prepend the verified host in an external agent. The report link is optional reading. Continue to the welcome and choices without waiting for a click. If expected event verification stops at a blocker, report it and keep the existing run ID so the customer can resume.
|
|
86
|
+
|
|
87
|
+
Show the [completion message](#completion-message) before opening the picker after verified results. Use the [localized labels](about-ae.md#localized-labels) for both pickers.
|
|
88
|
+
|
|
89
|
+
**Web.** After the report and completion message, include the localized **Product website** and **Contact us** text links using the [Web market rule](about-ae.md#web-onboarding). Call `node <this-skill-directory>/scripts/web-journey.mjs after-experiment` as the final tool call. Finish the reply with one fenced `options` block with **Try another demo** and **Finish the demo**, in that order. If an older script lacks this command, show the same `options` block. Keep the journey open while you await the selection. Only on **Finish the demo** or an explicit request to end the verified Demo, call `node <this-skill-directory>/scripts/web-journey.mjs done` from the current conversation directory and close the reply. The platform then shows the workspace entry.
|
|
90
|
+
|
|
91
|
+
**External agent.** Keep the closing section together in the final user-visible reply, in this order:
|
|
92
|
+
|
|
93
|
+
1. The verified result and the report link for this run.
|
|
94
|
+
2. The localized completion greeting and ThinkingAI introduction from [Completion message](#completion-message).
|
|
95
|
+
3. Separate **Learn about AE** and **Contact us** text links from the [account's market](about-ae.md#product-resources). In Chinese use **了解我们(官网)** and **联系我们**.
|
|
75
96
|
|
|
76
|
-
|
|
97
|
+
Keep all three parts in the final reply even if the host already showed them in a progress message or the user selected their next action before the reply finished. Keep the website and contact links directly under the greeting, including when those same URLs appeared earlier in the conversation.
|
|
77
98
|
|
|
78
|
-
|
|
99
|
+
Open the host's single-choice control with **Continue the demo** and **Connect my data**, in that order. In Chinese use **继续体验Demo** and **接入数据**. If the host cannot display the picker, show those same two choices in chat after the closing section.
|
|
79
100
|
|
|
80
|
-
|
|
101
|
+
- **Continue the demo** in an external agent or **Try another demo** in Web. List both available samples, put the current sample last and label it **Just tried**. Keep it selectable. Use the same session and run `ae-cli analysis onboarding run --session-id <session-id> --choice demo --sample <sample-id> --format json` after selection. Present the new overview as a new round and retain the prior report in the conversation. Use the existing `choose-sample` step in Web.
|
|
102
|
+
- **Connect my data.** In an external agent, use [business data integration](business-data.md) to act on the customer's intent or show the data source choices. Keep the same onboarding session.
|
|
103
|
+
- If the customer asks about the product in the conversation, share [the introduction and resources](about-ae.md) and return to the same report choices.
|
|
104
|
+
- If the customer asks to end the experience or replies **Not now** to an earlier completion picker, close the guided flow and retain the result and run ID.
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# analysis onboarding experiment-launch
|
|
2
2
|
|
|
3
3
|
```sh
|
|
4
|
-
ae-cli analysis onboarding experiment-launch --session-id <session-id> --run-id <run-id> --start-only --format json
|
|
5
4
|
ae-cli analysis onboarding experiment-launch --session-id <session-id> --run-id <run-id> --wait-report --format json
|
|
6
5
|
```
|
|
7
6
|
|
|
8
|
-
Use the session and run IDs from the confirmed Demo proposal. For checkout recovery
|
|
7
|
+
Use the session and run IDs from the confirmed Demo proposal. For both checkout recovery and coupons, `--wait-report` starts the experiment, replays the events and waits for exposure data in one call. `--dry-run` previews these stages without making changes.
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
Callers that explicitly need to pause after startup can still pass `--start-only`. If an in-progress onboarding run returns `upload_experiment_replay`, immediately resume it with `--wait-report` and the same IDs.
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
The replay command must include `--wait-report` in onboarding. It queries sample size internally for up to 25 seconds with five-second intervals, using the replay receipt's project-local start and end dates. Missing exposure views and the specific report-unavailable response remain pending. When the Receiver has accepted the replay and a receipt is available, begin [event verification](demo-operations.md#report-verified-results) even if the command returns `wait_experiment_report` or `inspect_experiment_report`. If events are still arriving, wait `poll_after_ms` when supplied and continue with the same session and run IDs. An accepted replay is reused without resending events. Poll an active process handle until it returns before starting another invocation.
|
|
12
|
+
|
|
13
|
+
`phase=complete` means the Receiver accepted the batch. A successful sample-size query returns `sample_size_report` and `report_dates`. Follow `next_action=verify_experiment_results` in the current turn. Verify the persisted events against the receipt and show their results in the conversation. Use `experiment_url` for the report link in the completion message.
|
|
13
14
|
|
|
14
15
|
See [launch handling](demo-operations.md#start-and-replay-the-confirmed-experiment) for resuming an interrupted launch and verifying ingestion.
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
# analysis onboarding experiment-plan
|
|
2
2
|
|
|
3
3
|
```sh
|
|
4
|
+
ae-cli analysis onboarding experiment-plan --session-id <session-id> --scenario checkout-recovery --draft-only --format json
|
|
5
|
+
ae-cli analysis onboarding experiment-plan --session-id <session-id> --run-id <run-id> --answered-question review_audience --format json
|
|
6
|
+
ae-cli analysis onboarding status --session-id <session-id> --run-id <run-id> --format json
|
|
4
7
|
ae-cli analysis onboarding experiment-plan --session-id <session-id> --upload-metric-event --format json
|
|
5
8
|
ae-cli analysis onboarding experiment-plan --session-id <session-id> --scenario checkout-recovery --format json
|
|
6
9
|
```
|
|
7
10
|
|
|
8
|
-
Use
|
|
11
|
+
Use `--draft-only` for local guided review. It saves the draft and returns `approver.status=deferred` and the review choices. A read-only `status --run-id` resumes the same draft for the same signed-in session and sample. Review takes place before approver registration and event upload. After the user approves, `experiment-launch` prepares the approver within the confirmed launch.
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
After answering a clicked review question, save its option value with `--answered-question` and the same run ID. The supported values are `review_audience`, `review_pilot`, and `review_no_reward`. Repeating an answer record returns the same draft and choices. The `launch` option stays first throughout review.
|
|
14
|
+
|
|
15
|
+
Legacy planning without `--draft-only` prepares the signed-in approver and reports `ready` or `failed`. The compatibility flag `--prepare-approver` remains available. The coupon-only flag `--upload-metric-event` sends one synthetic payment and returns `metric_event`. Use `--draft-only` separately from both flags.
|
|
16
|
+
|
|
17
|
+
Checkout recovery uses the verified cohort in the same session and sample. If the command returns `run_checkout_recovery_growth`, rerun [growth](onboarding_growth.md) for that scenario before planning. On `choose_growth_scenario`, explain the minimum of two eligible accounts and offer the same sample's coupon draft.
|
|
11
18
|
|
|
12
19
|
A ready response returns the proposal, `plan_preview_markdown` for display, and its `run_id` for confirmation. `--dry-run` previews the operation without changing the approver list, sending an event, or saving a plan.
|
|
13
20
|
|