Building with AI
The editor includes an AI assistant with full context of your application code. You describe what you want to build or change in the chat panel, and the AI reads your codebase, asks clarifying questions if anything is ambiguous, and works through the implementation with you.Images and Attachments
You can attach images and files to your AI chat messages. Drag and drop or paste screenshots, mockups, or reference images directly into the chat. Supported file types include:- Images — PNG, JPG, GIF, and other common formats
- PDFs — for documentation or design references
- Text files — plain text files up to 100KB
- Markdown files — .md files up to 100KB
- JSON files — .json files up to 100KB
@ Mentions
Type@ in the chat to explicitly reference connectors, attachments, and workspace files in your message. This tells the AI exactly which resource or file you’re talking about.
Tool Cards
When the AI executes resource operations in the chat, tool cards display the operation being performed. Each tool card shows:- Tool name in plain text: The name of the tool being invoked, displayed as readable text.
- Tool description: A brief description of the tool appears below the tool name for clarity.
- Arguments with descriptions: Input parameters are labeled with human-readable descriptions and resolved resource names where applicable.
- Formatted output: Results are displayed with proper JSON formatting for clarity.
Approvals & User Input
When your app requires approval before executing a tool or needs input from you, approval and ask-user cards render directly within the chat message flow. You no longer see separate overlay windows — everything stays in context within the chat. When an approval request or ask-user prompt is active, the chat input area switches to feedback mode:- The input field becomes a response/feedback field for that specific request
- Toolbar actions are hidden to focus on the immediate decision
- Attachments are stashed temporarily and restored once the request is resolved
Environment Variable Setup Requests
When the AI needs to set up environment variables, it sends a setup request that you can approve or decline. If you decline an environment variable setup request, you can include optional feedback explaining why. Your feedback is captured and sent back to the AI immediately via the control channel, and it also appears in the chat message history for future reference.Queued Messages
You can send follow-up messages while the AI is still working. Queued messages appear with a “Queued” label and a “Cancel” button. They are processed in order once the current task completes. You can cancel a queued message before it’s picked up. When you send a new message while the AI is waiting for your approval or decision, the pending decision is automatically interrupted and the agent resumes immediately with your new message.Plan Mode
When you send a request, the AI starts in Plan Mode — it analyzes your codebase and proposes a set of changes before touching any code. The plan appears in the Plan tab alongside Web, Code, and Logs. It includes a summary of what will change, which files are affected, and the implementation approach. From there you can approve the plan to let the AI start building, reject it to stay in Plan Mode with no changes made, or give feedback to have it revise. Once approved, the session switches to Accept Edits mode and you see changes appear in real-time in the code and preview panels.Preview & Inspection
Every editing session runs a live preview of your application in the right panel. As the AI makes changes, the preview updates automatically so you can verify behavior before committing. The panel includes three tabs:- Preview — the running application, updated in real-time as changes are made
- Code — the generated source code for your application
- Log — runtime logs from the application, useful for debugging errors or verifying behavior