AI Compass / News
DeepSeek Harness sends session logs to DeepSeek by default
If you use DeepSeek Harness with DeepSeek's official models, the default setting uploads part of your session log with every request, up to 8 MiB by default. You can switch the upload off, but switching it back on catches up.
Source: @deepseek-ai/dsh-session-log-deepseek (README, DeepSeek Harness on GitHub),


Background: According to its terms of use, DeepSeek Harness is a DeepSeek platform that calls AI models and tools. You can use it with DeepSeek’s official models or connect a model of your own. One of the project’s plugins attaches a session log to requests sent to the official DeepSeek API: a record of what happened during a session. Its documentation on GitHub, last changed on 26 November 2026, describes what it sends.
What the documentation says:
- On by default: The bundled profiles include the plugin, and its
enabledsetting defaults totrue. - What gets sent: It sends the complete session events since the last confirmed upload, including system, user and tool events. The page doesn’t say exactly what a tool event contains. By default each request carries at most 8 MiB (the limit can be changed), and a larger backlog is spread over several requests. The model never sees any of it, and it doesn’t cost tokens.
- Side calls too: Regular agent calls, the summarising of long sessions, session titles and the automatic review (“Auto review”) all send the log the same way.
- You can turn it off: In the web interface, switch off “Upload session log when using the official model API” under Settings → General → Data management, or set
enabled: falsein the configuration. This applies from the next request. Anything already prepared still goes out. - Turning it back on catches up: If you switch the upload back on later, the plugin also sends the events recorded in the meantime.
- Two details still go out: For subagents, the plugin keeps sending two request headers even with the upload off: that the request comes from a subagent, and which session started it. Only removing the plugin entirely stops those as well.
- Your own models: The page describes the upload for the official DeepSeek API. It doesn’t describe one for a model you connect yourself.
What this means for you: What’s documented is that the upload is on out of the box and sends your session events to DeepSeek. But an agent working in your project folder can come across anything stored there, including passwords or API keys in a .env file. My conclusion: with the upload on, some of that may end up in the session log on DeepSeek’s side. The page itself doesn’t say whether it does.
What you can do:
- Check the switch: If you use the official models, look in the settings and turn the upload off if you don’t want it.
- Think before switching it back on: Turning it on again sends the gap as well. Decide that before you flip the switch.
- Keep secrets out of reach: Don’t let the agent work in folders with keys in plain text, or store them somewhere else.
- Rotate keys: If the agent worked with such files while the upload was on, replace the keys involved. That’s a precaution, not evidence that anything has happened.
Context: The default is stated openly in the documentation, so nothing is hidden. Two things strike me as unusual, though: the upload is on by default, and switching it on later delivers what was recorded in between. I haven’t tried DeepSeek Harness myself. With any tool that uses a cloud model, it’s worth checking what gets sent besides your actual request.
My workshops show you how to bring AI into your team. See the workshops