Crewai Agent Tool Logs Filtering

Hey everyone,

I would like to stream out crewai’s logs to my front-end application however I want to filter out task description, backstory etc which are also printed to the console.

Is there a clean way to get some of those logs such as thinking outputs and answers ?

Alright, first things first, welcome aboard!

So, for what you’re looking to do, your best bet here is probably to register an event listener.

You should definitely check out this thread. @tonykipkemboi shared some solid stuff there about their experience with CrewAI output streaming. That should really point you in the right direction.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.