Sapientia Link

Guide to direct peer-to-peer (P2P) connections between the desktop host and mobile devices for remote local AI access via Sapientia Link.

Sapientia Link is a peer-to-peer (P2P) connectivity feature that connects your primary Sapientia desktop host with mobile devices or secondary browsers without relying on centralized cloud servers.

With Sapientia Link, your desktop workstation—with its local AI models and dedicated GPU acceleration—acts as your private compute node, while you send chat prompts, stream completions, and submit App Forms directly from your smartphone or tablet.


P2P Architecture & Privacy Model

Sapientia Link is designed around data sovereignty and simplicity:

1. Peer-to-Peer Connection

The connection between your host desktop and mobile client is established directly using end-to-end encrypted data protocols. Signaling is only used for the initial handshake; all subsequent chat messages, inference tokens, and form data flow directly between your devices without passing through any cloud servers.

2. Zero Cloud Data Storage

No prompts, documents, or conversation histories are ever routed through or stored on external cloud databases. Your desktop machine acts as a self-contained local server processing every request.

3. Single Active Device & Session Protection

To maintain optimal inference throughput and security, Sapientia Link manages one active connected client at a time. Once a client pairs, the host QR code is automatically locked and blurred to prevent unauthorized connections from other devices.


Connecting Your Devices

Pairing is designed to be instantaneous via QR code scanning—without cumbersome manual confirmation prompts:

Step 1: Create a Connection on the Desktop

  1. Open the Sapientia Link tab in the desktop application sidebar.
  2. Click "Create Connection".
  3. Review the peer-to-peer privacy notice and check the agreement box to confirm.
  4. Sapientia generates a unique peer host session and displays a QR Code. You can enlarge or download the QR code image if needed.

Step 2: Scan the QR Code from Your Mobile Device

  1. Open your phone camera or QR scanner application.
  2. Point your camera at the desktop QR code to open the Web Client link (sapientialink.godiscus.com).
  3. The mobile browser automatically initiates the Peer-to-Peer connection negotiation with your desktop host.

Step 3: Instant Connection

  • The connection is established automatically upon scanning.
  • The desktop interface updates instantly to display the connected client card (device name, connected timestamp, and active status indicator).
  • The desktop host automatically bootstraps the mobile client with configuration settings, UI translations, and the currently active App Form.

  • Real-Time Streaming Chat: Compose queries on your phone and observe real-time token streaming from the local model running on your desktop GPU.
  • Remote App Form Submission: Fill out interactive forms (text fields, dropdowns, checkboxes, date pickers) on mobile and submit them directly into the host workflow.
  • Session Controls: Disconnect a client anytime by clicking the Remove Device button, or click Stop Connection on the desktop to completely close the host session.

Network Optimization Tips

  • Shared Wi-Fi Network: Connecting both your desktop computer and mobile device to the same Wi-Fi router keeps data transfer within the local network (LAN), resulting in sub-millisecond latency and maximum throughput.
  • Firewall & Network Settings: Ensure local firewalls permit local traffic so Peer-to-Peer connections can negotiate smoothly.