Skip to content
otectusPublic

About

PAL (Personal Assistant for Linux) is a virtual desktop assistant designed by and for coders who desire more engaging and convenient access to their work.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

124 Commits

Folders and files

Repository files navigation

PAL — Personal Assistant for Linux

PAL is a native desktop companion for Arch Linux and Hyprland. One window holds your Codex, Claude Code, AntiGravity, Ollama and API conversations, and a character on your desktop tells you when something finishes or needs an answer. An Android app takes the same conversations with you.

The PAL robot standing on the desktop beside the compact panel, which shows a Codex conversation about a flaky login test The expanded workspace showing a Claude Code release plan with a table

The compact panel beside PAL, and the expanded workspace. The screenshot gallery shows the rest; its conversations are scripted demo content.

Current version: desktop and Android source 2.0.3 (what changed). The published phone app is PAL Mobile 2.0.2.

Contents: What it does · Install · First steps · Conversations · Workbench · Research · Phone · Memory · Companion · Permissions · Documentation · Development

What it does

  • Every assistant in one place. Codex, Claude Code and AntiGravity through their own CLIs; Ollama on your computer or in its cloud; and OpenAI, Claude, Gemini, Azure OpenAI, DeepSeek, Mistral, Grok, Perplexity, OpenRouter, Hugging Face, LiteLLM, Forge, Eden AI or any OpenAI-compatible endpoint through named accounts. Hand work from one to another, or let one delegate to another. Providers
  • Real work without a coding CLI. The Workbench gives Ollama and API conversations files, images, isolated Python, a terminal, research, recordings, notes and connected accounts. Changes to your files wait for your review, or stay within an edit permission you grant.
  • Answers where you are. Approvals and questions appear beside the pet, in the panel, or on your phone, always naming the provider, conversation and project.
  • Memory you can inspect. Conversations in a project can share what was decided. Every recalled fact shows its evidence and can be corrected or forgotten.
  • Desktop control, when you allow it. Windows, workspaces, media, volume, timers, captures and saved scripts, each behind its own permission.
  • A companion. 24 characters with their own colors, gestures and expressions, or none at all.

Most things that send data elsewhere, act for you or listen on the network are off until you turn them on.

Install

PAL is built from source. On Arch:

sudo pacman -S --needed base-devel cmake ninja qt6-base qt6-declarative layer-shell-qt nodejs npm
npm ci
npm run build
makepkg -si

makepkg -si installs pal, its desktop entry and the pal-broker.service user service. For an installation in your home folder instead, run python3 tools/install-user.py after building. It installs beneath ~/.local; --prefix build/user-install stages it for inspection first.

Requirements

Qt 6.8 or newer
Node 24.22 or newer, with SQLite 3.51.3 or newer and FTS5 for graph memory. CI uses 26.8.2 (.node-version); the test suite also passed on 26.13.1
Desktop controls hyprland gtk3 xdg-utils wireplumber libnotify grim satty systemd
Local speech Python 3.12 or newer, alsa-utils, sox, and pipewire-alsa or PulseAudio's ALSA plugin
Codex, Claude Code installed and signed in separately; at least Codex 0.158.0 and Claude Code 2.1.259

Optional packages add single features, and PAL says what is missing instead of failing: bubblewrap (Code Lab and commands), ripgrep (regular-expression search), poppler (PDF text), tesseract with language data (OCR), python-numpy and python-matplotlib (charts), ffmpeg (transcription, clips and conversion), qt6-multimedia with qt6-multimedia-ffmpeg (playback), and Chrome or Chromium (Canvas). What each one is for

The first build downloads checksum-pinned speech assets for the bundled Piper voice; playback is offline afterwards. ElevenLabs, IndexTTS voice cloning and other voices are optional.

Upgrading. Quit the desktop app and stop its broker first (systemctl --user stop pal-broker, or cere-broker.service when coming from Cere). Conversations and settings stay in their original data directory; fresh installs use $XDG_STATE_HOME/pal.

First steps

pal                 # show the pet
pal show            # open the full workspace
pal toggle          # open or close the compact panel, starting PAL if needed
pal terminal codex  # register a terminal session, then run the normal CLI

Bind pal toggle to a key in your compositor, for example bind = SUPER, C, exec, pal toggle. PAL does not change your keybindings. To try a build without installing it, use ./tools/run.sh --show.

  1. Open Settings → Connections. Connect Ollama, check that your CLIs are found, or add an API account.
  2. Choose New session, pick a provider and project folder, and start talking.
  3. Click PAL for the compact panel, drag to move, right-click for size, roaming and quiet mode.
Keys
Enter, Shift+Enter Send, new line (Ctrl+Enter sends too; change it in Settings → Application)
Ctrl+K Command palette: conversations, settings, actions and text in transcripts
Ctrl+N New session
Ctrl+Shift+W Open or close the Workbench
Ctrl+, Settings
@ Reference a file, folder, collection or conversation (Ollama and API conversations)

In Dolphin, Start PAL Conversation Here on a folder opens a new session there. Using PAL describes the rest.

Conversations

A bubble beside PAL listing two permission requests: a file change with its diff and a deploy command
Pending approvals wait beside PAL while her windows are closed.
A Codex question form with option descriptions and one answer selected
A Codex question form with option descriptions.
The Activity panel listing two working subagents below a reply
Activity keeps subagents and tool output below the conversation.
A searchable model list with context and price for each model, in the New session dialog
A long model list with context, price and filters.
  • Replies stream as Markdown with tables, task lists and code. Attach images and files, quote, bookmark, or select text to have it read aloud.
  • More (⋯) beside Send holds the rest: model, handoff, context, the clock, style, export, documents and transcription.
  • Branch and Handoff start another conversation from an editable draft. Nothing is sent until you submit it.
  • A Codex or Claude task that a conversation started reports back by itself when it finishes.
  • Temporary conversations keep their transcript in memory only.
  • Project workflows hold a capsule of goals and decisions, sixteen reviewed recipes, and schedules. Sessions and workflows
  • Assistants are told the current date, time and zone, and how long ago earlier messages were. Time awareness

Workbench

A conversation beside the Workbench, which shows a one-line change to a TypeScript file with its diff and Accept and Reject buttons

Saved Ollama and API conversations work with real files, images and analysis beside the chat. You choose what the model is offered, folder by folder, and which models may process what is in it.

The Images pane with four pictures
Images. Generate, edit, mask, compare and read text from pictures. Every result is a new version.
Code Lab with a recipe, column choices and Python code
Code Lab. Python and SQL in an isolated sandbox without network access, on read-only copies.
A recording with its time-coded transcript
Media. Recordings beside their transcripts, with clips and subtitles.
A calendar agenda in the Accounts pane
Accounts. Your agenda, mail, files and repositories. Everything written is a draft you send yourself.

The panes are Files, Preview, Changes, Images, Runs, Terminal, Research, Canvas, Media, Notes, Shelf and Accounts. No permission-skip switch approves a file change, image job, analysis run or export. The account adapters were tested against local stand-ins, not real accounts. Workbench guide

Research, documents and recordings

A research report whose sentences cite saved passages

Research answers a question from the public web, your project's sources, or both. The report cites saved passages, and each finding says whether its passage supports it. Documents writes from a template or exports a reply, file, conversation or report as PDF, Word, a web page or Markdown. How they work

On your phone

PAL Mobile's conversation list A conversation on the phone A command waiting for an answer in the phone's Inbox The phone's Work tab with a project folder

PAL Mobile continues your conversations, answers approvals, and, with full access, uses the Workbench and this computer's settings. It talks to your desktop over a network you choose, after you compare six words on both screens, with no account, relay or Google Play service in between. Its update check asks GitHub, and a push app is contacted only if you choose one. The images above show 2.0.2; screenshots has more.

  • Download PAL Mobile 2.0.2 for Android · release notes and checksums. It needs Android 11 or later. Installed over 2.0.0, it keeps the pairing and drafts.
  • Coming from Cere Mobile 0.1.5, open that APK and choose Update. The pairing and local data stay. The 0.1.5 update checker looks for the former repository name and can miss this release.
  • A desktop can also pair a web browser, off by default.

Set up a phone · Security · Release channels · What each screen can do

Memory and web search

The Project memory dialog listing four saved facts with Evidence, Edit and Forget buttons
Saved facts for a project in Manage project memory.
An Ollama reply about Hyprland window rules with two web source buttons
A reply with its web sources.

Memory is off until you enable Settings → Knowledge → Remember and recall conversations. Conversations of the same project then share facts, decisions and earlier passages, whichever provider they use. Cloud extraction and sharing memory with cloud models are separate choices. A review model can suggest what to keep. Graph memory remains experimental: not all of its release criteria have passed. Using memory · Operations · Evaluation

Web search is off until you enable it, and works with DuckDuckGo, Brave, Mojeek, your own SearXNG, Perplexity or Google Custom Search. Web search

The companion

The default PAL robot and the 23 alternative avatars standing side by side

The compact panel in each avatar's color theme

Choose one of 24 appearances in Settings → Companion → Avatar & colors; its colors follow through the interface. Characters wave, think, celebrate, blush and dangle when picked up, and can react to the tone of a reply. Settings → Personality sets the name and conversation style, Settings → Voice the speaking voice. Reduced motion, quiet mode and zero intensity hold the original still pose. Avatars, themes and motion

PAL (Classic) demonstrating the six illustrated gestures: wave, thinking, open-hand presentation, celebration, timid blush and the pickup flail, each with its expression badge

Permissions and privacy

The Permission Center with power access options for the selected session
The Permission Center for the selected session.
AI assistance settings with permission switches and desktop categories
Settings → AI assistance: permission switches and desktop categories.
  • Desktop AI categories start disabled. Grants are per project and expire; pause and revoke are always there.
  • A CLI with full access can control the desktop through its shell. PAL's desktop permissions do not contain it.
  • State lives in private files under $XDG_STATE_HOME/pal, keys in an owner-only file apart from the database and backups. Codex and Claude transcripts stay in their native locations.
  • PAL opens no TCP listener by default. The phone gateway, browser companion, local announcements and wake-ups are separate choices.

Permissions, privacy and persistence · Workspace telemetry, an opt-in that shares recent shell and file activity from folders you pick.

Documentation

Guide
Using PAL Conversations, desktop controls, sessions, workflows, recovery
Workbench Files, changes, images, Code Lab, terminal, research, media, notes, accounts
Providers Accounts, hosted features, AntiGravity, Ollama, delegation, web search
Memory Recall, review, forgetting; operations, policy, architecture
Permissions Approvals, power sessions, where data lives, what listens
Phone Pairing, access, away from home; security, protocol
Voice · Time · Telemetry Single features
Avatars Appearances, themes, gestures, adding a character
Feature matrix · Conversation states What desktop and phone each do
Screenshots · Changelog · Validation record Pictures, history, recorded checks

Development

npm run typecheck
tools/test-virtual-desktop.sh npm test
tools/test-virtual-desktop.sh ctest --test-dir build --output-on-failure

Checks that touch the interface run in a private headless desktop and never on yours. Developing PAL covers the checks, isolated profiles, screenshots and provider compatibility.

About

PAL (Personal Assistant for Linux) is a virtual desktop assistant designed by and for coders who desire more engaging and convenient access to their work.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages