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.

Vibe ModeVibe Mode

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

01

Create a Project and Set Up the Environment

Create an empty folder on your PC and start the Coding Agent. Then send:

esp-mosaico-vibe
Download the code from this repository: https://github.com/esp-mosaico/esp-mosaico-vibe Set up the development environment and implement a Snake game.

1. 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.
02

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.

01

Open the Simulator

The Agent should open the simulator automatically after completing the first version. If it does not, send:

Open the simulator so I can preview the interface.
02

Review and Refine the Interface

Check the layout, interactions, and visual design. Tell the Agent what you want to change. For example:

Slow down the snake and add a pause function, a start screen, and a game-over screen.
01

Build and Install the IDEA

After the IDEA passes simulator testing, send:

Follow the esp-mosaico-vibe repository documentation to build, self-check, and install the IDEA. Report the results, the IDEA file path, the checks that passed, and anything that still needs to be validated on the physical device.

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.
02

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:

Make the AI Button return to the main menu.
Advanced

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:

Capture the current ESP-Mosaico screen and interactively test the game. Check whether the display and touch controls work properly, and report any issues you find.
01

Upload with the Agent

Create an account on mosaico.ai and sign in. Then open the IDEA Center and send:

Upload the current project to https://
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.

02

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.