Skip to main content
The Editor is a secure, isolated workspace where your project runs. All changes made by you or the agent stay inside this environment, never affecting your local machine.
How the Agent Uses the Editor
You give instructions in the chat, and the agent updates or creates files directly in the Editor.

Editor Overview


Using the Compile Editor

The Editor supports collaborative work. You may:
  • Build features through chat.
  • Review or modify files at any time.
  • Experiment safely in an isolated workspace.
  • Allow the agent to run code and apply updates consistently.

Behind the Scenes

The Editor works as a small virtual machine holding your project.
All changes stay within this workspace, keeping your main codebase untouched.
Collaborative Agent Workflow
The agent works alongside you: it may ask for clarification, suggest improvements, and updates files only with your approval.

Example

// User instruction
"Refactor the data processing function for clarity."

// Existing code
function processData(input: string[]) {
  return input
    .filter(item => item.length > 0)
    .map(item => item.trim());
}