Aivyx PA · ManualContents ↓

Troubleshooting

Most problems fall into a handful of buckets. Start here before digging deeper.

Run the doctor first

Whatever’s wrong, this is the fastest first move:

aivyx-pa doctor

It checks your model connection, your config, and a live test reply, and tells you specifically what’s broken and how to fix it.

Common issues

The first reply is empty or cut off. Usually a local-model setup issue. Aivyx PA normally sizes the model’s context window for you; if you set it manually and made it too small, the assistant can get starved. Run aivyx-pa doctor — it flags this. Make sure you pulled a tool-capable model (for example qwen3:8b); very small models that can’t call tools won’t work well as an assistant.

A reply ends with “⚠ The reply was cut off by the model server’s output limit”. The model server stopped the reply at its limit on how much one reply may say, so the end is missing. Ask for the rest, or for a shorter answer. A reasoning model’s thinking counts toward that limit, so a long think can use it up. To allow longer replies, raise max_reply_tokens under [agent] (default 4096); the model server’s own limit still applies. If it happens early in replies with a local model, its context window is probably too small: run aivyx-pa doctor.

The Studio won’t load / says disconnected. The Studio is just a window onto the background daemon. If it can’t connect, the daemon probably isn’t running. Start it with aivyx-pa daemon run (or launch aivyx-pa, which starts it when your passphrase is stored) and reload the page. The Studio is served at http://127.0.0.1:7843 by default.

The Studio asks for a password / says “unauthorized”. It’s protected by a sign-in token. Run aivyx-pa studio and open the link it prints; after that your browser stays signed in. The desktop app signs in for you.

aivyx-pa says it’s “running without the daemon”. It couldn’t start the daemon in the background — usually because your passphrase is typed at a prompt rather than stored. Store it with aivyx-pa keyring set (where there’s no keyring it offers a file only you can read) and aivyx-pa will start the daemon next time, or start it yourself with aivyx-pa daemon run. It also runs without the daemon on purpose when you pass --provider, --mcp or --mcp-sse, since those only apply to that one session.

“Connection refused” to the model. Your model backend isn’t reachable. For a local model, make sure Ollama (or your chosen runtime) is running. For a provider, check that your API key is set and valid — the setup wizard verifies the key before saving, so a re-run of aivyx-pa init will catch a bad one.

The assistant won’t do something / says it’s not allowed. That’s the access and permission system working as intended. Check your access level on the Settings screen — if the assistant needs to reach a folder outside its current scope, raise the level. Some actions are also confirm-first by design and will pause for your approval rather than refuse.

It stopped a long job partway through. Two likely reasons, both intentional: it hit an approval gate (a step that needs your sign-off — approve it to continue), or it reached a budget limit (raise the budget on Settings, or wait — the daily cap is a rolling 24 hours).

A second assistant won’t start, or its Studio shows the wrong one. With named instances, each needs its own Studio port. aivyx-pa instances list shows every instance’s port; set a free one with port under [studio] in that instance’s config. Also check you’re not in a folder with its own aivyx-pa.toml — that file wins for every instance started there.

The desktop app won’t open (on Linux). It needs a few system packages (a webview and the tray libraries). If it fails to start, install them for your distribution — the installation guide lists the exact package names.

Where to look next

  • The audit log records every action the assistant took — the ground truth when you want to know exactly what happened.
  • Run aivyx-pa doctor any time; it’s safe to run repeatedly.
  • For installation and platform-specific help, see the install guide.