
Chat and layout
Write requests and feedback in the prompt box at the bottom of the chat. Its controls let you attach files, use voice, and choose from the Agent modes available to your plan and workspace. Use the layout menu in the upper-right corner to choose Chat for discussion, Editor for chat alongside your tabs, or Focus for tabs alone. The menu also lets you show or hide Tabs and Sidebar. Changing the layout does not change your code or publish your app. Select + beside your open tabs to open Preview, Changes, Agents, Secrets, or Activity. Available tools can vary with the chat.
Preview
Use Preview to try the app running in your sandbox. Select Open in a new tab to use the same app in a separate browser tab. A preview is not production. It does not publish the app, and a pull request does not deploy it. Use test accounts and development data: credentials can still give the app access to real services. If the preview stops loading, ask Replit to check the development server and preview link. Libraries and command-line tools may not have a web preview. See Run your app in Replit for a walkthrough.Files and environment
Select Files in the sidebar to browse the sandbox’s filesystem. The tree can include system directories as well as your repository; not every file belongs to Git or will appear in a pull request. In Details, select Environment to inspect the environment name, base image, and configuration.
Changes and pull requests
Open Changes, then use its selector to choose Local changes or a linked pull request. Review the request’s description and branches, then select Files to inspect its diff. Red marks removed code; green marks added code.
Agents
Open Agents to find worker chats connected to your main chat. Open a worker to follow progress or give task-specific feedback; use the main chat to steer the overall goal.
Secrets
Open Secrets, select New Secret, and enter the variable name in Key and its development credential in Value. Select Add Secret. You can also ask Replit to open a secure secret-entry form.