Refraction is an AI-powered code generation tool for developers that refactors code, generates documentation, creates unit tests, and more. It uses AI to automatically generate code in over 50 programming languages including Python, HTML, JavaScript, C++, and more. Developers simply paste their code into Refraction, select the task they want to automate, and hit “Generate” to let the AI work its magic.