Skip to content

Run History & Search ​

Mochi keeps a record of everything that runs. Search learns from it, favorites pin what matters, and stats and insights show you where things go wrong.

Every run, kept ​

Every run is recorded, whether you started it in the app, typed it in a terminal, or a coding agent ran it for you. Each record has the full output, how long it took, whether it passed, and who started it.

In the desktop app, the Runs page lists them all, live and past. Filter by where a run came from (the app, the CLI, or an agent) or by the agent and session. The Agent runs tab groups everything your agents did by session, so you can review a session after the fact. See Coding agents.

From a terminal, mochi logs lists recent runs and mochi stats sums them up:

When a run fails, Diagnose tells you why.

Search ranks results by how well the name matches, whether it's a favorite, and how often and how recently you've run it. The things you use every day come first.

sh
mochi search            # your favorites and most recent tasks
mochi search deploy     # ranked matches across every workspace

In the desktop app, the same search is behind ⌘K.

Favorites ​

Favorites sort first in search and sit on the desktop's Home page. Star a task or a workspace in the app, or from a terminal:

sh
mochi favorite add --executable "build my-project/app:image"
mochi favorite list

Stats and insights ​

sh
mochi stats               # every workspace
mochi stats my-project    # one workspace
mochi stats --days 30     # only the last 30 days
mochi stats --existing    # leave out tasks that no longer exist

Stats show total runs, success rates, and your busiest tasks. A run you stopped yourself counts as canceled, not failed.

The desktop's Insights page builds on the same numbers: what needs fixing and why, success rates, and where the time goes. Analyze (or mochi ai insights) turns them into recommendations. Insights counts the last 30 days by default, which you can change under Settings → Workspace & CLI, and leaves out tasks that no longer exist.

Insights: overall health, the one thing that needs attention, and the busiest, least reliable and most time-consuming tasks

Next ​