Hello. To me, graph-based agents are convenient if...
# koog-agentic-framework
e
Hello. To me, graph-based agents are convenient if your graph is small to mid sized. Once your graph gets bigger, it becomes really hard to understand it just by looking at the code. I have to mentally rebuild the visual representation of the graph in my head, with all its arrows and squares every time I read the code. If my graph is big enough, I will likely end up with drawing it on a piece of paper. But at the KotlinConf 2025, the visualisation of graph-based agents in IDE was also announced. A year and a half has passed but that really promising visualisation tool hasn't been released. Did the team abandon this feature?
k
@evkaky There is a function to export graph as mermaid diagram https://api.koog.ai/agents/agents-core/ai.koog.agents.core.agent/as-mermaid-diagram.html
Also, when you export traces to langfuse, you may see the actual call graph there
j
I've built a plugin to display it in Idea plugins.jetbrains.com/plugin/31989-koog-strategy-graph
👍 1
"It works on my PC" was the goal; if it breaks for you just send me the graph code (can be anonymized) and I will push a fix
(or open a PR)