2.17 emacsvox-agent-shell

agent-shell provides native agentic integrations for AI agents like Claude Code, Gemini CLI, Goose, Cursor, and others. It is built on shell-maker and provides a comint-based interface.

This module speech-enables agent-shell, providing: - Semantic response, thought, and plan speech at turn-completion boundaries - On-demand full and structural-overview speech for the latest agent answer - Permission, lifecycle, error, and tool-status feedback - Focus-aware foreground and background speech levels - Semantic header and face-to-voice support - Typed transcript and fenced source-block navigation - Two-dimensional rendered Markdown table navigation and copying - Viewport mode integration and reload-safe buffer teardown

Customize ‘emacsvox-agent-shell’ for speech levels, table feedback, and lifecycle announcements. See the Agent Shell chapter in the Emacsvox manual for setup, keys, privacy boundaries, inspection, and recovery; the generated command reference lists the commands and options across these modules. See https://github.com/xenodium/agent-shell for agent-shell itself.

2.17.1 Emacsvox-Agent-Shell Commands

2.17.1.1 emacsvox-agent-shell-disable

Command: emacsvox-agent-shell-disable
Disable Emacsvox support for agent-shell.

2.17.1.2 emacsvox-agent-shell-enable

Command: emacsvox-agent-shell-enable
Enable Emacsvox support for Agent Shell 0.85.3 or newer.

2.17.2 emacsvox-agent-shell Options

Variable: User Option emacsvox-agent-shell-automatic-content-max-characters
Maximum characters submitted for automatic Agent Shell speech.

Long responses, tool output, errors, permissions, and other unsolicited
content are shortened before Aural compiles them.  The spoken preview includes
exact omitted character and line counts plus an appropriate inspection hint.
This limit does not apply to explicit inspection commands such as
‘emacsvox-agent-shell-speak-last-response’.  Set this to nil, or to a
non-positive value, to allow complete automatic response and output bodies;
provider-controlled permission fields and tool labels remain concise.

Default Value:

2000

Variable: User Option emacsvox-agent-shell-background-speech-level
Automatic speech level for an unfocused agent-shell session.
The available levels have the same meaning as
‘emacsvox-agent-shell-foreground-speech-level’.  Background completion uses
Emacsvox’s notification stream and includes the session buffer name.

Default Value:

notify

Variable: User Option emacsvox-agent-shell-block-navigation-max-characters
Maximum body characters spoken after Agent Shell block navigation.

When a normalized block body is longer, navigation stops at a word boundary
where possible and announces the number of omitted characters.  Set this to
nil, or to a non-positive value, to speak the complete body.  This option does
not change concise block labels or the specialized table and source-block
navigation presentations.

Default Value:

4096

Variable: User Option emacsvox-agent-shell-foreground-speech-level
Automatic speech level for the focused agent-shell session.
The focused session is the selected agent-shell buffer or the shell associated
with the selected viewport.  ‘full’ preserves configured response, thought,
plan, tool, and lifecycle feedback.  ‘response’ speaks agent responses and
completion feedback while suppressing routine thought, plan, and tool chatter.
‘notify’ only signals completion, and ‘quiet’ suppresses routine feedback.
Permissions and errors remain controlled separately because they may require
action.

Default Value:

response

Variable: User Option emacsvox-agent-shell-input-activation
How the inline Agent Shell prompt becomes editable.
Automatic preserves ordinary typing at the live prompt.  Explicit keeps the
shell in browse mode until RET at the prompt or ‘C-c i’ activates editing.
‘C-c e’ returns to browsing without discarding the draft.  Dedicated viewport
editors retain their normal editing behaviour.

Default Value:

automatic

Variable: User Option emacsvox-agent-shell-input-state-feedback
Feedback when entering inline editing or returning to browsing.
Speech says Editing or Browsing.  Earcon plays agent-input-on for editing and
agent-input-off for browsing; Both combines them.  The bundled recordings are
08-pop-and-collapse-on and 08-pop-and-collapse-off.  Earcons require auditory
icons to be enabled.  Moving out of input plays only the browsing earcon when
Earcon or Both is selected, preserving destination speech.  Movement within
input keeps editing active.  Submission confirmations remain separate.
This default applies immediately; buffer-local overrides take precedence.

Default Value:

speech

Variable: User Option emacsvox-agent-shell-line-speech-max-characters
Maximum Agent Shell characters compiled for line-navigation speech.

When a physical or visual line is longer, navigation speaks its first
characters and a count of the omitted remainder.  This prevents rendered tool
and search output from opening the core long-line prompt or building an
unnecessarily large presentation.  Set this to nil to restore the core
long-line policy.  Explicit Agent Shell response and block-reading commands are
not truncated.

Default Value:

512

Variable: User Option emacsvox-agent-shell-processing-end-icon
Auditory icon played when the model finishes processing.

Default Value:

task-done

Variable: User Option emacsvox-agent-shell-processing-start-icon
Auditory icon played when the model starts processing a prompt.

Default Value:

progress

Variable: User Option emacsvox-agent-shell-signal-processing
Whether to announce the agent’s processing lifecycle.
When non-nil, public agent-shell events produce start and completion
icons.  Exceptional completion and error events also produce a brief
spoken explanation.  Initialization has its own start and completion
cues.

Default Value:

t

Variable: User Option emacsvox-agent-shell-speak-permissions
Whether to speak permission requests immediately.
When t, permission requests are spoken as soon as they appear.

Default Value:

t

Variable: User Option emacsvox-agent-shell-speak-thought-process
How to handle agent thought process chunks.
- 'speak: Speak the thought process content
- 'icon: Play an auditory icon only (default)
- nil: Silent, no feedback

Default Value:

icon

Variable: User Option emacsvox-agent-shell-speak-tool-calls
Whether to announce tool calls as they happen.

Default Value:

t

Variable: User Option emacsvox-agent-shell-speech-delay
Delay used to coalesce streamed out-of-turn agent messages.
Normal response completion follows agent-shell’s public ‘turn-complete’ event,
so this value never determines when a submitted turn is spoken.

Default Value:

0.5

Variable: User Option emacsvox-agent-shell-status-speech-labels
Words spoken for agent-shell’s rendered status icons.
These substitutions affect only speech copies in agent-shell and its viewport;
the visual icons remain unchanged.  Remove an entry to leave that status icon
for the active speech server to interpret.

Default Value:

((pending . "pending")
 (in-progress . "in progress")
 (completed . "completed")
 (failed . "failed"))

Variable: User Option emacsvox-agent-shell-table-data-position
Whether table cell data is spoken before or after its titles.

Default Value:

first

Variable: User Option emacsvox-agent-shell-table-titles
Table titles spoken with the current Markdown table cell.
Column titles come from the first row when the Markdown source has a
separator row.  Row titles come from the first column, following
Emacsvox’s table convention.  Customize this set to enable either,
both, or neither kind of title.

Default Value:

(column)

Variable: User Option emacsvox-agent-shell-tool-output-verbosity
Verbosity level for tool call output.
- 'full: Speak the complete tool output
- 'summary: Speak a summary (status and title)
- 'status: Play status cues as the tool starts and finishes

Default Value:

summary