Detailed logging and visual recording of automation workflows
Action tracing provides comprehensive visibility into your automation workflows through two complementary features: detailed step logging and visual GIF recording.
Action traces provide detailed step-by-step logs of automation execution, returned in API responses for both custom agent shortcuts and /Operator commands.
import asynciofrom narada import Naradaasync def main() -> None: async with Narada() as narada: window = await narada.open_and_initialize_browser_window() # Run automation with GIF recording enabled response = await window.agent( prompt='search for "machine learning" on Google and extract the number of results', generate_gif=True # Enable GIF recording ) print("Response:", response.text) print("GIF saved to your Downloads/Narada Downloads folder!")if __name__ == "__main__": asyncio.run(main())
The SDK automatically compiles frames into an animated GIF showing the complete
automation trajectory.
1
Automatic Directory Creation
Narada automatically creates a directory structure for your GIFs:
Main Directory: Narada Downloads in your machine’s Downloads folder
Request Directory: Directory named after your request_id from the SDK response
File: Automation saved as an animated .gif file
If the Narada Downloads directory doesn’t exist, it will be created automatically.