First Prompt

Once you've configured a provider, initialize MiMo Code in your project and start asking it questions.


Initialize

Navigate to a project that you want to work on.

cd /path/to/project

And run MiMo Code.

mimo

Next, initialize MiMo Code for the project by running the following command.

none
/init

This will get MiMo Code to analyze your project and create an AGENTS.md file in the project root.

TIP

You should commit your project's AGENTS.mdfile to Git.

This helps MiMo Code understand the project structure and the coding patterns used.


Usage

You are now ready to use MiMo Code to work on your project. Feel free to ask it anything!

If you are new to using an AI coding agent, here are some examples that might help.


Ask questions

You can ask MiMo Code to explain the codebase to you.

TIP

Use the @key to fuzzy search for files in the project.

none @packages/functions/src/api/index.ts
How is authentication handled in @packages/functions/src/api/index.ts

This is helpful if there's a part of the codebase that you didn't work on.


Add features

You can ask MiMo Code to add new features to your project. Though we first recommend asking it to create a plan.

  1. Create a plan

    MiMo Code has a Plan mode that disables its ability to make changes and instead suggest how it'll implement the feature.

    Switch to it using the Tab key. You'll see an indicator for this in the lower right corner.

    none title
    <TAB>

    Now let's describe what we want it to do.

    none
    When a user deletes a note, we'd like to flag it as deleted in the database.
    Then create a screen that shows all the recently deleted notes.
    From this screen, the user can undelete a note or permanently delete it.

    You want to give MiMo Code enough details to understand what you want. It helps to talk to it like you are talking to a junior developer on your team.

    TIP

    Give MiMo Code plenty of context and examples to help it understand what you want.

  2. Iterate on the plan

    Once it gives you a plan, you can give it feedback or add more details.

    none
    We'd like to design this new screen using a design I've used before.
    [Image #1] Take a look at this image and use it as a reference.
    TIP

    Drag and drop images into the terminal to add them to the prompt.

    MiMo Code can scan any images you give it and add them to the prompt. You can do this by dragging and dropping an image into the terminal.

  3. Build the feature

    Once you feel comfortable with the plan, switch back to Build mode by hitting the Tab key again.

    none
    <TAB>

    And asking it to make the changes.

    none
    Sounds good! Go ahead and make the changes.

Make changes

For more straightforward changes, you can ask MiMo Code to directly build it without having to review the plan first.

none @packages/functions/src/settings.ts @packages/functions/src/notes.ts
We need to add authentication to the /settings route. Take a look at how this is
handled in the /notes route in @packages/functions/src/notes.ts and implement
the same logic in @packages/functions/src/settings.ts

You want to make sure you provide a good amount of detail so MiMo Code makes the right changes.


Undo changes

Let's say you ask MiMo Code to make some changes.

none @packages/functions/src/api/index.ts
Can you refactor the function in @packages/functions/src/api/index.ts?

But you realize that it is not what you wanted. You can undo the changes using the /undo command.

none
/undo

MiMo Code will now revert the changes you made and show your original message again.

none @packages/functions/src/api/index.ts
Can you refactor the function in @packages/functions/src/api/index.ts?

From here you can tweak the prompt and ask MiMo Code to try again.

TIP

You can run /undomultiple times to undo multiple changes.

Or you can redo the changes using the /redo command.

none
/redo

Customize

And that's it! You are now a pro at using MiMo Code.

To make it your own, we recommend picking a theme, customizing the keybinds, configuring code formatters, creating custom commands, or playing around with the MiMo Code config.