-
Notifications
You must be signed in to change notification settings - Fork 0
Replay Sessions and Exports
AgentDesk is designed to turn a failed run into portable evidence.
The replay-session export is the main restoration format. It can include:
- workflow graph
- nodes and edges
- trace events
- selected trace event
- selected artifact
- inspected node
- graph validation issues
- imported MCP metadata
- runtime mode state
- trace summary
- portable workflow payload
- framework starter exports
Use replay-session JSON when you want someone else to reopen the same debugging state.
The trace bundle ZIP is file-oriented. It includes:
manifest.json- trace event evidence
- artifact files
- sanitized file paths
Use the ZIP when you want a file bundle that can be inspected outside the app or attached to an issue, PR, or handoff.
Exports redact common secret formats and private path prefixes. Examples include:
- API key fields
- bearer tokens
- GitHub tokens
- Slack tokens
- JWT-like strings
- private key fields
- database URLs
- local user path prefixes
Redaction is defensive, not absolute. Do not intentionally paste raw secrets into content that will become trace evidence.
AgentDesk includes starter export paths and examples for:
- LangGraph
- CrewAI
Example files:
docs/examples/langgraph-agentdesk-example.pydocs/examples/crewai-agentdesk-example.py
These examples are intentionally small. They show how to begin translating AgentDesk evidence into framework-specific workflows without hiding safety tradeoffs.
When reporting a failed run:
- Reproduce in Demo, Ollama, Cloud BYOK, or Runtime mode.
- Click the failed trace event.
- Confirm the linked graph node is selected.
- Inspect
Debug,Artifacts,Costs, andValidation. - Replay the failed step if useful.
- Export replay-session JSON.
- Export trace bundle ZIP if artifact files matter.
- Remove or review sensitive evidence before posting publicly.
To restore a replay session:
- Open AgentDesk.
- Click import.
- Select the
.agentdesk-session.jsonfile. - Review restored workflow, trace, selected event, artifact, and mode state.
Imported sessions should be treated as untrusted input. Review content before using Runtime mode or executing live tools.