真机验证时同一个 visit 里出现了两组 install+first-use,而单台设备发不出这个 序列:重发 install 要 last_day 为空、重发 first-use 要 used 为 false,两个字段 同在一个原子替换的文件里。查下来是 Matomo 的 trust_visitors_cookies 默认 0 —— 它不信上报里的 _id,改用 config_id(IP+UA+设备信息的哈希)认访客。我们的上报是 裸 GET 不带 UA、设备信息全 Unknown,config_id 基本退化成出口 IP,于是同一个 NAT 后的机器被归并成一个访客,除第一台外的 _id 在入库时就被丢弃,而看板上看不出 任何异常。随后 mac 重启的那条上报直接被记到了一台 linux 机器的访客名下。 结论是口径不能建立在 Matomo 猜出来的访客身份上。改发事件(e_c/e_a/e_n)之后, 三个数都等于事件数,一次访客识别都不经过: 当日新增装机 = install 当日存活设备 = install + daily-launch 当日真实使用 = first-use + daily-use 设备标识同时进 _id 和 e_n。前者被归并时会丢,后者落在动作行上跑不掉——出问题 时能直接在事件名称报表里翻出是哪台机器。这次的排查之所以只能靠猜,就是因为 当时只有 _id 一份。 连带的三处: - 删掉 dimension3(曾经用过)/dimension4(今天用过)。它们能由事件计数直接导出 (今日使用率 = first-use+daily-use ÷ install+daily-launch),留着反而是两个 会被 visit 归并覆盖的字段。dimension1/2 保留,但 Matomo 后台要重建为 Action scope —— Visit scope 的值同样存在被同一 visit 的后来者覆盖的问题。 - 拆开两个槽位的游标。这条必须一起改:原来共用 last_day,跨午夜后若用户先开 对话,使用事件推进了共用游标,当天的启动事件就再也发不出去。换成事件计数之后 这直接让"当日存活设备"系统性少算,且少算的恰好是开着不关的重度用户。 - 使用槽也改成"成功才推进"。原来先落盘 used=true 再发送,理由是"used 是状态 不是游标";dimension3 删掉后 used 只剩"选 first-use 还是 daily-use"这一个 用途,已经纯粹是游标了。于是失败重试仍是 first-use,不会退化成 daily-use 把 这台机器从激活数里永久抹掉——与 install 的判据是同一条理由。 状态文件的字段名一个没动,已有的 telemetry.json 不会因此重发 install。 上线前仍需人工:后台删掉四个 visit scope 维度、按序重建两个 action scope 的 (版本、系统架构);trust_visitors_cookies 仍建议置 1(主要指标已不依赖它,但 访客日志与留存分析还要看访客身份);之前收到的那批 pageview 数据与新数据不互通, 测试站点建议清空或换 site id。 已知限制:事件名称报表归档时按行数截断,设备多了之后设备 ID 清单会出现 Others。 只影响"逐台列出来"这个用途,五个指标取的是事件操作层的聚合数,不受影响。 验证:cargo test 164 passed(telemetry 22 条,新增 3 条)。除纯函数单测外起了 假 Matomo(真 TCP+HTTP)按顺序核对四个事件名与设备标识。变异测试三条:使用事件 也推进启动游标、e_a 改回 action_name、e_n 不带设备标识 —— 分别精确失败在 a_use_event_does_not_swallow_the_same_day_launch_event、tracking_url_is_an_event_ not_a_pageview、device_id_rides_on_every_event_not_just_the_visitor_field。
MonkeyCode
Try Online · Self-Hosted Deployment · Discord · 中文
What Is MonkeyCode?
MonkeyCode is an open-source enterprise-grade AI development platform with built-in development environment management, AI model management, AI task management, and project requirement management. Unlike typical vibe coding tools, MonkeyCode is designed as an AI assistant for professional engineering teams.
- You can deploy MonkeyCode inside your enterprise network and share it with your R&D team, so developers can start development tasks quickly while engineering leaders manage AI development workflows centrally.
- You can also use our online environment directly. It includes managed development environments, built-in large language models, and native mobile support, so you can use leading AI agents anywhere.
Screenshots
AI Task Workspace |
Cloud Terminal and Task Execution |
Project Collaboration and File Management |
Mobile Task and File Management |
Features
You do not need to assemble tools, set up environments, or jump between workflows. Give MonkeyCode a requirement and it carries the work from development to validation, turning AI coding into a sustainable workflow.
- Free to start: No client download and no local environment setup. Open the browser, create an account, and start your first AI development task in seconds.
- Cloud development environments: No dependency on a local development machine. Every task runs behind a real server-side environment, with build, test, and preview workflows completed in the cloud.
- Broad model support: GLM, Kimi, MiniMax, Qwen, DeepSeek, and other mainstream models are integrated. You can switch by task type or select a model manually.
- Native mobile support: Deep iOS and Android support keeps PC and mobile data in sync, so agents can continue running tasks while you are away from your desk.
- Fully open source: The core code is public on GitHub. Anyone can audit, fork, and extend it while keeping control over technical choices and security policies.
- Private offline deployment: Enterprises and teams with strict data privacy requirements can deploy MonkeyCode inside their own networks and keep data local.
Usage
Online
Open MonkeyCode Online to get started:
Self-Hosted Deployment
Recommended configuration:
- MonkeyCode console: at least
2C / 4 GB / 40 GB - Development environment host: at least
8C / 16 GB / 100 GB
Online installation:
bash -c "$(curl -fsSL 'https://monkeycode-ai.com/online/install')"
For more deployment methods, configuration details, and operations guidance, see the deployment documentation.
Comparison
| Dimension | MonkeyCode | Cursor | Claude Code | Codex |
|---|---|---|---|---|
| Online usage | 🟢 | 🟢 | 🟢 | 🟢 |
| Local IDE | 🔴 | 🟢 | 🟢 | 🟢 |
| Local CLI | 🔴 | 🟢 | 🟢 | 🟢 |
| Requirement and SPEC management | 🟢 | 🔴 | 🔴 | 🔴 |
| Cloud development environment | 🟢 | 🟡 | 🟡 | 🟡 |
| Code completion | 🔴 | 🟢 | 🔴 | 🔴 |
| Automated PR / MR code review | 🟢 | 🟡 | 🟡 | 🟡 |
| Team collaboration | 🟢 | 🔴 | 🔴 | 🔴 |
| China model support | 🟢 | 🔴 | 🔴 | 🔴 |
| Private deployment | 🟢 | 🔴 | 🔴 | 🔴 |
| Open source | 🟢 | 🔴 | 🔴 | 🔴 |
Community and Support
Join the community to discuss MonkeyCode usage, deployment, and development with other developers.
![]() WeChat Group |
![]() Feishu Group |
![]() DingTalk Group |
You can also get support through:
- Documentation: https://monkeycode.docs.baizhi.cloud/
- Online service: https://monkeycode-ai.net/
- Enterprise consultation: https://baizhi.cloud/consult
- Discord: https://discord.gg/8NgHexaaMa
- GitHub Issues: https://github.com/chaitin/MonkeyCode/issues
Star History
License
MonkeyCode is open source under the GNU Affero General Public License v3.0.







