crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

any way of easier "debugging" what agents are saying in the run?

Open dakipro opened this issue 1 year ago ā€¢ 6 comments

Hi, love the script! I wonder if there is (and if not if it could be added) some way of visualizing what agents are thinking and doing. With a lot of text and instructions, it is very cumbersome to follow what was happening in the console

Thanks!

dakipro avatar Feb 05 '24 21:02 dakipro

I hear you, is that a specific style you would like these to be on, a dashboard maybe of sorts?

joaomdmoura avatar Feb 08 '24 07:02 joaomdmoura

it would be easiest to use something existing I guess. I like the "gamification" and visualization that devchat has, but it is also difficult to customize (the advantage of crewAI). How does LangChain do that? It is already used in crewAI...

but a simple parser, or a simple HTML with accordions to review the chain after the fact would be helpful. Especially now with several processes. Who said what and to whom. Simple but useful :)

nice job with the project btw, thank you for making it. I've tried them all, and crewai is so far the easiest and goes straight to the point, at least for me for video content creation of 3min youtube videos (if you want to make an example on that usecase - it would be awesome :) )

dakipro avatar Feb 08 '24 08:02 dakipro

I'd love to see that example ;)

ZmeiGorynych avatar Feb 08 '24 10:02 ZmeiGorynych

I agree, langsmith-like logs would be perfect, but Iā€™d be 100% happy with a json :) My interest lies in collecting prompts agents are sending to each other. These prompts are often crazy good and could be useful to collect.

JaDenis avatar Feb 11 '24 13:02 JaDenis

If https://github.com/joaomdmoura/crewAI/pull/246 is accepted, you could just use eg a Langchain agent and LangSmith :)

ZmeiGorynych avatar Feb 11 '24 16:02 ZmeiGorynych

I hear you, is that a specific style you would like these to be on, a dashboard maybe of sorts?

Also feel this would be quite worthwhile for debugging and iterating on the agents. šŸ‘ Promptfoo is not agent focused, but it did solve that problem very well for me in the past with traditional prompt engineering, perhaps some inspiration there. I'm happy to provide some assistance with the frontend part too. šŸš€

Codeshark-NET avatar Mar 10 '24 09:03 Codeshark-NET