karga Beta

Installation

Karga has two parts: Karga Core runs on the Linux machine where Hermes is installed; the Karga app runs on your Android phone. They connect over your Tailscale network. Dictation is optional.

The source is on GitHub. The Android app isn't public yet.

System requirements

Linux host

Android phone

The hardware and Python requirements below apply only to local dictation.

Linux Karga Core

Clone the source, build the bridge and run the setup wizard:

git clone https://github.com/vcdsgn/karga.git
cd karga
./install-karga.sh
export PATH="$HOME/.local/bin:$PATH"
karga setup

The wizard checks Hermes and Tailscale, lets you choose a Hermes profile, and starts two user services: karga-dashboard and karga-core. It can show a pairing code at the end.

Karga uses your existing Hermes setup and its approval settings. Check those settings before asking the agent to run commands from your phone.

macOS Coming soon

Karga Core for macOS is in development. For now, use a Linux host to run Core alongside Hermes.

Android

Karga for Android

Android 8.0 and later

Not public yet

If you already have the beta APK, install it on your phone and open Karga. Public download instructions will go here once a release is available.

Pair your phone

  1. Use the QR code shown at the end of setup. If you’ve already closed setup, run karga pair on the Linux machine for a new one.
  2. In Karga, scan the code. If you can’t use the camera, choose Paste a pairing link instead and paste the full link from the terminal.
  3. Check that the server shown is yours, then confirm. When Karga says You’re connected, choose Start chatting and send a short message to check that Hermes replies.

Pairing codes expire after five minutes. Run karga pair again if the code has expired. Keep the code and its link private.

Dictation Optional

Choose dictation during setup, or change it on the Linux machine later:

karga setup dictation

Notifications Optional

Choose a mode during setup, or change it on the Linux host later:

karga setup notifications

Set up Firebase for Instant notifications

In karga setup notifications, choose Instant notifications. Karga needs a service account JSON key, not a Firebase API key or google-services.json.

  1. Create a project. In the Firebase console, choose Add project, name it, and leave Google Analytics off.
  2. Register Karga for Android. Go to Project settings → Your apps → Add app → Android. Enter com.karga.android as the package name, then choose Register app. Skip the google-services.json download.
  3. Download the private key. Go to Project settings → Service accounts → Generate new private key, then choose Generate key. Put the downloaded JSON file somewhere private on the Linux host running Karga Core.
  4. Check the key in Karga. At Where is the key file?, enter the file path and choose Check the key. Continue when the wizard verifies it. Don’t send the JSON in chat or commit it to Git.

Checking the key does not send a notification. After pairing, allow Karga notifications on Android and send a test notification separately.

Troubleshooting

Can’t connect from Android

Make sure Tailscale is connected on both devices and that both devices are on the same tailnet. If only the code expired, generate a fresh one rather than reinstalling.

Check the Linux services

systemctl --user status karga-dashboard karga-core
journalctl --user -u karga-core -n 50

If the wizard reports writable Hermes folders, review the paths shown. Choose Fix folder permissions, then Check again.

Updates and devices

Documentation