{"slug": "agent-shell-0-98-updates", "title": "agent-shell 0.98 updates", "summary": "Agent-shell 0.98.2 adds DeepSeek Harness support, bringing the Emacs-based AI agent client to 24 supported agents, and requires Antigravity users to run `agy acp` instead of a separately downloaded binary, according to the release notes from maintainer xenodium. The update also adds blockquote rendering with embedded Markdown, image thumbnails inside tables, link-target hover previews, and two new entry points, `agent-shell-markdown-open-link-at-point` and `agent-shell-markdown-xref-backend`, plus a `agent-shell-notice-filter-function` for filtering agent stderr notices. Other changes include `M-RET` on an empty prompt to steer the last queued prompt into the running turn and a `(+N)` menu for agent options that do not appear in the buffer header.", "body_md": "Another month, another [agent-shell](https://github.com/xenodium/agent-shell) update. If you missed the last post, have a look at the [0.87 update](https://xenodium.com/agent-shell-0-87-updates). This time around, the most notable changes are around rendering, performance, and bugfixes, sprinkled with new features here and there.\n\nAs usual, this post showcases highlights, but please check out the [full list of changes](https://github.com/xenodium/agent-shell/compare/v0.87.4...v0.98.2) if you're after the nitty-gritty.\n\n`agent-shell`?\n[agent-shell](https://github.com/xenodium/agent-shell) brings your favorite AI agents to [Emacs](https://www.gnu.org/software/emacs/), keeping you at home: familiar buffers and bindings, no terminal emulation. All powered by ACP, the [Agent Client Protocol](https://agentclientprotocol.com/).\n\n[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) joins the family, bringing the total number of supported agents to 24. Start DeepSeek with `M-x agent-shell-deepseek-start-agent`, or pick it from `M-x agent-shell` as usual.\n\n`agy` (action required)\nLatest Antigravity ships with ACP out of the box, so `agent-shell` now runs `agy acp` rather than a separate binary you had to download and unpack. If you're an Antigravity user, install a recent CLI, make sure `agy` is on your `PATH`, and sign in once:\n\n```\nagy acp --login\n```\n\nBlockquotes improved their display, rendering embedded Markdown ([#942](https://github.com/xenodium/agent-shell/issues/942)).\n\nThey also joined the TAB navigation party. `TAB` and `S-TAB` now visit blockquotes, stopping on their first quoted character.\n\nWith point on a blockquote, `RET` now copies the quote's raw Markdown, without the `>` markers.\n\nImages are now rendered as thumbnails within tables. Press `RET` on an image to open in full view.\n\nThank you [@alberti42](https://github.com/alberti42) for [#938](https://github.com/xenodium/agent-shell/pull/938). Tables also realign in the resized window's own buffer now ([#934](https://github.com/xenodium/agent-shell/issues/934)), so splitting a window no longer leaves a table laid out for the window it used to be in.\n\nHovering a rendered link (or with point on one) now shows its target URL, so you can judge whether it's worth opening.\n\nTwo new entry points landed alongside ([#933](https://github.com/xenodium/agent-shell/issues/933)):\n\n`agent-shell-markdown-open-link-at-point` opens the link at point.`agent-shell-markdown-xref-backend` plugs into `xref-backend-functions`, so `M-.` on a rendered `path:line` citation visits it. It returns nil anywhere else, web and binary links included, leaving point to the next backend.\n`RET` toggles the fragment at point, as usual. `C-u RET` now toggles groups recursively ([#924](https://github.com/xenodium/agent-shell/issues/924), [#945](https://github.com/xenodium/agent-shell/issues/945)).\n\nQueued a prompt, but wanted to steer instead? Pressing `M-RET` on an empty prompt now offers to steer the last queued prompt into the running turn ([#918](https://github.com/xenodium/agent-shell/issues/918), [#919](https://github.com/xenodium/agent-shell/issues/919)). While this isn't something I need often, I'm pretty happy with the UX we landed on.\n\nWhile on the topic of steering, chat mode now handles steered prompt labelling ([#930](https://github.com/xenodium/agent-shell/pull/930), proposed by [@Gleek](https://github.com/Gleek)). If you'd like to render labels differently, `agent-shell-chat-label-function` now receives the `:steered` param.\n\nAgents often expose options that never make it to the buffer header. Additional options are now offered via the `(+N)` menu ([#921](https://github.com/xenodium/agent-shell/issues/921)).\n\nAgents write all sorts to stderr, and `agent-shell` surfaces it under \"Notices\". You can now use `agent-shell-notice-filter-function` to filter notices (or modify) as preferred ([#950](https://github.com/xenodium/agent-shell/issues/950) by [@astoff](https://github.com/astoff)). It receives an alist with `:text`, one stderr line, and returns the text to show or nil to drop it:\n\n```\n(setopt agent-shell-notice-filter-function\n        (lambda (notice)\n          (unless (string-prefix-p \"[idle-compaction]\" (map-elt notice :text))\n            (map-elt notice :text))))\n```\n\nA filter that signals or returns a non-string is reported, and the notice shown unfiltered.\n\n`agent-shell-system-prompt` is appended to the agent's default system prompt, sent whenever a session is created, loaded, resumed or forked ([acp.el #37](https://github.com/xenodium/acp.el/issues/37) by [@systemfreund](https://github.com/systemfreund)):\n\n```\n(setopt agent-shell-system-prompt \"Keep answers short and respond like a pirate.\")\n```\n\nOnly agents advertising ACP's `systemPrompt` capability can take one. Configure a prompt for an agent that can't, and `agent-shell` says it's ignored rather than dropping it quietly. An agent config's `:system-prompt` takes precedence.\n\n`agent-shell-make-environment-variables` now takes a function as a value and calls it when the agent starts, rather than when your config loads ([#948](https://github.com/xenodium/agent-shell/issues/948) by [@nbarrientos](https://github.com/nbarrientos)). Handy for a password store still locked at init:\n\n```\n(setopt agent-shell-opencode-environment\n        (agent-shell-make-environment-variables\n         \"MY_SECRET\" (lambda ()\n                       (auth-source-pick-first-password :host \"example.org\"))))\n```\n\nA function that errors or returns nil leaves the variable out of the agent's environment and says so in a boxed warning in the shell. Works across all agents.\n\n`project-switch-project`\nStarting a shell from `C-x p p` used to land in the current shell's directory rather than the project you just picked, and offer that directory's sessions to resume. It now starts in the chosen project ([#949](https://github.com/xenodium/agent-shell/pull/949) by [@OSadovy](https://github.com/OSadovy)).\n\nWhen `agent-shell-session-fork-restore-history` is non-nil, forked sessions will attempt to restore interaction history as per `agent-shell-session-restore-verbosity`.\n\n`agent-shell-session-fork-restore-history` is off by default, so you'll need to enable it with:\n\n```\n(setopt agent-shell-session-fork-restore-history t)\n```\n\nNote: You'll need an agent that supports loading a session right after forking it, like `claude-agent-acp 0.90.0` or newer.\n\nStreaming performance received some love. Message chunks are coalesced before rendering ([#883](https://github.com/xenodium/agent-shell/pull/883) by [@moyotar](https://github.com/moyotar)), thought chunks are batched the same way, and restored sessions replay with far less overhead ([#897](https://github.com/xenodium/agent-shell/pull/897) by [@Gleek](https://github.com/Gleek)).\n\nAs mentioned, the much effort in the release went into fixes and improvements.\n\nRendering:\n\nPerformance and responsiveness:\n\n`agent-shell-cwd-function` is called once per command (`curl --version` check that ran on every submission is gone (`SIGTERM` before being killed on shutdown (\nElsewhere:\n\n`flymake-mode` is on (\nA few more additions for package authors building on `agent-shell`.\n\n`agent-shell-prompt-ranges` returns the range of every prompt in the buffer, in buffer order, covering prompts typed at the shell, replayed by a restored session, and steered into a running turn ([#882](https://github.com/xenodium/agent-shell/issues/882)). Each comes back as an alist spanning the comint shell prompt itself (`:prompt-start`, `:prompt-end`) and the input typed after it (`:input-start`, `:input-end`).\n\n`_meta`\n`agent-shell-subscribe-to` now offers a `usage-update` event, broadcast when the agent reports context window or cost usage. Events now also carry ACP's `_meta`, so integrations can read whatever an agent attaches without waiting on `agent-shell`.\n\n`agent-shell-session-strategy` now accepts a function. It's called with the resumeable sessions and returns `new`, `latest`, `prompt`, or a `(session-id . ID)` cons to load a specific one:\n\n```\n(setopt agent-shell-session-strategy\n        (lambda (context)\n          (if (map-elt context :sessions) 'latest 'new)))\n```\n\nIf you peeked at the [commit logs](https://github.com/xenodium/agent-shell/compare/v0.87.4...v0.98.2) for the period, you'll see it's been another busy month. Since the last post, 193 commits landed, 32 issues have been closed and 27 pull requests merged. As of this writing, the backlog sits at 6 open issues and 5 open PRs (versus 4 and 6 last time around).\n\nZooming out a little, here's how the backlog has tracked:\n\nAs usual, this chart was generated using the `/github-activity` skill shared in my [emacs-skills](https://github.com/xenodium/emacs-skills) repo.\n\nAll of this requires daily attention.\n\nWhile paying for tokens keeps agents running, [sponsoring](https://github.com/sponsors/xenodium) keeps `agent-shell` running.\n\n`agent-shell` is built and maintained by me, an indie dev, while the tools it competes with often have well-funded teams behind them. [Funding](https://github.com/sponsors/xenodium) Emacs-native tools, so we can keep living in our beloved editor, matters now more than ever.\n\nUsing `agent-shell` at work? Ask your employer to [sponsor](https://github.com/sponsors/xenodium) too. Companies can contribute at a scale individuals can't.\n\nThank you to all contributors for these improvements!\n\n`agent-shell` stands on [acp.el](https://github.com/xenodium/acp.el) to speak ACP and [shell-maker](https://github.com/xenodium/shell-maker) for its shell foundations, so fixes landing there reach you just the same:\n\nAs of this writing, we're **89% of the way to the 150 monthly sponsors goal**, a tiny closer since the [last update](https://xenodium.com/agent-shell-0-87-updates). If `agent-shell` is part of your daily workflow, please consider [becoming a monthly sponsor](https://github.com/sponsors/xenodium) (or ask your employer to).\n\nNot in a position to sponsor? A [GitHub star](https://github.com/xenodium/agent-shell/) helps with exposure and brings in new users.", "url": "https://wpnews.pro/news/agent-shell-0-98-updates", "canonical_source": "https://xenodium.com/agent-shell-0-98-updates", "published_at": "2026-11-20 00:00:00+00:00", "updated_at": "2026-11-20 06:13:35.381523+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "agent-protocols", "developer-tools"], "entities": ["agent-shell", "Emacs", "DeepSeek Harness", "Agent Client Protocol", "Antigravity", "xenodium", "agent-shell-markdown-open-link-at-point", "agent-shell-markdown-xref-backend"], "also_reported_by": [], "takeaway": "agent-shell 0.98.2 now runs Antigravity via `agy acp` (install a recent CLI, put `agy` on PATH, run `agy acp --login`) and adds DeepSeek Harness as its 24th supported agent, started with `M-x agent-shell-deepseek-start-agent`.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/agent-shell-0-98-updates", "markdown": "https://wpnews.pro/news/agent-shell-0-98-updates.md", "text": "https://wpnews.pro/news/agent-shell-0-98-updates.txt", "jsonld": "https://wpnews.pro/news/agent-shell-0-98-updates.jsonld"}}