> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memanto widget

> Show or hide the Memanto desktop widget: a small always-on-top window with the active agent, its stats, an agent switcher and chat.

# memanto widget

Show or hide the Memanto desktop widget, a small always-on-top window in the bottom-right corner of your screen.

```bash theme={null}
memanto widget on|off
```

**Arguments:**

* `on` - Start the widget. Does nothing if it is already on.
* `off` - Close the widget. You can also close it with its power button.

The widget opens as a small icon. Click it to expand the panel, which:

* shows the **active agent**, its session and its memory stats,
* **switches** the active agent (the same agent the CLI, coding-tool hooks, the MCP server and the editor extensions use),
* **resets** the agent's session (starts a fresh one), and
* **chats** with the agent's memory: a question is answered from its memories, like [`memanto answer`](https://docs.memanto.ai/cli/ai/answer).

It works on Memanto Cloud and Memanto local, and shares the CLI's active agent and session.

**Example:**

```bash theme={null}
memanto widget on
```

```
OK Memanto widget is on (bottom-right corner; turn it off with 'memanto widget off' or its power button)
```

**Notes:**

* The first `memanto widget on` installs the window library the widget needs, [`pywebview`](https://pywebview.flowrl.com/), into the Python that runs `memanto` (with `pip`, or with `uv` when the environment has no `pip`). It is not installed with `memanto` itself. On Linux it installs `pywebview[qt]`; Windows and macOS use the system web view. If the install fails, run `pip install "pywebview>=6,<7"` yourself and try again.
* Resetting the session replaces it: the CLI, hooks and MCP server pick up the new session on their next call, and anything else still holding the old token must activate again.
* If the widget does not start, the error includes the end of its log, `~/.memanto/widget.log`.
* With [auto-activate](https://docs.memanto.ai/cli/sessions/auto-activate.md) on, the widget resumes your last active agent when none is active.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.