Amp
Where Amp stores your threads
Amp, Sourcegraph's coding agent, stores every thread on its servers with a URL, not on your disk. How to list, search, export and delete Amp threads.
Updated October 29, 2026 // Markdown
- Made by
- Sourcegraph
- History lives in
- Server
ampcode.com/threads/T-<id>
- Server
- Format
- Server-side; export as Markdown or JSON
- Kept for
- Kept until deleted; deleted threads purged within 30 days
- Resume
amp threads continue <id>- Cloud copy
- Always stored by Amp (US), no self-hosted option
Amp works differently from the other agents here: threads live on Amp's servers, not on your machine. Every thread has a URL at ampcode.com/threads/T-<id>.
What is local
Only credentials and settings: ~/.local/share/amp/secrets.json and ~/.config/amp/settings.json. Amp's docs mention a local thread-history cache, but not where it is.
Manage threads
amp threads list
amp threads search <query>
amp threads continue <id>
amp threads share <id>
amp threads export <id>
amp threads markdown <id>
amp threads archive <id>
amp threads delete <id>
A thread can be private, shared with a workspace or group, or unlisted. Deleted threads are purged within 30 days.
Privacy notes
Amp stores threads in the US, with no self-hosted option. Check a thread's visibility before you paste anything sensitive.
The groundedby evaluator reads local files only, so it cannot count Amp threads.
Questions
Does Amp keep threads on my computer?+
No. Amp stores threads on its servers, and every thread has a URL. Local files hold only credentials and settings.
How do I export an Amp thread?+
amp threads export, or amp threads markdown for a Markdown copy. The thread's creator can export JSON.
Sources
Waitlist
Your sessions, your call.
We are building an opt-in marketplace where developers license redacted sessions they pick, one by one. Join to hear first.
Read next
- Claude CodeWhere Claude Code stores your session historyClaude Code keeps every session as a JSONL file in ~/.claude/projects and deletes them after 30 days by default. How to find, resume, export, keep and delete them.Read +
- Codex CLIWhere OpenAI Codex CLI stores your session historyCodex CLI saves each session as a rollout JSONL file in ~/.codex/sessions by date and compresses old ones to .jsonl.zst. How to find, resume, archive and delete them.Read +
- Market$500, then $200: what one posting tells us about the price of a coding sessionIn October 2026 Mercor paid developers $500 per recorded coding session, then cut it to $200 within a week. What the price says about the market for agent session data.Read +