Feature Contribution: Add support for ElevenLabs TTS voices.#1073
Open
evetzyokozuna wants to merge 39 commits intoagent0ai:mainfrom
Open
Feature Contribution: Add support for ElevenLabs TTS voices.#1073evetzyokozuna wants to merge 39 commits intoagent0ai:mainfrom
evetzyokozuna wants to merge 39 commits intoagent0ai:mainfrom
Conversation
… proxy (profile-based streaming)
…lob fallback, profile evetz)
…ech tab, bound to localStorage speech.el11Server
…etio (requirements.txt freeze)
…profile, create-skill update
… post method, request.json(), absolute paths)
…mods, speech UI, dashboard dir, flask/bak files)
… all .bak files & org.html.bak.orgchart.v1
…bak.py, .bak3, .bak4)
EL11 TTS Proxy Implementation (feature/elevenlabs)
…ntime (resolve post-merge mismatch)
fix: Sync el11_tts.py & requirements.txt to live runtime (Flask hybrid)
Introduce configurable runtime safety caps for monologue loops and enforce hard stops for iteration count, runtime duration, consecutive misformats, and consecutive repairable errors to prevent runaway execution with backward-compatible defaults.
Introduce configurable controls for oversized tool args, code execution timeouts/output handling, subordinate depth/call/runtime limits, queue backpressure, and memory_load clamps so long-running sessions fail safely and remain tunable. Co-authored-by: Cursor <cursoragent@cursor.com>
Move history compression ratios and pass limits into settings, and add runtime budget knobs across monologue and subordinate execution paths to make long-running behavior tunable and bounded. Co-authored-by: Cursor <cursoragent@cursor.com>
…erage. This adds a policy knob to block/convert terminal heredoc writes into safe Python file writes, preserves resolved spilled tool args at execution time, and ensures every env profile exposes all known A0_SET keys with explicit model kwargs defaults.
This introduces a sectioned editor for guardrails and runtime knobs with typed controls and inline descriptions, making advanced tuning discoverable directly in the Settings UI.
…tion. This introduces overview, knob reference, and testing guides for autonomy guardrails, and links them from the main docs index, usage guide, and env-example setup docs for PR-ready distribution.
This updates the autonomy documentation with an in-repo Settings panel image so the guide renders correctly in upstream GitHub and PR previews.
Add autonomy guardrails, fine-tuning controls, and integrated docs
- agents/health_advisor/: agent.json, role prompt, settings.json - knowledge/health_advisor/: HealthLogRules.md for RAG - skills/health-log-rules/: SKILL.md for log schema - docs/setup/env-examples/profile_health_advisor.env Phase 1 of HEALTH_ADVISOR_AGENT_IMPLEMENTATION_PLAN. Deterministic tools (Phase 4) to follow. Co-authored-by: Cursor <cursoragent@cursor.com>
- health_log_archive, supplement_list, macro_lookup, energy_delta - health_log_new_day, section_write - health_log_routine_build (named routine or freestyle) - health_log_workout_submit (parse filled table, update Exercise Progression + section 06) - health_log_exercise_append (single row append) - Tool prompt documents all tools with examples Co-authored-by: Cursor <cursoragent@cursor.com>
feat(health_advisor): Add Health Advisor agent profile with deterministic health log tools
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.
Summary
This PR adds and stabilizes an ElevenLabs-based voice output path in Agent Zero, alongside existing browser/Kokoro speech behavior.
It updates backend API handling, frontend speech routing, and settings UX so ElevenLabs can be enabled as an optional provider without regressing default behavior.
Files covered
python/api/el11_tts.pywebui/components/chat/speech/speech-store.jswebui/components/settings/agent/speech.htmlrequirements.txtProblem Statement
Voice output through kokoro was OK, but for those wanting a more human like voice for their agent-zero implementation, allow for custom voices from ElevenLabs.
This PR implements an additional capability to use ElevenLabs voices.
What this PR changes
1)
python/api/el11_tts.py— ElevenLabs proxy API endpointPurpose
Provide a server-side TTS proxy endpoint (
/el11_tts) that:audio/mpegdata to the clientBehavior
text(required)profile(optional, defaults to active profile)agents/<profile>/elevenlabs_voice.jsonEL11_API_KEYWhy this matters
2)
webui/components/chat/speech/speech-store.js— speech provider routing + playbackPurpose
Add real speech routing support for ElevenLabs in the existing TTS flow.
Behavior added
/el11_ttsWhy this matters
3)
webui/components/settings/agent/speech.html— settings UXPurpose
Expose a clear user-facing toggle for ElevenLabs proxy TTS in the Speech settings panel.
Behavior added
Why this matters
4)
requirements.txt— dependency/runtime parityPurpose
Align dependency set with runtime expectations for the ElevenLabs integration path and live environment stability.
Why this matters
Configuration and Usage
Required env
EL11_API_KEY=<your_elevenlabs_key>Required voice config
Place
elevenlabs_voice.jsonin relevant agent directories, e.g.:agents/agent0/elevenlabs_voice.jsonagents/default/elevenlabs_voice.jsonExample fields:
voice_idmodelstabilitysimilarity_booststyleEnable in UI
Backward Compatibility
Security Considerations
/el11_tts) rather than external API directly.Validation / Test Notes
Manual checks performed
/el11_ttscontent-type: audio/mpeg)Suggested reviewer checks
Known Limitations / Follow-ups
tts_modesetting for stronger clarity./el11_ttsshape or move to provider abstraction layer.Why this PR is valuable
This change turns ElevenLabs support from “partial wiring + config files” into a working, testable, user-selectable voice path in Agent Zero.
It is designed to preserve current behavior while enabling higher-quality voice output now and cleaner voice-provider extensibility going forward.