FlowLens is an innovative debugging and session-recording tool driven by AI, designed to capture all essential elements required for accurate and context-sensitive bug diagnosis, while enabling AI coding agents to autonomously resolve issues. Through an easy-to-use browser extension and an optional MCP server, FlowLens documents comprehensive user sessions, recording video of the user interface, network requests, console logs, user actions (such as clicks and inputs), storage states (including cookies and local/session storage), and system information, all meticulously aligned on a cohesive timeline. After a bug is replicated, FlowLens compiles this complete context into a single "flow" that can be easily shared through a link. Compatible AI coding agents that work with MCP, including those from leading providers, can then access the flow to review network activities, error logs, UI states, and user inputs, facilitating automatic root cause analysis and code fix suggestions or generation. This streamlined process eliminates the tedious tasks of manual replays, the hassle of copying and pasting logs, and the need for lengthy bug descriptions, ultimately enhancing productivity and efficiency. Additionally, FlowLens empowers teams to focus on more complex problems, as the platform simplifies the debugging workflow, allowing developers to leverage AI effectively.