AIUI Editor | AIUI | Rokid

AIUI Editor is an integrated workspace for AIUI projects. It helps developers import projects, browse files, edit code, preview pages, and run simulations in one interfac…

AIUI Editor

I. What Is AIUI Editor

AIUI Editor is an integrated workspace for AIUI projects. It helps developers import projects, browse files, edit code, preview pages, and run simulations in one interface.

AIUI Editor is part of the AIUI development toolchain and does not replace the AIUI framework:

  • AIUI provides page structure, the component system, and the development model for agent applications.
  • AIUI Editor connects project import, file editing, page discovery, and runtime preview.

Access: https://js.rokid.com/craft

II. Initialize an AIUI Project

1.Enter the following commands in a terminal.

npm create @yodaos-pkg/aiui-agent@latest my-agent
cd my-agent  # Enter the my-agent folder
ls           # List files and subdirectories

image.png

2.Locate the project files.

image.png

III. Import an AIUI Project into AIUI Editor

1.Open AIUI Editor: https://js.rokid.com/craft?lang=zh-CN

image.png

2.Import AIUI from a local folder, a local .aix file, or a GitHub subdirectory.

image.png

IV. Debug in AIUI Editor

1.Click Run Agent to start Web debugging.

image.png

2.The Web IDE simulates the complete flow from wake-up and speech recognition through LLM processing to voice playback. 3.The right side provides buttons for simulated glasses actions, including back, single click, and forward/backward swipes.

image.png

V. Develop with the AIUI Coding Agent in AIUI Editor

1.AIUI Editor provides a free LLM (DeepSeek V4 Pro) by default. Download and enable a Skill to assist development.

image.png

2.You can also replace it with your own model.

image.png

3.Start using it from the AIUI Code main page.

image.png

VI. Create an AIUI Agent in AIUI Studio

Sign in to AIUI Studio (China): https://aiui.rokid.com/space

There are three ways to create an AIUI agent:

Creation methodUse caseResult
Conversational creationBuild an agent from scratchEnter AIUI CODING and generate a complete project with natural language
Local importAn AIUI project already exists locallyAuthorize a system folder and import the code
GitHub importCode is in a remote repositoryImport a specified directory by repository URL, branch, or tag

Warning: Choose only one method. New users are recommended to use conversational creation.

Method 1: Create through AI Coding. AIUI CODING is the main development interface. Download and enable the built-in aiui-dev Skill first.

image.png

You can continue to describe features, UI changes, or troubleshooting tasks in natural language. The AI reads the project context and edits project files directly.

Method 2: Import a local AIUI project.

1.Create the project in a terminal or command prompt using the commands above.

image.png

2.Locate the project files.

image.png

3.Click Local Import and select the corresponding folder.

image.png

Method 3: Import from GitHub.

AIUI Sample project: https://github.com/jsar-project/AIUI/tree/main/samples

image.png

VII. Bind a Project in AIUI Editor to an AIUI Agent

1.In AIUI Editor, open Settings > Local Management and bind the corresponding AIUI agent.

image.png

image.png

2.Package and upload the AIUI project to AIUI Studio.

image.png

3.Set permissions according to the project and enter its description on the right.

image.png

VIII. Debug on Glasses

Warning: The AIUI project must be bound to an AIUI agent and packaged and uploaded before real-device debugging is available.

1.In the Rokid AI app, open Settings > Developer and update the glasses resource package.

image.png

2.After seeing “Agent resource package downloaded successfully,” invoke the agent by voice to experience the complete interaction flow.

Example: “Leqi, open the xxx agent.”

image.png

IX. Publish and Submit for Review

1.In AIUI Studio, open Build & Submit for Review, fill in the basic information, permissions, and preview materials, then save and submit.

image.png

FieldRequirementDetails
Agent nameRequiredNo more than 20 characters; accurately describe the function and must be unique
IconRequiredReplace the default icon
VersionAutomatically generated and incrementedCannot be edited by developers
Agent IDSystem-generatedKeep it safe
App categoryRequiredMatch the agent's actual function
Feature descriptionRequiredNo more than 500 characters; describe capabilities and use cases accurately
Opening messageRequiredRecommended within 300 characters; guide first-time users without repeating the feature description
Agent iconRequiredClear, correctly oriented, and related to the name and function
PermissionsSelect as neededTruthfully declare network, camera, microphone, and speaker use and explain the purpose
Rokid account permissionsSelect as neededRequired when using Rokid account or other personal information
Preview materialsRequiredUpload 3–5 files, including at least one image and one video

2.After confirming that the materials and current version are correct, click Submit for Review.

Review statuses:

  • Under review: Wait for platform review and check the status in the agent list.
  • Rejected: Fix the code or materials according to the reason, then package, save, and resubmit.
  • Approved: The agent becomes publishable and can be displayed and used in the Rokid AI App agent store.

Before submitting, confirm that the core real-device flow works, permissions match the code, descriptions are accurate, and preview files meet the required quantity and formats.