Skip to content

feat: add voiceAgent recipe - #123

Closed
alexandramartinez wants to merge 3 commits into
trailheadapps:mainfrom
alexandramartinez:alexandramartinez/rubber-duck-debugger
Closed

feat: add voiceAgent recipe#123
alexandramartinez wants to merge 3 commits into
trailheadapps:mainfrom
alexandramartinez:alexandramartinez/rubber-duck-debugger

Conversation

@alexandramartinez

@alexandramartinez alexandramartinez commented Aug 7, 2026

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 persona-driven minimal agent recipe demonstrating how system and
reasoning instructions alone shape behavior — a Socratic "rubber duck"
debugging buddy. Ships two bundles: a text bundle (RubberDuckDebugger)
and a voice-enabled, spoken-style bundle (RubberDuckDebuggerSpokenStyle)
that declares a telephony connection and voice modality in the script.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
alexandramartinez and others added 2 commits August 10, 2026 10:37
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Remove the text-only bundle, keep the voice-enabled bundle, rename it to
VoiceAgent, and move the recipe to 02_actionConfiguration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexandramartinez alexandramartinez changed the title feat: add rubberDuckDebugger recipe feat: add voiceAgent recipe Aug 12, 2026
@alexandramartinez

Copy link
Copy Markdown
Author

Superseded by #126, recreated as a non-fork branch (alexandramartinez/voiceAgent-recipe) off main so CI can run with secrets.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show Agent Script recipe to work with Agentforce Voice

1 participant