Workspaces keep an AnythingLLM project's documents and conversations together. Connecting the AnythingLLM mobile app lets you open those workspaces and chat from an Android phone.

The Android app must already be set up, and the phone needs to reach a running AnythingLLM Desktop, Cloud, or self-hosted instance. The instance needs a workspace with a working chat model. On a multi-user instance, an administrator must generate the pairing QR code and approve the request. Pair only a phone authorized to use the workspace access of the account that generates the code.

On AnythingLLM Desktop, network discovery exposes the Desktop API to other devices on your local network. Use it only on a trusted network shared by the phone and computer, and keep the API off the public internet. Before pairing, Enable Network Discovery must be on under Settings → Admin → General. A change takes effect after you fully quit and restart AnythingLLM Desktop. See the Desktop network discovery instructions.

Steps to connect the AnythingLLM mobile app:

  1. Click the settings wrench at the bottom of the instance sidebar.
  2. Expand Tools in the instance settings sidebar.
  3. Select AnythingLLM Mobile under Tools.

    The pairing QR code should stay private. Anyone who has the code and can reach your instance can use it to request access.

  4. Click Register New Device on Connected Mobile Devices if the pairing QR code does not open automatically.
  5. Tap the top-left menu icon in the Android app to open Workspaces.
  6. Tap the QR icon beside New Workspace.
  7. Choose Only this time if Android asks for camera access.
  8. Scan the instance's pairing QR code with the Connect to AnythingLLM camera screen.
  9. Check for Awaiting approval on the phone's Verify Connection screen.
  10. Close the instance's QR popup if it is still open.

    The QR code is hidden in the image.

  11. Click Approve Access only on the pending row that matches your phone's name and the time you scanned the QR code.

    Approval pairs the phone with the instance and grants access to the workspaces available to the account that generated the QR code. The Device Name and Registered columns identify the request. If the name or time does not match, leave the request unapproved.

    Revoke ends that phone's access to the instance.

  12. Tap Sync beside the workspace you want to copy under WORKSPACES on the phone.

    A repeat sync replaces the workspace copy on the phone. The copy includes threads and chats from the selected workspace, excluding chats in its default thread.

  13. Tap Go back to home once the workspace shows Synced.
  14. Open the phone's Workspaces drawer again with the top-left menu icon.
  15. Tap the synced workspace in the drawer if its threads are collapsed.
  16. Open a thread listed under the synced workspace.

    If the instance had no threads to copy, the app creates a starter thread named New Thread for that workspace.

  17. Tap the compose icon at the top right if the open thread already contains a chat.

    The new thread stays in the workspace you opened.

  18. Type a short test prompt such as What is 2 + 2? in Enter your prompt.
  19. Tap the send arrow above the keyboard.
  20. Confirm that a reply appears in the same workspace thread.
Share this guide