Skip to content

Add Mermaid Diagrams plugin - #610

Merged
3clyp50 merged 1 commit into
agent0ai:mainfrom
agent-zero-plugins:add-mermaid-diagrams-plugin
Nov 24, 2026
Merged

3clyp50 merged 1 commit into
agent0ai:mainfrom
agent-zero-plugins:add-mermaid-diagrams-plugin

Conversation

@0XSIKIPON

Copy link
Copy Markdown
Contributor

Adds Mermaid Diagrams to the plugin index.

Renders mermaid code blocks in Agent Zero chat as interactive diagrams, and nudges the agent to answer with diagrams instead of describing structures in prose.

Repo: https://github.com/agent-zero-plugins/agent-zero-plugin-mermaid-diagrams

Tags
tools, development, workflow, agents

Checklist

  • plugin.yaml manifest valid
  • Tested against a running Agent Zero instance (BDD e2e + manual)
  • No Agent Zero core modifications (single webui extension + bundled skill)
  • Apache-2.0 licensed

@3clyp50

3clyp50 commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR! Could you render chat diagrams in Mermaid's strict mode? If that breaks an interaction you need, could you put the preview in a sandboxed iframe instead?

Alessandro

@0XSIKIPON

Copy link
Copy Markdown
Contributor Author

Hi Alessandro, thanks for the review.
Done, the render now initializes Mermaid with securityLevel: 'strict' (Mermaid's strict mode).
5f69c9a, repo

@3clyp50

3clyp50 commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Thanks a lot, merging now!

@3clyp50
3clyp50 merged commit 0bf3816 into agent0ai:main Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants