Skip to content PULSAR
Docs Install
DocsThemesReleasesBlog Install Source on GitHub
Docs Coding agents

Coding agents

Pulsar doesn’t come with a coding agent. It can install Claude Code, Codex, Antigravity CLI or opencode for you, each in a toolbox.

Install one

The welcome window offers them at first login, or you can add one from a terminal.

add creates an agents toolbox, installs the agent into ~/.local/share/pulsar/agents, and adds a command to ~/.local/bin. Claude Code, Codex and opencode come from npm, and Node is installed in the toolbox with the toolbox’s own sudo, which asks for no password. Antigravity CLI has no package, so add reads Google’s release manifest and checks the download’s SHA-512, as Google’s own install.sh does. opencode is version 2 (@opencode/cli), and add removes a 1.x it installed earlier. It layers nothing on the host. An agent you installed yourself is left in place (listed as native) and still gets the setup below.

Gemini CLI and aider aren’t listed any more, but add, run and remove still work for them, and add first says why they were dropped: Gemini CLI no longer signs in free or Google AI Pro/Ultra accounts, and aider has had no release since February 2026.

The agents live in your home folder, so toolbox rm -f agents removes Node and leaves them. pulsar agent remove takes one off. An agent in the toolbox can read your whole home folder and use your desktop session, as you can. To keep it to one project, use the sandbox.

What it knows about the machine

The briefing is /usr/share/pulsar/AGENTS.md. It tells an agent that /usr is read-only, that dev tools go in a toolbox and apps in Flatpaks, what a rollback covers, and what it must never do. pulsar agent guide prints it.

add puts the guide in each agent’s own instructions, unless a file is already there, and links the image’s skills (including one that makes themes). It registers pulsar mcp only if the agent has no pulsar server yet.

AgentGuideMCP serverSkills
Claude Code~/.claude/rules/pulsar.md~/.claude.json~/.claude/skills
Codex~/.codex/AGENTS.md~/.codex/config.toml~/.agents/skills
Antigravity CLI~/.gemini/config/rules/pulsar.md~/.gemini/config/mcp_config.json~/.gemini/config/skills
opencode~/.config/opencode/AGENTS.md~/.config/opencode/opencode.json~/.config/opencode/skills

Antigravity CLI ignores a rules file without a trigger, so its pulsar.md is a five-line file set to trigger: always_on that includes the guide. The others get a link. The MCP server answers with these tools:

ToolWhat it answersChanges something
doctorthe health checks, all or one
statusdeployments, pins and layered packages
manifestthe image, the variant, the kernel and the hardware
reportthe redacted diagnosis report, with a crash if asked
crashesyour crashes this boot
update_checkwhether a newer image is out
agent_statusthe guide, the agents, guard, the pin and the sandbox setting
theme_list, theme_currentthe desktop themes
theme_setsets your desktop theme (pulsar theme revert undoes it)yes
sessionsthe agent sessions, and what each is doing
session_readanother session’s screen
session_messagea message to another session, or a replyyes
inboxa session’s messages, both ways
job_startstarts a long command as a jobyes
jobs, job_logthe jobs, and one’s output
job_stopstops a jobyes
machinesyour other Pulsar machines
machine_run, machine_jobstarts an agent or a job on another machine, with your branchyes
machine_fetchbrings a session’s branch back from another machineyes

The tools that change something are marked as writes, so the agent asks you before using them. A sandboxed agent has no pulsar mcp.

pulsar agent on its own shows how it’s set up.

Ask it to fix something

ask writes a redacted pulsar report (plus the crash, if named) to a private file in $XDG_RUNTIME_DIR (deleted at logout), then starts your agent with a prompt pointing at it, your question, and “Do not change the system without asking me first.” opencode sends it once a model is set up.

A crash notification’s Ask button runs pulsar agent ask --crash in a new terminal. The report has the stack trace and logs, never the core file (Troubleshooting). The agent sends what it reads to its provider (Anthropic, OpenAI, Google, or the one you set up in opencode).

The Agents app

Agents, in the app grid, lists every session under its project, with the ones that need you first. A session is the agent’s own terminal, inside the window. Closing the window leaves the agents working.

The Agents app: sessions grouped by project on the left, a Claude Code session in the middle explaining its fix for a flaky login test, and Changes on the right with the diff of src/auth/login.py.
  • With no session open, the window asks “What should the agent do?” What you type becomes the agent’s first message, and the session’s name unless you fill in Name. The agent, a worktree of its own and the sandbox are picked beside it, and remembered per project.
  • Opening a stopped session continues it. Claude Code and opencode pick up the same conversation, and Antigravity CLI does once Pulsar has seen its conversation. Codex picks up its latest conversation in that folder.
  • Changes (Ctrl+Shift+D) lists the files the agent changed since the session started, or since the last commit, with each file’s diff and Revert File. A comment on a diff line is typed into the agent’s prompt as path:line: … for you to send.
  • History lists the snapshot taken at each start. Go Back puts the files back, stopping the agent first if it’s working, and the Undo after it takes that back.
  • The bar under a session shows the model, what the agent is doing, how full its context is, Codex’s 5-hour and weekly limits, the sandbox, the branch and how many files changed. Claude Code and Antigravity CLI don’t write their plan limits to disk, so they show context only.
  • Archive (the × on a session, or Ctrl+Shift+Delete) hides it, with Undo. The app deletes archived sessions after a week, with their snapshots and scratch folders. Preferences (Ctrl+,) sets that to 1 day, 30 days or never. A worktree with uncommitted changes is kept, and so is every branch.
  • Ctrl+Shift+B narrows the list to the agents’ tiles.

In the app a session has no tmux keys, menus or status line, and when the agent quits you get Continue. A terminal attached to the same session keeps tmux. A notification’s Open, Pulsar Commands and the Agents page in Pulsar Settings all open the session in the app.

Sessions from a terminal

pulsar agent run <agent> --tmux <name> starts the agent in a named tmux session that outlives its terminal window, or attaches to it if it’s already running. Sessions run on a tmux server of their own (-L pulsar-agents), apart from yours. tmux is in the image. The app shows these sessions too.

A session that ended starts again with its agent, folder, conversation and sandbox setting. --new starts a fresh conversation. With --worktree, the session gets a branch named after it, checked out in <repo>/.worktrees/<name>.

Each session gets a scratch folder, /var/tmp/pulsar-agents/<name>, in $PULSAR_SCRATCH. Pulsar’s guide tells agents to put VM disks, builds and downloads there. It’s deleted with the session.

When an agent in a session you aren’t looking at finishes or needs you, a notification says so. Claude Code, Codex and Antigravity CLI tell Pulsar when they finish a turn, and the session shows as waiting until you send it something. opencode doesn’t yet, and notifies you only when it rings the terminal bell.

Undo works in git repositories. It puts the files back as they were when the session first started (or last started with --new), however often it restarted since, and deletes files added since. Files git ignores are left as they are, and so is any file the undo couldn’t take back, which it names. Branches, and commits made since, stay where they are. A whole undo refuses to run while a session is running in that checkout, and --file doesn’t.

On a fresh install the sandbox and the guard are both off. A session you leave running can read your whole home folder, and anything it runs can layer packages or roll back without a password.

Disk space

The footer of the app’s session list shows how much room is left on /var, amber when it’s getting tight and red when it’s nearly full. Click it for the big things in /var/tmp, ~/.cache and the sessions’ scratch folders, each with Delete.

On the NVIDIA image, the driver saves the GPU’s memory to /var/lib/systemd/sleep as the machine suspends. Without room for it, the suspend fails and the machine stays awake.

Sessions talking to each other

One session can read another’s screen and leave it a message, and a long command can run as a job that tells a session how it ended. Agents use the same through pulsar mcp.

  • A message goes in only once that agent has ended its turn, never into a permission question, and while you’re watching the session only with --now. It’s labelled with the sender (<name>@<machine> from another of your machines).
  • Claude Code gets its messages through its own hooks, at the end of a turn or while it sits idle, so nothing is typed into it. Antigravity CLI gets them the same way at the end of a turn. Codex, and an idle Antigravity CLI, get them typed into the prompt.
  • opencode takes no messages, because Pulsar can’t tell when its turns end. Sandboxed sessions don’t take them yet.
  • Every message is logged in ~/.local/state/pulsar/agents/messages.log. One session can send another at most 10 in 10 minutes. Preferences in the Agents app, or pulsar agent messages, turns messages off or changes that limit.

A screen read from another session holds whatever its agent printed, so an agent reading it is reading untrusted text. The sender’s name is what the sending session says it is: an agent with a shell can claim any name.

A job runs as you, outside any sandbox, so a sandboxed agent can’t start one.

Your other machines

pulsar machine hands work to your other Pulsar machines over SSH. From the laptop you can start an agent on the desktop, run a long job there, and bring the branch back.

run and job send your branch by git over SSH, with what isn’t committed as one extra commit, to the same project path in your home folder there. The agent starts in a worktree on a new branch named for the session, as you, with that machine’s logins and sandbox setting. --notify work tells the session work here how the job ended. fetch writes only desktop/train and never touches your checkout. A branch that already exists there is refused, not overwritten.

New files git doesn’t ignore are sent too, so an untracked .env that isn’t in .gitignore goes with the branch. Files git ignores stay here.

In the app, sessions on other machines are listed as <name>@<machine> under “<project> · <machine>” and open like local ones. A machine that doesn’t answer keeps its sessions in the list, dimmed, with Try Again. Agents get the MCP tools machines, machine_run, machine_job and machine_fetch, and ask you before using the last three.

Before you add one

Pulsar runs ssh with no prompts, so SSH has to be on on the other machine (Pulsar doesn’t turn it on) and your key has to be there already:

A key that asks for a passphrase fails. If your SSH agent holds many keys (1Password’s does), set IdentityFile and IdentitiesOnly for that host in ~/.ssh/config, or sshd refuses after too many tries.

Announce This Machine, in the app’s Preferences under Your Machines (or pulsar machine announce on), is off until you turn it on. It publishes your user name, the host name, the Pulsar release and whether SSH is on to everyone on the local network. It opens nothing. Your other machines then list it with Add, and pulsar machine discover shows it.

The other machine needs Pulsar 26.11.2 or newer. Handing off runs and jobs, and fetching them back, has been tested against one real second machine. Announcing, discovering, and messages between machines have only been tested against stand-ins so far. A Claude Code session started in a project that’s new to that machine stops at Claude’s question about trusting the folder, so open it in the app to answer.

A model on your own GPU

opencode can use a local OpenAI-compatible server, with no account.

  • Runs llama.cpp’s server image as a rootless user service: CUDA on the NVIDIA image, Vulkan with a GPU at /dev/dri, else CPU.
  • First start downloads the model into ~/.local/share/pulsar/models.
  • Serves http://127.0.0.1:8080/v1, local only. Requests need the key in ~/.config/pulsar/model-key.
  • In opencode, pick “Local (Pulsar)” with /models. pulsar agent model also prints the command for aider.
  • Stops at logout unless started with --at-login (a loaded model holds gigabytes of video memory).

The sandbox

The agent runs in a rootless container that sees only the project you started it in, its own login, your git identity and its session’s scratch folder, with no SSH agent and no session bus. Pushes go through a gate on the host that pushes with your credentials and refuses force-pushes, deletions and tags.

  • The agent can commit, but git config and hooks (the repo’s, its submodules’, and any in-project hooks path or include) are read-only, and .git can’t be moved.
  • A new commondir or .git in the tree is renamed to <name>.from-sandbox when the session ends. Until then, an editor running git in the background could follow it: close the editor on the project while an untrusted agent works.
  • A linked worktree inside its main checkout, where --worktree puts them, works. One outside it, and a submodule checkout, are refused, because their git directory is outside the project where the sandbox can’t protect it.
  • A session in its own worktree sees only that worktree and the repository’s .git, not the main checkout or other sessions’ worktrees.
  • The project’s own agent settings (.claude/, .mcp.json, .codex/, .gemini/, .agents/, .opencode/, opencode.json) are read-only, and one the agent creates is renamed to <name>.from-sandbox when the session ends. Antigravity CLI reads hooks and MCP servers from .agents/.

Antigravity CLI and opencode 2 sign in again inside the sandbox, because their logins (the keyring, and opencode’s opencode.db) aren’t copied in. Signing in to Antigravity CLI in the sandbox hasn’t been tested yet.

Type the agent’s name as usual:

Start it inside a project. It refuses your whole home folder. In interactive bash, claude, codex, agy and opencode (and gemini and aider) go through the sandbox, and pulsar agent sandbox wrap off stops that. Scripts, other shells and command claude don’t. pulsar agent run claude always follows your settings.

A repository can require the sandbox (this file can only tighten settings):

The sandbox leaves the network open. The rest of what it lets in and out is in Agents and safety.

Guard and checkpoints

On stock Fedora, and on Pulsar until you turn the guard on, an admin’s session and anything it starts can layer packages, roll back, clean up deployments, and install or remove system Flatpaks without a password.

sudo pulsar agent guard on makes all five ask for the admin password. Updates stay ungated. sudo pulsar agent guard off restores Fedora’s default.

Take a checkpoint before a long session with sudo pulsar checkpoint "before the agent". Afterwards, diff shows what changed and restore puts it back. More in Checkpoints.

Written with help from AI and reviewed by a person before publishing. If you find a mistake, open an issue on GitHub.

PULSAR

Your lighthouse in the sky.

Site

Source and data

Arclight

Theme

Dark only Light only

Recolors the whole site, like pulsar theme set does your desktop.

Light and dark

Light or dark only

Saved in this browser Reset to the Pulsar theme