1,806 official scripts
Tested scripts for the sites people automate most, ready for your agent to run.
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. The account's memory and earlier chats can influence the answer.
Send a message in a Muse chat (muse.ai)
Continue a chat of the signed-in Muse account (Meta's personal agent at muse.ai): send one message in the chat you name, the main chat or a side chat, wait until Muse ends its reply (up to about 3 minutes), and return what Muse posted. Muse answers with the whole chat as its context. The output has the same fields as muse.ai/ask: `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 it shows, such as a browser task or shopping results), and `sources` are the pages Muse's searches gave it, deduplicated by url. 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: Muse posts its result later in the same chat, which muse.ai/get_chat reads. `pending` is null when the browser hides Muse's activity panel, so the run cannot tell. Get a chat's id from muse.ai/list_chats, muse.ai/search_chats, or the threadId of muse.ai/ask. An id the account has no chat for fails with an error that says so, and nothing is sent. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
List Muse chats (muse.ai)
List every chat of the signed-in Muse account (Meta's personal agent at muse.ai), as its chat list shows them: the main chat and each side chat, with its id, title, the text of its last message, when it was created and last updated, and whether it is pinned, archived or has unread messages. Muse gives the whole list at once, so the list is complete. Pass archived: true to list the archived chats instead. Pass a chat's id to muse.ai/get_chat to read it. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
Search Muse chats (muse.ai)
Search the messages of the signed-in Muse account (Meta's personal agent at muse.ai) with Muse's own search, and return one page of the messages that match, newest first: each message (from the user or from Muse) with its text as markdown, its time and its sources, the chat it is in, and the extract Muse shows for the match. All chats are searched, archived chats included, or only the main chat with main_chat_only: true. A page holds up to 100 messages. When has_more is true, run the same search again with before set to next_before to get the next page. A search that matches nothing returns an empty list. Pass a hit's chat id to muse.ai/get_chat to read the whole chat, or to muse.ai/send_message to continue it. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
