feat: add voiceAgent recipe - #126
Open
alexandramartinez wants to merge 1 commit into
Open
Conversation
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>
2 tasks
There was a problem hiding this comment.
Salesforce Code Analyzer found 82 violations, including 0 in files changed by this pull request. See job summary page.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.agentfile itself. The persona is expressed entirely throughsystemandreasoninginstructions, 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
VoiceAgentbundle that shows both levels of making an agent talk:language,connection telephony, andmodality voiceblocks 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
VoiceAgentbundle declares aconnection telephonyblock 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:
Functionality Before
N/A — new recipe.
Functionality After
A deployable voice-enabled rubber-duck debugging agent (single
VoiceAgentbundle) with a README following the repo's recipe documentation structure.🤖 Generated with Claude Code