AI

Install Cindy AI Agent on Ubuntu With a Local Model or API Key

I wanted to know whether Cindy is worth a slot on a Linux desktop or whether it’s another wrapper around tools I already run. It’s the desktop agent from makecindy that went past 10,000 GitHub stars within a few months and hit number one on GitHub Trending in late October. It also bundles its own copies of Claude Code, Codex and Pi behind one window. My first launch on Ubuntu didn’t open a window at all. It printed a D-Bus error, then a keyring prompt, before I ever saw a login screen.

Original content from computingforgeeks.com - post 200807

These notes cover the whole path: you install Cindy AI Agent from the official .deb, fix the launch errors and skip the account. Then you run one coding task twice, on a small local model on CPU and on an API model through OpenRouter, with the clock running both times. I ran all of it in December 2026 on an Ubuntu 24.04 desktop VM on Google Cloud (8 vCPU, 31 GiB, no GPU) with Cindy 0.1.150, and every screen and log below comes from that box.

Sizing up what Cindy actually is

Cindy is an Electron app under the Apache 2.0 licence. The clients are open source in the makecindy/cindy repository, while the account backend, sync and Cindy’s own hosted models live outside that open-source repo. What you get on the desktop is a chat window that drives a coding agent in a folder you pick, with sessions, plugins, automations and a provider list for models.

So who’s actually doing the coding? Not Cindy. Each session runs on one of three engines that ship inside the package, and the installed tree under /usr/lib/cindy/resources shows the pieces:

  • cc-manager: the bundled Claude Code
  • pi-manager: the bundled Pi agent
  • anthropic-compat-proxy: lets Claude Code talk to non-Anthropic models

Codex is the third engine. Cindy doesn’t use the claude or codex binaries on your PATH, although it does read your existing ~/.claude and ~/.codex settings. That matters because a permission rule or model default you set for the CLI can show up inside Cindy too, so check those files first if a session behaves differently from what the Cindy settings say.

Checking the requirements first

The project’s Linux notes are short, and every line of them turned out to matter on my box. Ubuntu gets a .deb, Arch and Omarchy get an install script, and the app assumes a real graphical login rather than a server you SSH into. The short version of what it expects:

  • Ubuntu 22.04 or 24.04 on x86_64, installed from the .deb
  • A logged-in desktop session, not an SSH shell
  • A session D-Bus and an unlocked Secret Service keyring
  • About 640 MB for the app and 1.3 GB more in your home after first use

The keyring line is the one most people will trip on, because Cindy stores credentials through Electron’s safeStorage and refuses a plaintext fallback.

Downloading and verifying the .deb

There is no apt repository. Cindy publishes a JSON manifest with the current version, the file path and its SHA-256, which is better than a bare download link because you can check the package before root ever touches it. A fresh desktop install doesn’t ship jq, so add it first:

sudo apt install -y jq wget

Ask the manifest what the current Linux build is:

curl -s https://hotfix.cindy.app/cindy/manifest-linux-x64.json | jq ".app | {version, installer}"

On the day I installed it, the manifest pointed at a 211 MB package:

{
  "version": "0.1.150",
  "installer": {
    "file": "app/linux-x64/cindy-0.1.150-amd64.deb",
    "sha256": "a063b830a753048052f1c37c22104fbb92dfd30725a89a471b6e2da1d4a6bcb1",
    "size": 211095684
  }
}

Rather than paste the file name and hash by hand, read both from the manifest so the commands keep working after the next release, and download the package:

MANIFEST=https://hotfix.cindy.app/cindy/manifest-linux-x64.json
DEB=$(curl -s "${MANIFEST}" | jq -r .app.installer.file)
SHA=$(curl -s "${MANIFEST}" | jq -r .app.installer.sha256)
wget -q "https://hotfix.cindy.app/cindy/${DEB}"

Then compare the file against the published hash:

echo "${SHA}  $(basename "${DEB}")" | sha256sum -c

A single OK line means the bytes match what Cindy published. Mine came down in about 11 seconds on the GCP link:

cindy-0.1.150-amd64.deb: OK

If you see FAILED instead, delete the file and download it again before going further, because apt will install whatever bytes it is given. The manifest is also the quickest way to see whether a new build is out, since it changes the moment one ships and you do not have to open the app to read it.

Installing Cindy with apt

Install the local file through apt rather than dpkg -i, because the package depends on GTK, NSS, libgbm and xdg-utils, and apt pulls whatever’s missing in the same step. On my minimal desktop that meant about 40 small Perl and xdg packages:

sudo apt install -y ./cindy-*-amd64.deb

Confirm the package registered and see where it landed:

dpkg -l cindy | tail -1
ls -l /usr/bin/cindy /usr/lib/cindy/chrome-sandbox
du -sh /usr/lib/cindy

The binary is a symlink into /usr/lib/cindy, and the Chromium sandbox helper carries the setuid bit it needs. Don’t strip that bit or launch with --no-sandbox, which the Linux notes explicitly warn against:

ii  cindy          0.1.150      amd64        Cindy desktop client
lrwxrwxrwx 1 root root    18 Nov 29 16:44 /usr/bin/cindy -> ../lib/cindy/Cindy
-rwsr-xr-x 1 root root 15232 Nov 29 16:44 /usr/lib/cindy/chrome-sandbox
640M	/usr/lib/cindy

That 640 MB is mostly the bundled engines and their Node runtimes, so this is not a light install next to a single CLI. A cindy.desktop entry also lands in the app grid under Development, and it registers the cindy:// URL scheme, which is how a browser sign-in hands control back to the app if you decide to create an account later.

Fixing the display, D-Bus and keyring errors

My first two launches failed because I started Cindy from an SSH shell out of habit. Each failure tells you exactly which piece of the desktop session is missing, so they’re worth reading rather than working around.

Missing X server or $DISPLAY

Running cindy over plain SSH exits at once, since there’s no display to draw on:

[40176:1201/035941.634596:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:257] Missing X server or $DISPLAY
[40176:1201/035941.634696:ERROR:ui/aura/env.cc:246] The platform failed to initialize.  Exiting.

Nothing is wrong with the package here. Electron needs a display server, and an SSH session does not have one unless you forward X. I would not bother forwarding it, because the D-Bus and keyring problems below still apply over a forwarded display, so the app really belongs on the desktop it runs on.

Failed to connect to the bus

Pointing it at the desktop with DISPLAY=:0 gets further, then fails on D-Bus, because an SSH login has no DBUS_SESSION_BUS_ADDRESS. Without the session bus Cindy can’t reach the keyring either:

[40226:1201/035945.041885:ERROR:dbus/bus.cc:406] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[40226:1201/035945.098018:ERROR:dbus/object_proxy.cc:572] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:

The fix for both is the same: start Cindy from the app grid or from a terminal opened inside the logged-in desktop. Exporting variables over SSH gets you part of the way, but the keyring still belongs to the graphical session.

Choose password for new keyring

Once it started inside the session, GNOME asked me to create a keyring before Cindy drew anything. That happens when no login keyring exists yet. Stock Ubuntu Desktop images ship libpam-gnome-keyring, so you’ll mostly see this on a desktop added on top of a cloud or server image, which is what my lab VM was:

GNOME prompt asking to choose a password for a new Default keyring when Cindy starts

Cancelling it does not help. Cindy’s log then shows the GNOME libsecret backend found but unusable, and it will not store an account token or provider key until a keyring answers:

   backend: 'gnome_libsecret',
   passwordStore: 'unset',
   desktopIdentityPresent: true,
   sessionBusPresent: true
 }
[2026-12-01T00:40:51.543+00:00] [WARN ] [authManager] safeStorage encryption unavailable (read) {
   key: 'cindy_auth_account_deletion_receipt',
   stage: 'backend',
   probeOk: false
 }

Cancel the prompt rather than creating a keyring there, because it makes one called “Default keyring” and PAM only ever unlocks the one called login. Install the PAM module instead:

sudo apt install -y gnome-keyring libpam-gnome-keyring

Then log out and back in once with your password, so PAM creates the login keyring and unlocks it at every login from now on. If you already created a “Default keyring” from the prompt, delete it in Passwords and Keys or set login as the default there, otherwise Cindy keeps asking for the other one.

Default keyring is locked

With the PAM module in place I hit the second variant, because my lab VM logs in automatically. Autologin never sees a password, so PAM can’t unlock the keyring, and every Cindy start asks for it:

Authentication required prompt saying the Default keyring is locked after GDM autologin

Type the keyring password and click Unlock, and Cindy carries on starting. On a normal Ubuntu Desktop where you log in with a password, you’ll probably never see either prompt. If you use autologin, you can either accept the unlock prompt once per session or turn autologin off; I’d turn it off on any machine holding API keys.

Skipping sign-in and what still works

The welcome screen asks for an email, with Apple, Google and SSO buttons underneath. You do not need any of them. The small Skip Sign-In link under the Continue button drops you into local mode, and the sidebar then reads “Not signed in” for the rest of the session:

Cindy 0.1.150 welcome screen on Ubuntu with the Skip Sign-In link under the email field

Local mode ran everything in this article: sessions, both engines I tried, local providers and an OpenRouter key. Cindy’s privacy and telemetry notes say local mode does not report to its analytics service. What you lose without an account is anything that needs Cindy’s servers:

  • Cindy AI, the hosted models billed against Cindy credit
  • Phone and remote control of a desktop session
  • Cloud sync of sessions between machines

Your own API keys never draw on Cindy credit, signed in or not. If you only want a GUI agent driving your own models, skipping sign-in costs you nothing I could find. It also means there’s no Cindy sync sending your sessions anywhere, so the code you work on only travels to the model provider you picked.

Connecting a local model

Model sources live in Settings, Providers, Add provider. Two local options sit in the list: Ollama at the top under Recommended, and llama.cpp lower down under More providers. LM Studio is the third local option, but it needs its own desktop app.

Cindy Add provider dialog listing Ollama under Recommended and llama.cpp under More providers
  1. 1Ollama
  2. 2llama.cpp

The two behave quite differently on Linux, which is why I tried both before settling on one.

What the Ollama provider does on Linux

Clicking Ollama on Linux opens a dialog that only says “Install the Ollama runtime”, with no button to do it. The dialog’s own text says that once you install Ollama, you can download and use local models without opening the Ollama app, so on Linux the runtime is yours to install first:

Cindy Add Ollama dialog on Linux saying Install the Ollama runtime with no install button

I took the llama.cpp route instead, because it is the one provider where Cindy installs the runtime itself, and that’s the path someone landing on a fresh Ubuntu desktop would hit first. Both runtimes load GGUF model files, so the model choice below carries over if you go the Ollama way.

Installing the llama.cpp runtime from Cindy

The llama.cpp page has an Install in Cindy button. It fetched llama.cpp build b12870 into ~/.config/CindyGlobal/llamacpp-runtime in under a minute, then offered a model search with a recommendation based on the machine’s RAM:

Cindy llama.cpp provider page with the Install in Cindy button for the bundled runtime

Searching “4B” offered Qwen3.5 4B at Q4_K_M, 2.8 GB. I clicked Download and add, and a few minutes later it failed with a generic message and a Retry button. Retrying gave the same result, and the log only said LLAMACPP_OPERATION_FAILED. A plain download of the same file from the same VM worked a minute later.

Cindy llama.cpp provider showing The operation could not finish after the Qwen3.5 4B download

The failed entry stays in the list with its file name, so you can see which GGUF Cindy was after and fetch that exact file yourself. I could not find a size or checksum complaint in the logs, so my guess is a timeout in Cindy’s downloader rather than anything on the disk, but it is only a guess.

Working around the failed model download

What worked was skipping Cindy’s downloader and serving the model with the llama-server binary Cindy had just installed. Fetch the same GGUF from Hugging Face first:

mkdir -p ~/models
wget -P ~/models https://huggingface.co/bartowski/Qwen_Qwen3.5-4B-GGUF/resolve/main/Qwen_Qwen3.5-4B-Q4_K_M.gguf

It took 28 seconds here and left a 2.9 GB file. Then start llama-server from Cindy’s runtime folder, with a 32K context because the agent’s system prompt alone is close to 10K tokens:

cd "$(ls -d ~/.config/CindyGlobal/llamacpp-runtime/b*-install-*/llama-b* | tail -1)"
./llama-server -m ~/models/Qwen_Qwen3.5-4B-Q4_K_M.gguf --host 127.0.0.1 --port 8080 -c 32768 --jinja

The --jinja flag is the default on current builds, and it makes the server apply the model’s chat template, which tool calls depend on. The server runs in the foreground, so leave that terminal open and start it again after a logout or reboot before you use the provider. From a second terminal, check that the server answers and serves the model:

curl -s http://127.0.0.1:8080/health
curl -s http://127.0.0.1:8080/v1/models | jq -r ".data[].id"

A healthy server returns the status and the model path:

{"status":"ok"}
/home/philip/models/Qwen_Qwen3.5-4B-Q4_K_M.gguf

Back in Add provider, Cindy had already spotted it under “Detected on this computer” as llama.cpp, “Connect a running local server”. Clicking it fills the Codex, Pi and Claude Code base URLs with the server address, so there’s nothing to type. You tick the model on the next page and click Finish.

Cindy Add llama.cpp dialog filled with the Codex, Pi and Claude Code base URLs of the running llama-server

Any OpenAI-compatible server on that port should get the same treatment, which is useful if you already run llama.cpp yourself. Our CPU-tested llama.cpp GGUF guide covers the server flags in more depth than Cindy’s own panel does.

Running the first task on a local model

I gave both runs the same prompt in a new empty folder, chosen because it has a checkable right answer and needs the agent to write a file and run a command:

Write a bash script named disk-report.sh in this folder. It takes a directory as its only argument, prints the 5 largest files under it with human-readable sizes, and exits with an error message if the argument is missing or is not a directory. Make it executable, then run it on /usr/share/doc and show me the output.

The session started on the Claude Code engine, which was the default for this provider. After a minute and a half it showed “Connection interrupted, reconnecting (8/10)” and never recovered. My read is that Claude Code’s request is too large for a 4B model on four CPU threads (llama-server ran with 4 threads on the 8 vCPU VM) to answer before the client gives up:

Cindy session on the Claude Code engine stuck at Connection interrupted, reconnecting 8 of 10

Each session can switch engine from the model picker. I opened it, picked the Pi engine, and resent the prompt. Pi’s first request came to 9,873 tokens in llama-server’s count, which a CPU can at least get through:

Cindy model picker with the engine menu offering Pi and Claude Code for the local Qwen model

Then I waited. The llama-server log shows where the time went: nearly seven minutes reading the prompt before the model produced a single token, then generation at under four tokens a second:

slot print_timing: id  1 | task 533 | prompt processing, n_tokens =   9873, progress = 1.00, t = 402.50 s / 24.53 tokens per second
slot print_timing: id  1 | task 533 | n_gen =    232, tg =   3.46 t/s, tg_3s =   3.43 t/s

The first tool call, writing the script, arrived 7 minutes 52 seconds after I hit Enter. Running chmod and then the script needed my approval each time, because no review model was connected (more on that below). The final answer came 18 minutes after the prompt, with a neat table:

Cindy result from the local Qwen3.5 4B model listing 8.6K files as the largest under /usr/share/doc

The table is wrong. The script the 4B model wrote pipes ls -lh lines into sort -hr, which sorts on the permission string rather than the size column, so it returned tiny 8.6K example files. The error handling was right, though. The core of what it wrote:

find "$1" -type f -exec ls -lh {} + 2>/dev/null | \
    sort -hr | \
    head -5 | \
    awk '{print $5, $9}'

A quick ground truth with find -printf shows what the right answer was, so you can tell the two runs apart:

find /usr/share/doc -type f -printf "%s %p\n" | sort -nr | head -5 | numfmt --to=iec --field=1

The largest files were the kernel changelogs at about 1 MB each:

1.0M /usr/share/doc/linux-gcp-7.0-tools-7.0.0-1018/changelog.Debian.gz
1.0M /usr/share/doc/linux-gcp-7.0-headers-7.0.0-1018/changelog.Debian.gz
1.0M /usr/share/doc/linux-headers-7.0.0-1018-gcp/changelog.Debian.gz
1.0M /usr/share/doc/linux-modules-7.0.0-1018-gcp/changelog.Debian.gz
1005K /usr/share/doc/libsane-common/sane-mfgs.html

A 4B model on CPU will drive Cindy’s tools correctly, but you’re the code reviewer. If you want a local model that’s actually useful inside an agent, you need a GPU or a much bigger CPU budget, which is the same conclusion I reached running Hermes Agent on a local CPU model.

Adding OpenRouter and rerunning the task

For the API run I added OpenRouter, which gives one key for hundreds of models. Search for it in Add provider, then choose API key connection rather than Sign in, so the key stays in your keyring instead of going through a browser flow:

Cindy Add OpenRouter dialog with the Sign in and API key connection choices

After the key, Cindy pulled OpenRouter’s catalogue (478 models that day) and pre-ticked three it recommends. My first attempt went to the pre-ticked DeepSeek V4 Pro and failed at once, before any work:

Cindy error saying the OpenRouter account has insufficient quota for DeepSeek V4 Pro at 393216 tokens

The request asked for up to 393,216 output tokens, the model’s maximum, and OpenRouter rejects any request the balance can’t cover in the worst case. A low-credit key therefore fails on big models even when the real answer would cost a fraction of a cent. My next tries hit two different walls:

  1. DeepSeek V4 Pro: 402, balance can’t cover a 393K-token ceiling
  2. Gemma 4 31B free tier: 429, rate-limited upstream
  3. Gemma 4 31B paid (google/gemma-4-31b-it): worked first time

The paid Gemma model on the Pi engine wrote the script in 3.5 seconds, then stopped at the run step. That approval prompt shows up for any model until you connect a review model, and it’s worth understanding before you leave an agent alone:

Cindy asking to run chmod and the script, with the no automatic review model warning and the Allow once button
  1. 1No automatic review model
  2. 2Allow once

The banner reads “No automatic review model is available”. Sessions default to Auto-review, where a second model approves routine commands, and with no review model configured every shell command falls back to you. Click Allow once (or press Enter) and the agent continues. Shift+Tab cycles the three modes if you’d rather choose up front, and the menu describes them like this:

  • Default permissions: you approve actions when needed
  • Auto-review: an AI model approves actions, you confirm when needed
  • Full access: routine actions run directly, outside the workspace too

I stayed on Auto-review and clicked through, because Full access lets the agent touch files outside the project folder and run network commands without asking. On a machine with SSH keys and cloud credentials in the home directory, that is not a trade I would make for a first run.

Cindy result from Gemma 4 31B over OpenRouter listing the 1.0M changelog files under /usr/share/doc

This time the answer matched the ground truth. Gemma used du -h per file and sort -rh, which sorts on the size column that du prints first:

find "$1" -type f -exec du -h {} + 2>/dev/null | sort -rh | head -n 5

I reran both scripts by hand afterwards to check the error paths. Both exit 1 with a clear message when the argument is missing or is not a directory, so the only real difference was the sort. That is the kind of bug that slips through because the output looks plausible: five files, sizes and paths, all neatly formatted, so you only catch it when you already know what the answer should be.

Comparing the local and API runs

Both runs used the Pi engine and the same prompt, and the timestamps come from Pi’s own session log, so the comparison is between models rather than setups. Wall clock includes the time I took to click Allow once, which is why model time is listed separately:

MeasureQwen3.5 4B Q4_K_M, local CPU (4 threads)Gemma 4 31B, OpenRouter
Prompt to first tool call7 min 52 s3.5 s
Model time, all turnsabout 9 min 38 sabout 7.6 s
Wall clock, prompt to answer18 min 2 s2 min 1 s
Agent turns43
Input tokens, first turn9,8779,485
Costnone beyond the VMabout $0.0032
Largest-files resultWrong (sorted on permissions)Correct
Error handlingCorrectCorrect

Is the local run worth it? Three tenths of a cent for a correct answer in seconds, against nearly ten minutes of CPU for a wrong one, isn’t close. The local path makes sense when the code can’t leave the machine, and even then I’d put a GPU and a bigger model behind it before trusting it with real files. For a laptop or desktop without a GPU, an API key is the practical way to run Cindy, and OpenRouter makes switching models cheap to try.

Weighing Cindy against Claude Code, Codex and Pi

Since the engines are those same tools, the question is what the window adds. In my runs the agent loop behaved like the engine underneath it, including Claude Code’s appetite for prompt tokens. What Cindy layers on top is mostly about switching and supervision:

You wantCindyClaude Code, Codex or Pi on their own
Swap engine or model per sessionFrom one pickerReconfigure each CLI
Local and API models side by sideProviders list, detects local serversPer-tool config files
Approve commandsButtons, Auto-review with a second modelTerminal prompts and permission flags
Run in a terminal or over SSHNo, needs a desktop sessionYes
Phone and remote controlYes, with a Cindy accountPer tool, if at all

If you live in a terminal, the plain CLIs are lighter and work over SSH, and the Claude Code cheat sheet covers the flags Cindy hides behind its buttons. If you want a desktop app for one vendor’s models only, the official Claude Desktop with Claude Code on Linux or the ChatGPT desktop app on Linux is simpler. Cindy earns its size when you hop between models and engines through the day, which is a different job from the editors in our AI IDE comparison for Linux.

Updating and removing Cindy

Updates for the .deb arrive inside the app, which asks for your password through polkit and installs the new package itself. The What’s New dialog on my install listed the version and date, so you can always tell which build you’re on. Removing the package is ordinary apt:

sudo apt remove -y cindy

apt frees 667 MB, but your data stays behind. On my box ~/.config/CindyGlobal still held 1.3 GB afterwards, the llama.cpp runtime among it:

After this operation, 667 MB disk space will be freed.
Removing cindy (0.1.150) ...
1.3G	/home/philip/.config/CindyGlobal

Delete that folder too if you’re done with Cindy for good, and remember that the GGUF in ~/models is a separate 2.9 GB. If you think you’ll reinstall, keep both, because the runtime and the model download were the slowest parts of my setup and there is no reason to repeat them.

What I still don’t know

A few things didn’t settle in the lab, and they’re the ones I’d check before rolling Cindy out to anyone else:

  • Why the in-app GGUF download failed when wget on the same VM worked
  • How it behaves on a Wayland session; my lab desktop ran Xorg
  • Whether a cheap review model makes Auto-review stop asking for every command
  • What Smart routing actually picks when local and API providers are both connected

The download failure is the one I’d watch, because it’s the first thing a new user on Linux will try. Until it’s fixed, the manual GGUF plus Cindy’s own llama-server gets you the same result in two commands. The same trick of pointing a desktop agent at a local server is how the DeepSeek harness local model setup works too.

Keep reading

Upgrade Ubuntu 24.04 to Ubuntu 26.04 LTS (Step by Step) Ubuntu Upgrade Ubuntu 24.04 to Ubuntu 26.04 LTS (Step by Step) UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup AI Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup Anthropic Terraform Provider: Claude Managed Agents as Code AI Anthropic Terraform Provider: Claude Managed Agents as Code AI NAS Explained: Is Local AI on a NAS Worth It? AI AI NAS Explained: Is Local AI on a NAS Worth It? Is Your Data Ready for Agentic AI Decision-Making? AI Is Your Data Ready for Agentic AI Decision-Making?

Leave a Comment

Press ESC to close