Skip to content

Agent History

Every agent conversation is captured and searchable. Resume a thread days later, or fork a new task off an old context.

Agent History Viewer

agent-history

Coding-agent session logs render as a readable transcript instead of raw JSON. Otty recognizes three agents by their session paths:

AgentSession files
Claude Code~/.claude/projects/<project>/*.jsonl
Codex~/.codex/sessions/YYYY/MM/DD/*.jsonl
OpenCode~/.local/share/opencode/storage/session/<project>/*.json

Open History View

You can open code agent history from Command Palette, or from titlebar dropdown menu:

open-code-agent-history

Actions

  • You can select content and Copy or Send to Chat from the context menu.
  • A Resume button in the toolbar continues that session: it jumps to the live tab if it's still running, otherwise spawns a fresh one with the agent's --resume.
  • Toggle the view with right-click → View as<Agent> HistoryJSONL (Syntax Highlight) to drop back to the raw log.

Only session files under a known agent's directory auto-open as a transcript; any other .jsonl stays plain text.

Quickly resuming a session

Open 'Open Quickly' panel, switch to Agents tab, then type to search sessions across all supported code agents

The resumed session keeps the original provider, model, and system prompt — only the conversation continues.

pen-agents-quickly

See also

Otty