Apps
A conversation is good for "say one thing, get one thing done", but some work needs a dedicated interface: a contract library where you go through review comments one contract at a time and tick off what is confirmed; a board you drag things around on; a set of notes you jot down and flip through whenever you like. Apps are small applications of this kind that run inside HeyS: each has its own interface and data, calls on the agent when there is work to do, and shows the result right away once the agent is done. You can also talk to the agent directly inside an app and have it click buttons and fill in forms for you, or even remodel the app on the spot.
What an app is
The confirmation dialog is drawn by HeyS itself and sits on top of the app, so the app can neither change nor fake it. So whoever made the app you installed, it cannot have the agent do anything without your consent.
The Apps page
The entry for apps is under More (…) in the icon rail: click More → Apps. If you use it often, click the pin to the right of Apps in the More menu to pin it to the icon rail; after that, click the icon to go straight there (Interface Overview).

Each card is an app: its name, a one-line description, tags and version number. Click a card to open the app in a floating window. Administrators see Manage apps at the top right (Managing apps).
Organizing the list
Built-in examples
Built-in apps are updated automatically when HeyS is upgraded; if you uninstall a built-in app, later upgrades do not install it again.
Opening apps and working with the window

The app window's title bar:
You can move the window by dragging the title bar and resize it by dragging its edges. Going to another page does not close the app window; switching spaces does.
Separate window: in the desktop app, click Open in new window in ⋯ and the app opens in a system window of its own, and the original floating window closes. Only one separate window is opened per app; opening it again brings the existing one to the front. In the web app, the equivalent is Open in new tab.
When an app hands something to the main interface
When an app "fills in the input box" or "opens a session", the main interface jumps there, the app window minimizes itself to make room, and the message "Filled into a new task. Review it and press Enter to send." appears. The text is only filled in, and is never sent for you: take a look, edit it, then press Enter. The same goes for a separate window: the main window jumps there and comes to the front.
Example: contract review
The demo data includes an app called 合同审查 (Contract review), whose default expert is 合同审查专家 (contract review expert):
- At the top are the contract library (the
contracts/folder that holds the contracts, and how many there are) and three counts: contracts, unreviewed, and high risk to confirm; - Drag
.md,.docxor.pdffiles in, or click 上传合同 (Upload contract), to add contracts; - Filter by 全部 (All), 未审 (Unreviewed), 审查中 (In review) and 已完成 (Done); each contract shows its number, counterparty, amount, number of clauses and status;
- 审查这份 (Review this one) or 审查全部未审 (Review all unreviewed) has the agent do the review. The demo installs a version converted from an old workbench (the card is labeled Legacy app), so the buttons fill the task into the input box of the New Task page for you to send; a new-style app instead asks to start the task directly, showing a confirmation dialog first;
- After the review, go through the risks and suggested changes one by one, tick 已确认 (Confirmed) and write notes; in its next round the agent reads your confirmations and notes and responds to them.
The agent writing review comments and you ticking boxes on the page change the same file: the agent writes risks and suggestions, you write confirmations and notes, each in its own fields, so no extra syncing is needed.
The assistant panel: talking to the agent inside an app
Apps that declare they work with the agent have an Assistant button in the title bar. Click it and HeyS's own conversation panel slides out on the right side of the window, so you can have a multi-turn conversation with the agent without leaving the app:
- In the panel you can see the run, the answer as it streams in, charts and question cards, and you can pause and cancel just as on the session page;
- The dropdown at the top switches between this app's other conversations; the buttons next to it start a new conversation, Open in session view (jump to the full session page to continue), and close the panel;
- A new conversation's working folder defaults to the app's own data folder, so the app can read the files the agent writes right away;
- The input box is drawn by HeyS, and what you type in it is what you say, with no per-message confirmation. If the app wants to "send the agent a message for you", it still has to show the confirmation dialog first: "“App name” wants to send a message to the Agent for you".
Sessions started by apps do not appear in the sidebar; you can find them under the app's ⋯ → Related sessions, or on the Sessions page use the Source filter to see the sessions started by all apps, or by one app (Sessions, Projects and Files). These tasks cannot see your other conversations and do not read or write your global memory; the agent is told which app the task comes from and that the app will read its answer.
Having the agent operate and remodel an app
The agent operates the page directly
In an app's assistant panel or in the app's own chat, the agent can look at the page, click buttons, type text, and take screenshots to check the layout directly, and the interface changes on the spot, without waiting for the task to finish; when it changes data files, the window also refreshes file by file.
- While it is acting, "The assistant is operating" appears at the top of the window, with Pause next to it, so you can stop it at any time;
- When the agent clicks a button that makes HeyS show a confirmation dialog (starting a task, requesting a folder, and so on), the decision is still yours; it cannot touch HeyS's own interface;
- An app can declare its own actions in its manifest (such as New in Notes), and the agent calls these actions first; before an action that needs confirmation runs, the dialog "The assistant wants to run an action in “app name”" appears, and it runs only after you click Allow.
Taking screenshots to check the layout is only available in the desktop app; in the web app the agent can operate apps that support it, but does not take screenshots.
Remodeling the app
A new conversation in the assistant panel can choose between Use and Remodel. With Remodel (only available locally or to administrators), the agent changes the app's own code, for example adding a button or changing the layout:
- Open the assistant panel, start a new conversation, choose Remodel, and say what to change.
- The agent makes the changes on a development copy of the app, and you see the result right away in the same window. The window is marked Remodeling and reads and writes a set of test data, so your real data is not affected.
- When you are happy with it, click Install. If the changed version adds capabilities or actions, they are listed for you to confirm. After installing, the card is labeled Changed locally.
- If you are not happy, click Discard: the changed copy and the test data are deleted, and the window goes back to the installed version.
A remodel conversation only accepts what you type yourself in the assistant panel; an app cannot start a remodel for you.
Apps installed from the extension market can only be changed by their author: anyone else does not see Remodel, Modify or Export, and the details say "From the extension market, cannot be changed". Local versions installed before remodeling still work and can still be changed. When the files of an app installed from the market are changed, it is turned off and cannot be opened, and is labeled "Files changed, turned off"; click Reinstall to restore the original from the market (Extension Market).
The ⋯ menu and permissions
The ⋯ in the app window's title bar:
The confirmation dialogs
The dialog has "Don't ask again for this kind of request while the app is open", which lasts only while the app is open this time and stops applying once you close the app. If you click Cancel, the app is told "The user declined".
Managing apps
Manage apps at the top right of the Apps page:

Only administrators (the local user, or an administrator account in the web app or on a collaboration node) can develop, import, install and uninstall apps; everyone who can enter this space can run installed apps. Regular users have no Manage apps entry on the Apps page.
Each row under Installed apps shows the name, id, version, default expert and capabilities, with three buttons on the right:
An app labeled Legacy app is a package from the old workbench: it can only use its own private data, and the project it used to be bound to is not granted to it automatically.
The three buttons at the top right of the page:
Installing from the extension market
When you install from the Apps category of the Extensions page, HeyS first lists the capabilities it requests (use project folders you choose, ask the Agent to run tasks, start and view Cases) for you to confirm; when an update requests more capabilities, you are asked again. You are also asked every time these capabilities are actually used.
When this computer already has an app with the same id, a confirmation dialog explains what each one is (whether the local one was installed from development, imported, or built in, and who made the market one):
Developing a new app
Developing a new app always goes through Create: write one sentence describing what you need, and once HeyS works out that it is an app, it sets up a development project, has the agent build it there, and shows a live preview on the right (see Create for details). App development has a few special points:
- The id gets a random suffix automatically: when creating, you can leave the id (the folder name) blank, and HeyS uses a part derived from the name plus a random suffix, so different people using the same name do not clash; if you enter it yourself, only letters, digits,
-and_are allowed, it cannot be changed after creation, and you are warned if it is so short that it could easily clash with someone else's; - The development folder contains a development guide for the agent, which it reads first; every time the agent changes a file, the preview on the right refreshes;
- When you are happy with it, click Install locally at the top right of the preview: once the checks pass, it is installed and appears under Apps;
- Tasks and Cases started from the development preview, and the data it writes, are kept separate from the data of the installed version, so they do not contaminate each other;
- Development conversations appear under Chats in the home sidebar, with a type icon before the title; hover to see which app is being developed.
Under Apps in development in Manage apps, each row shows the check result (such as Valid or "N warnings"), and on the right you can open it, install it locally, or delete it; deleting removes only the development folder and the development project (including its sessions), and the copy already installed on this computer is not affected.
Apps are a great way to turn a type of repetitive work into an interface that is ready with one click: first get the job working in a conversation, then have the agent turn it into an app and hand it to your colleagues.
