You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]:Save conversation history locally #19017
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I absolutely despise closing OpenCode and forgetting about the lack of conversation saves. At least, make a local file where the conversations are saved instead of the cloud.
@elijahmorg he means saving it locally in cwd , for a project . for example it would be helpful in a git project and could be synced across device , by this way.
You can export a session to markdown with cmd+p Export Session or /export or you can from CLI run opencode export <session-id> which gives you a fuller json export.
I'm the maintainer of Clean My Agent. It focuses on local AI coding-agent session scanning, backup, cleanup, and export, so it may be a useful reference for this thread: https://github.com/blain3white/clean-my-agent
Activity
github-actions commentedon Mar 24, 2026
This issue might be a duplicate of existing issues. Please check:
Please review these issues and consider adding your +1 or additional context there rather than opening a new one.
[-][FEATURE]:PLEASE ADD CONVERSATION SAVING!!!![/-][+][FEATURE]:Save conversation history locally[/+]elijahmorg commentedon Mar 25, 2026
I'm not sure I follow this request, can't you can re-open a session?
ice-cream-56-paisa commentedon Mar 25, 2026
@elijahmorg he means saving it locally in cwd , for a project . for example it would be helpful in a git project and could be synced across device , by this way.
elijahmorg commentedon Mar 25, 2026
You can export a session to markdown with cmd+p Export Session or
/exportor you can from CLI runopencode export <session-id>which gives you a fuller json export.blain3white commentedon Jun 9, 2026
I'm the maintainer of Clean My Agent. It focuses on local AI coding-agent session scanning, backup, cleanup, and export, so it may be a useful reference for this thread: https://github.com/blain3white/clean-my-agent
github-actions commentedon Aug 9, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.