Develop an IDEA with Vibe Coding
Learn how to develop an IDEA from scratch, refine its interface, test it on ESP-Mosaico, and publish it in the IDEA Center.
This section uses a Snake game as an example. You can follow the same process to develop your own IDEAs.


2. Before You Start
- Put ESP-Mosaico into Vibe Mode.
- Connect ESP-Mosaico to your PC with a USB data cable.
- Set up a Coding Agent, such as Codex, Claude Code, OpenCode, or Trae.

3. Start Developing
Create a Project and Set Up the Environment
Create an empty folder on your PC and start the Coding Agent. Then send:
esp-mosaico-vibe1. The Agent will configure the development environment automatically. During setup:
- Review and approve the required permissions.
- Confirm the installation location and network access when prompted.
- If an error occurs, send the complete error message to the Agent.
- Wait until the Agent confirms that the environment checks have passed.
2. To clarify the plan:
- Open Plan Mode or ask the Agent to provide a plan first.
- Review and confirm the plan before implementation begins.
Confirm the Task Requirements
Review the Agent’s plan and make sure the game meets your requirements. The plan should include building the .irisfw file, installing the IDEA, and validating it on the device.
Ask the Agent to confirm the following:
- Game rules: Controls, scoring, pause functionality, and a start screen
- Simulator preview: Preview and refine the interface in the PC simulator
- Device installation: Generate the .irisfw file, then install and validate the IDEA
What is .irisfw?
It is the standard file format for an IDEA.
Open the Simulator
The Agent should open the simulator automatically after completing the first version. If it does not, send:
Review and Refine the Interface
Check the layout, interactions, and visual design. Tell the Agent what you want to change. For example:

Build and Install the IDEA
After the IDEA passes simulator testing, send:
Build Failed?
Give the complete build log to the Agent and ask it to continue fixing the issue.
Installation Failed?
- Authorize the Agent to install the IDEA according to the repository documentation.
- Make sure ESP-Mosaico is in Vibe Mode.
- Keep ESP-Mosaico connected to the PC.

Test and Refine on the Physical Device
After installation, test the game on ESP-Mosaico. Tell the Agent about any issues or new ideas.
For example:

Automated Debugging and Optimization
The repository includes debugging tools that allow the Agent to:
- Capture the ESP-Mosaico screen and runtime data
- Perform interactive tests
- Identify issues and support multiple rounds of refinement
Send:

Upload with the Agent
Create an account on mosaico.ai and sign in. Then open the IDEA Center and send:
mosaico.ai/ as a new IDEA. Complete and verify the publishing details, build and validate the .irisfw file, and create a draft after I sign in. When finished, provide the draft link, version, and checksum.
- Authorize access: Enter the authorization code in the browser when prompted.
- Review the draft: Open your profile page to view the draft.
- Submit for review: After confirming that the information is correct, submit the draft for review manually.
Tip
You can use AI browser assistants such as ChatGPT, Monica, or Sider to organize the content and complete the publishing form. Before installing a third-party extension, verify its source and requested permissions.

Upload Manually
Upload the IDEA
- Click Publish at the top of the website.
- Select the Software category.
- Enter the IDEA information and upload the .irisfw file.
Submit for Review
- Save the draft and submit it for review.
- After approval, the IDEA will appear publicly in the Software section.
