mse-agent communicates with the editor to create, modify, and arrange objects in your scene. You can use any AI agent to manipulate a scene with mse-agent using natural language prompts.mse-agent commandsmse-agent sends the commands to the editor, which updates the scene| Platform | Command |
|---|---|
Mac | /Applications/Meta Spatial Editor.app/Contents/MacOS/CLI serve -p app/scenes/Main.metaspatial & |
Windows | start /B "C:\Program Files\Meta Spatial Editor\V*\Resources\CLI.exe" serve -p app\scenes\Main.metaspatial |
Linux | <package-root>/MetaSpatialEditorCLI serve -p app/scenes/Main.metaspatial &>/dev/null & |
Note: Theservecommand starts the editor in headless mode, listening for commands frommse-agent. It is a long-running process — launch it in the background (as shown above) so it does not block your terminal.
- On Windows, replace
V*with the latest version folder (for example,V16).- On Linux,
<package-root>is the root of the downloaded package.
mse-agent, followed by a Task section with your request.Tip: You can save the Knowledge section as a reusable skill or system prompt file so you don’t need to repeat it every time.
# Knowledge ## Meta Spatial Editor Meta Spatial Editor is a spatial composition tool for Spatial SDK. Import, organize, and transform your assets into visual compositions and export them into Spatial SDK projects. ## mse-agent mse-agent is a tool included with Meta Spatial Editor for creating and modifying 3D scenes programmatically. Run `mse-agent readme` for the full command reference. **mse-agent location:** - Mac: `/Applications/Meta Spatial Editor.app/Contents/MacOS/mse-agent` - Windows: `C:\Program Files\Meta Spatial Editor\V*\Resources\mse-agent` (use the latest version folder) - Linux: `<package-root>/mse-agent` (located at the root of the downloaded package) # Task Use cubes to build a 'HELLO WORLD' text in the scene
Build a scene: gas station in a desert
Use cubes to build a cat, a dog in a garden
mse-agent:
