Skip to content

feat: add voiceAgent recipe - #126

Open
alexandramartinez wants to merge 1 commit into
mainfrom
alexandramartinez/voiceAgent-recipe
Open

feat: add voiceAgent recipe#126
alexandramartinez wants to merge 1 commit into
mainfrom
alexandramartinez/voiceAgent-recipe

Conversation

@alexandramartinez

Copy link
Copy Markdown

What does this PR do?

Adds a new voiceAgent recipe demonstrating how to make an agent voice-capable directly in the script — both by writing its instructions for a spoken medium and by declaring the voice wiring (connection, synthesized voice, and language) in the .agent file itself. The persona is expressed entirely through system and reasoning instructions, with no variables, actions, or flows. The agent is a Socratic "rubber duck" debugging buddy: instead of handing developers a fix, it helps them find the bug themselves by asking one question at a time, spoken aloud over a voice connection.

The recipe ships a single VoiceAgent bundle that shows both levels of making an agent talk:

  • Instructions tuned for the ear — short replies, symbols spelled out, and speech-to-text noise repair for garbled technical vocabulary.
  • Voice configuration in the scriptlanguage, connection telephony, and modality voice blocks so the voice wiring and synthesized voice travel with the recipe instead of being clicked in the UI.

It lives under 02_actionConfiguration.

Note

The VoiceAgent bundle declares a connection telephony block and must be deployed to a voice-provisioned org (one where that connection is available).

What issues does this PR fix or reference?

Closes #95

The PR fulfills these requirements:

  • Tests for the proposed changes have been added/updated.
  • Code linting and formatting was performed.

Functionality Before

N/A — new recipe.

Functionality After

A deployable voice-enabled rubber-duck debugging agent (single VoiceAgent bundle) with a README following the repo's recipe documentation structure.

🤖 Generated with Claude Code

Adds a voiceAgent recipe demonstrating how to make an agent voice-capable
directly in the script - both by writing its instructions for a spoken
medium and by declaring the voice wiring (connection, synthesized voice,
and language) in the .agent file itself. Ships a single VoiceAgent bundle:
a Socratic "rubber duck" debugging buddy that asks one question at a time,
spoken aloud over a telephony connection. Lives under 02_actionConfiguration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexandramartinez
alexandramartinez requested a review from a team as a code owner August 13, 2026 13:21

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Salesforce Code Analyzer found 82 violations, including 0 in files changed by this pull request. See job summary page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show Agent Script recipe to work with Agentforce Voice

1 participant