Import and export context
Chats are not locked into Loach. You can move a conversation in or out as either structured JSON or human-readable Markdown, and re-import context into any other chat.
Export
From the chat header, pick Export → JSON or Export → Markdown. The native save dialog opens; the chosen path is owned by the app backend, not the renderer.
- JSON — full structured export with messages, roles, timestamps and attachments-by-name. Ideal for piping into another tool or re-importing into Loach.
- Markdown — human-readable transcript with role headers and code-fenced blocks. Drop it into a notes app, a doc, or commit it alongside your code.
Copy as Markdown, also in the chat header, puts the same Markdown rendering on your clipboard without a file dialog.
Import context
From any chat’s header, pick Import context and paste exported JSON, exported Markdown or just plain text. Loach parses what you give it into messages and appends them to the current chat. The previous conversation is preserved — imported content sits at the end as new turns.
This is the right tool for stitching together two related threads, picking up where another tool left off, or re-using a long transcript as the seed for a new line of questioning.