Replit Assistant uses AI to help you create and polish your app quickly. Type what you want in everyday language, and it can add new features or fix problems for you. Assistant can also analyze your code to explain what it does and suggest the next lines as you type.
Assistant uses powerful AI technology to understand your Replit App and help you code more efficiently. Whether you need quick explanations or complex code modifications, Assistant adapts to your needs with two flexible modes.
To communicate with Assistant, enter a prompt in the text area describing what you need.
Assistant analyzes your Replit App and creates contextually appropriate responses.
Enhance your prompts with additional context:
File attachments: Drag files into the text area or select the
paperclip icon
Specific file context: Select Add file context to reference particular files related to your request
While Assistant intelligently determines relevant files, specifying them helps create more accurate solutions.
In Advanced mode, Assistant creates edit requests when proposing code changes.
These requests provide transparency and control over modifications to your app:
Preview changes: See exactly what Assistant plans to modify before approval
Selective approval: Choose which changes to apply and which to skip
Automatic checkpoints: Comprehensive snapshots capture workspace contents, AI context, and database states for approved changes
Easy rollbacks: Undo changes or restore to previous states across your entire development environment
When Assistant suggests changes:
Select Preview code changes to review
Select Apply all to implement the changes
Use Undo these changes if you need to reverse the modifications
For detailed information about checkpoints, rollback capabilities, and what gets restored, see Checkpoints and Rollbacks.
Each approved edit request in Advanced mode costs .
You’re only charged when you approve and apply changes - previewing and reviewing edit requests is always free.