Documentation is an essential part of patent filing, as it provides the evidence and support for your patent claims and rights. However, it can be a challenge for agile product development, as it may seem to conflict with the agile values of simplicity, collaboration, and responsiveness. To document agile product development for patent filing, you should adopt a lean and agile approach that focuses on the minimum and essential information needed to describe and protect your product and patent outputs. Additionally, use agile documentation formats and tools such as user stories, acceptance criteria, test cases, prototypes, wireframes, diagrams, code snippets, and comments to capture and communicate the problem, solution, and benefits of your product and patent outputs. Documenting as you go is key; create and update your documentation in parallel with your product development while using version control and collaboration tools to manage and share your documentation. Lastly, align your documentation with your patent requirements to ensure that it covers the novelty, inventiveness, and disclosure aspects of your product and patent outputs.