Model Logger for VS CodeInspect instrumented application traces in Model Logger > Traces. The bundled supervisor stores retained spans locally in SQLite. Existing CLI session logs remain in Logs. SDK Quickstart
Use your chosen project ID. Model Logger SDK output provides a matching, secret-free example. Setup writes a 24-hour, single-project writer credential to The application and supervisor must share the same environment and private home. For a non-default Inspect And ExportSelect a trace for nested spans, revisions, timing, attributes, events, links, evidence grade, and capture reports. Missing parents and cycles remain visible. Absent token totals and usage categories are not reported, never invented zeros or sums. Refresh manually or keep either trace view visible for five-second polling. Requests are serialized and cancelled on project change, disable, or disposal. Load more traces or spans as needed; refresh retains loaded pages up to the ten-page view limit. Readers and admins can export JSON. Export validates every returned page, rejects repeated cursors, and stops at 100 pages, 10,000 spans, 16 MiB of collected data, or 60 seconds. Failure does not save a partial export. Exports include capture-scope, missing-parent, and gap warnings, not connection credentials. Pagination is not a point-in-time snapshot. Admin-only deletion confirms both project and trace IDs; the backend reauthorizes every request. Privacy And CoverageSupported agent hooks and instrumented applications only; coverage depends on integration. Enabling does not observe arbitrary chat or instrument applications automatically. Trace evidence is The supervisor defaults to metadata-only capture. There is no content opt-in toggle: the current supervisor entry point does not map trace privacy environment settings. Content capture requires trusted startup wiring of Optional CLI LogsLog a Codex Task, Log a Copilot CLI Task, and Start Interactive Copilot CLI retain their existing launchers and session UI, including live updates, stop recording, JSON download, and confirmed deletion. Enable retains the existing Copilot CLI personal-hook setup; restart Copilot CLI for future hooked sessions. This is separate from SDK tracing and does not implement additional VS Code chat hooks. Disable Model Logger disconnects this window without stopping active agent work; the legacy personal hook is removed after the last enabled window disconnects. Trace failures are reported separately without discarding saved session data. The trace UI defaults to the existing local operator |