Search Muse memory (muse.ai)
Automatically search Muse memory (muse.ai) on muse.ai. Search the memory of the signed-in Muse account (Meta's personal agent at muse.ai) with Muse's own memory search, the one Muse uses to recall facts about you: its long-term memory file MEMORY.md and its daily notes (memory/YYYY-MM-DD.md). Returns the passages that match, best first: each with its text, the file and lines it is in, the kind of memory it is (memory_md for MEMORY.md, daily for a daily note), its relevance scores, and Muse's status and confidence for it. The search matches by meaning and by words, and returns only the passages it finds relevant: up to top_k (10 by default), and fewer, or none, when fewer are relevant. Muse updates its search index on its own schedule, and nothing tells when it has caught up: a fact Muse just saved was found after 2 minutes once, and still not after 20 minutes other times. To check a fact Muse just saved, read MEMORY.md with muse.ai/read_memory instead. Pass a hit's path to muse.ai/read_memory to read the whole file. Run Muse scripts one at a time: Muse lets only a few browser tabs hold an account's connection. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
Inputs
query requiredWhat to look for, in words or as a question. It must hold at least one character that is not a space.
top_k optionalThe most passages to return. Muse returns 10 when it is omitted.
Output
hits requiredThe passages that match, best first. Empty when nothing is relevant.
FAQ
Read a Muse chat (muse.ai)
Read one chat of the signed-in Muse account (Meta's personal agent at muse.ai) from its first message to its last: every message of the user and of Muse, and every card Muse showed in it (a browser task, shopping results, choices), oldest first, each with its text as markdown, its time, its status and the web pages Muse attached as sources. Long chats are read page by page to their start, so the chat comes back whole. Get a chat's id from muse.ai/list_chats, or the threadId that muse.ai/ask returns; it also reads the result Muse posts later in a chat that ask left pending. An id the account has no chat for fails with an error that says so. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
Ask Muse (muse.ai)
Open a new side chat with Muse, Meta's personal agent at muse.ai, send one question, wait until Muse ends its reply (up to about 3 minutes), and return what Muse posted: the answer as markdown, each message and widget of the turn, and the web pages it used as sources. `answer` joins the text of every reply message of the turn. `messages` lists the turn in order: `reply` items are Muse's text messages, `widget` items are the cards Muse shows (a browser task, shopping results, choices), each with its text and the data Muse holds for it. `sources` are the pages Muse's searches gave it, deduplicated by url; they are the pool it could read, not only the pages the answer links to. Muse can give a task to its own browser and keep working after its reply. Then `pending` is true and the answer is Muse's first reply (for example "checking the stores now"): Muse posts its result later in the same chat, at `url`. `pending` is null when the browser hides Muse's activity panel, so the run cannot tell. Requires a signed-in session: Muse has no anonymous chat, and a signed-out browser fails at once with an error that says so. Each run starts a new side chat in the account, which stays in its chat list. A run that fails after it started can still have sent the question: check muse.ai/list_chats for the new chat before you ask again. The account's memory and earlier chats can influence the answer: muse.ai/reset_muse gives Muse a clean slate first. Run Muse scripts one at a time: Muse lets only a few browser tabs hold an account's connection.
Read what Muse did in a chat (muse.ai)
Read what Muse (Meta's personal agent at muse.ai) did to answer in one chat of the signed-in account, as its activity panel records it: each task Muse worked on, with every step in order (the main agent's tool calls and those of the browser agent it launched), each step's title, status, time and report, and the screenshots Muse's browser took during that step. Also the web searches Muse ran for the chat's replies, with their queries. A step's report is Muse's own account of the step, written by its model: it can claim more than the step did (Muse reported finding 15 products on a page Amazon blocked), so read it beside the screenshots and the chat (muse.ai/get_chat). Steps come in Muse's order (action_index), which is not always the order of their times. Only browser steps have screenshots, as many as Muse kept for each. The tasks are read from the activity panel of the page, which holds the account's recent tasks: a chat whose tasks the panel no longer lists returns none. An id the account has no chat for fails with an error that says so. Requires a signed-in session: a signed-out browser fails at once with an error that says so. Run Muse scripts one at a time: Muse lets only a few browser tabs hold an account's connection.
