Observability issue using step_callback

I want to have a callback so that I can show progress as to what’s happening internally when a Task is being executed.

For eg. showing when an agent is called, and when the the agent completes its tasks.

I tried using the step_callback on Crew and on the different Agent class, during execution it keeps going in a loop calls the same tool and never exits out of the loop. The agent doesn’t finish the process, what’s the best way to handle the scenario where I can show when a tool/agent is called and when it exits out of it ?