OpenClaw Integration
AgentLogs supports manual uploads of OpenClaw conversations, including user prompts, assistant text, thinking, tool calls and results, file edits, and token usage.Upload a Session
Authenticate and allow capture for your repository first:Supported Storage
- Legacy OpenClaw: per-agent JSONL under
~/.openclaw/agents/<agentId>/sessions/. Whensessions.jsonexists, its session IDs and file paths determine the current sessions. Branch ancestry in JSONL selects the active conversation. - OpenClaw v2: per-agent
~/.openclaw/agents/<agentId>/agent/openclaw-agent.sqlite. Verified with OpenClaw 2026.9.3, database schema 19. AgentLogs opens the database read-only and imports each current session window’s active events. Abandoned branches and previous reset windows are excluded. - Backups: flat JSONL files in
~/.openclaw/session-backups/remain supported.
Tool Rendering and Limitations
OpenClaw’s nativeexec, read, write, and edit tools use AgentLogs’ shell, file, and diff viewers. The Codex harness’s bash and structured apply_patch changes are also supported. Other tools retain their names and text results in a generic viewer. Usage is attributed to each recorded model, including reasoning and cached-token totals when available.
Malformed records are skipped with a warning during upload. Embedded images and other binary attachments are not imported yet. Automatic upload hooks and commit tracking are not included.
For self-hosted installations, deploy a server version accepting the openclaw source before updating the CLI.