[feat] Feature Request: Export Conversation as JSON
What problem does this solve?
When I scaffold a team using Harness, I receive the generated agents and skills, but I need to manually visualize how agents interact with each other. For larger architectures such as Fan-out/Fan-in, Supervisor, or Hierarchical Delegation, understanding communication flow can become difficult without a visual representation. This makes it harder to review, document, and explain generated team structures to collaborators.
Proposed solution
Add an optional architecture diagram generation step as part of the Harness output.
For example:
- Generate a Mermaid diagram (architecture.mmd)
- Generate a Markdown file containing the diagram
- Include agent relationships, orchestration flow, and skill dependencies
Example:
graph TD
-
Supervisor --> ResearchAgent -
Supervisor --> BuilderAgent -
Supervisor --> QAAgent -
QAAgent --> Supervisor
This would provide an immediately understandable view of the generated harness structure.
Alternatives considered
- Manually drawing diagrams after generation.
- Using third-party diagramming tools.
These approaches require extra effort and can become outdated when the harness changes.
Related team-architecture pattern (if any)
Supervisor
Additional context (optional)
Visual architecture output would improve onboarding, documentation, reviews, and educational use cases while remaining consistent with Harness's focus on team design and orchestration.
Thanks for the detailed proposal; I'm answering the Mermaid diagram request in the body, since the title mentions JSON export instead. We don't plan to generate a diagram file for every harness, because for most users it would be one more file they don't need. The orchestrator skill Harness generates is built from a template that already includes a table of the agents and their outputs, the phases in order, and how each phase's outputs are handed to the next. If you want a picture, you can ask Claude to draw a Mermaid diagram from your harness's orchestrator skill whenever you need one, so it reflects the harness as it currently is instead of going stale. I'm closing this as not planned.