Refraction is an AI coding assistant for developers. Code is pasted in, a language or framework is chosen, and the tool refactors it, adds inline documentation, writes unit tests, detects bugs, explains what it does or converts it to another language. Further functions generate SQL queries, regular expressions, CI/CD pipelines and Mermaid diagrams from a description, add types, check style, and convert CSS between frameworks.
Fifty-six languages are supported, from JavaScript, Python and Java to Solidity, Cobol and CameLIGO. The input limit is 8,000 tokens, raised from 3,000. Extensions are available for VS Code, Sublime Text, JetBrains and Visual Studio.
Software engineers, QA engineers and web developers use it for refactoring, test creation and documentation. The Hobby plan is free with a seven-day trial and 10 code generations. Pro is $8 per month with unlimited generations and history, Team is $14 per user per month, and Enterprise adds SSO, SCIM and audit logs at custom pricing.