LoongSuite Pilot

Local telemetry collector for AI coding agents

English | 简体中文
Overview | Quick Start | Documentation | Community | Contributing
Overview
LoongSuite Pilot is a local telemetry collector for AI coding agents. It discovers supported agents on a developer machine, installs the required hooks or plugins, normalizes activity into a shared GenAI event schema, and exports logs or traces to your chosen backends.
Built-in local dashboard — multi-agent token usage, sessions, requests, tools, models, providers, and repository activity at a glance.
Development teams often use more than one AI coding agent, and each agent records activity in a different local format. Pilot gives teams one local collector that can discover those agents, collect their activity, normalize the data, and send it to destinations that are useful for analysis, audit, and observability.
Pilot is designed to answer practical questions:
- Which agents are being used?
- What model, session, turn, and tool activity happened?
- How much token usage is available from each agent?
- Where should the data be exported: local files, SLS, HTTP, or traces?
- How should sensitive prompts, tool arguments, and secrets be controlled before export?
Highlights
| Capability | What Pilot Does |
|---|
| Agent discovery | Detects supported agents from local paths and commands. |
| Collection deployment | Installs hooks or plugins and reads local logs, sessions, or data files. |
| Unified event schema | Normalizes agent-native events into a shared GenAI schema. |
| Multi-destination output | Exports to JSONL, Alibaba Cloud SLS, HTTP, and OTLP trace backends. |
| Privacy controls | Supports secret masking before output. |
| Local operations | Provides service status, restart, rollback, and a built-in local dashboard. |
Supported Agents
| Agent | Integration | Trace Export | Log Export | Token Usage | Conversation / Tool Calls | Multimodal |
|---|
| Antigravity App / new IDE | Read-only SQLite + transcript | Yes | Yes | Yes | Yes | Yes (Opt-in) |
Antigravity CLI (agy) | Read-only SQLite + transcript | Yes | Yes | Yes | Yes | Yes (Opt-in) |
| Claude Code | Hook | Yes | Yes | Yes | Yes | No |
| Codex | Hook | Yes | Yes | Yes | Yes | Yes (Opt-in) |
| GitHub Copilot CLI | Native plugin + transcript / native OTel | Yes | Yes | Yes (native OTel) | Yes | No |
| Cursor | Hook | Yes | Yes | Yes | Yes | No |
| Cursor CLI | Shared Cursor hook | Yes | Yes | Yes | Yes | No |
| DeepSeek Harness | YAML patch plugin + local JSONL polling | Yes | Yes | Yes | Yes | No |
| Grok Build | Hook + local session logs | Yes | Yes | Yes | Yes | No |
| Hermes Agent | Native directory plugin | Yes | Yes | Yes | Yes | No |
| Kiro CLI | Hook / session polling | Yes | Yes | No | Yes | No |
| MiMo Code | Plugin injection | Yes | Yes | Yes | Yes | No |
| OpenClaw | Plugin injection | Yes | Yes | Yes | Yes | No |
| OpenCode | Plugin injection | Yes | Yes | Yes | Yes | No |
| Pi Coding Agent | Extension injection | Yes | Yes | Yes | Yes | No |
| Qoder | Hook | Yes | Yes | Yes | Yes | Yes (Opt-in) |
| Qoder CN | Hook | Yes | Yes | Yes | Yes | No |
| Qoder for JetBrains | Detection-only | Yes | Yes | Yes | Yes | No |
| Qoder CLI | Hook / session polling | Yes | Yes | Yes | Yes | Yes (Opt-in) |
| Qoder Work | Hook / local data polling | Yes | Yes | Yes | Yes | No |
| Qoder Work CN | Hook / local data polling | Yes | Yes | Yes | Yes | No |
| Qwen Code CLI | Hook | Yes | Yes | Yes | Yes | No |
| Qwen Work CN | Hook / local data polling | Yes | Yes | Yes | Yes | Yes (Opt-in) |
| TRAE CN | Hook + local session data | Yes | Yes | Yes | Yes | No |
| Wukong | CLI API polling | Yes | Yes | Yes | Yes | No |
| WorkBuddy | Hook wakeup + local transcript watch/poll fallback | Yes | Yes | Yes | Yes | No |
| Doubao Work (macOS/Windows, experimental) | Read-only logs + execution metadata | Client turns, local tools + native sandbox executions | Metadata only | No | No | No |
| Doubao App (experimental) | Read-only logs, work trajectories and chat task store | Client turns, text chat + work-mode local tools/executions | Client events and available I/O | No | Text chat and work-mode content | No |
GitHub Copilot CLI automatic deployment supports Unix shells. Exact per-call token usage requires native OTel; transcript-only collection omits unavailable usage. Windows and subagents are not supported. See telemetry details.
OpenClaw integration supports 2026.3.8 or later with automatic version detection. Before 2026.5.12, model-call timing is inferred from legacy hooks; see compatibility details.
DeepSeek Harness (dsh) loads Pilot's observability plugin from its user-level
cordis.patch.yml. The integration captures native LLM, reasoning, tool, token,
and time-to-first-token events. See Agent Configuration
for activation, source-log, disable, and uninstall behavior.
Documented Windows Agent Support
The table above describes Pilot's general integration capabilities; it does not imply that every agent is supported on every operating system. The following agents are currently explicitly documented as supported on Windows:
| Agent | Windows Integration | Trace Export | Log Export | Token Usage | Conversation / Tool Calls | Requirement |
|---|
| Claude Code | Hook | Yes | Yes | Yes | Yes | — |
| Cursor | Hook | Yes | Yes | Yes | Yes | — |
| Qoder Work | Hook / local data source | Yes | Yes | No | Yes | User edition |
| Qoder CLI | Hook | Yes | Yes | No | Yes | — |
| Qoder IDE | Hook / local data source | Yes | Yes | Yes | Yes | Qoder 1.10.0 or later, User edition |
| OpenCode | Plugin injection | Yes | Yes | Yes | Yes | — |
| WorkBuddy | Hook wakeup + local transcript | Yes | Yes | Yes | Yes | WorkBuddy Desktop 5.3.5.0; Windows 11 installed-product E2E |
Agents omitted from this Windows table do not currently have an explicit Windows support statement; omission does not necessarily mean that the agent cannot run on Windows. See the Alibaba Cloud AI Coding Agent access guide for the source support matrix and Installation for Windows prerequisites and setup.
Agent definitions live in agents.d/. You can add new agents without changing the deployment framework; see Agent Onboarding.
Quick Start
Prerequisites:
- Node.js that can load
node:sqlite (22.13+, 23.4+, or newer). The installer downloads a managed Node.js 22.22 runtime on supported platforms; a system Node.js is accepted only when require('node:sqlite') succeeds. Node.js 18/20 and 22.0–22.12 / 23.0–23.3 are not enough.
npm
curl or wget
- PowerShell 5.1 or later on Windows
Install from the public package on Linux or macOS:
curl -fsSL https://loongcollector-community-edition.oss-cn-shanghai.aliyuncs.com/loongsuite-pilot/installer.sh -o /tmp/loongsuite-pilot-installer.sh && bash /tmp/loongsuite-pilot-installer.sh install
Install from the public package on Windows:
$installer = "$env:TEMP\loongsuite-pilot-installer.ps1"
Invoke-WebRequest `
-Uri "https://loongcollector-community-edition.oss-cn-shanghai.aliyuncs.com/loongsuite-pilot/installer.ps1" `
-OutFile $installer
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $installer install
Verify the service:
loongsuite-pilot status
loongsuite-pilot info
Local JSONL output is disabled by default. To write to ~/.loongsuite-pilot/logs/output/ on Linux/macOS or %USERPROFILE%\.loongsuite-pilot\logs\output\ on Windows, set "jsonl": { "enabled": true } in config.json.
For installer options, uninstall commands, and source builds, see Installation.
Configure Pilot
Configuration is loaded in this order: environment variables, then ~/.loongsuite-pilot/config.json, then built-in defaults.
Start with the guide that matches what you want to change: