hermes - 💡(How to fix) Fix [i18n] Thai Translation: Features Part 2d - Tools, TTS, Vision, Voice, Dashboard [1 participants]
ON THIS PAGE
Recommended Tools
×6Utilities matched from this issue’s tags and category — try them while you read without losing context.
GitHub issue graph ai analysis
Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.
The report is written in English Markdown for sharing and archival.
Helpful · Quick feedback
| Feature | Platform | Description |
|---|---|---|
| Interactive Voice | CLI | กด Ctrl+B เพื่อบันทึก, agent จะตรวจจับความเงียบโดยอัตโนมัติและตอบกลับ |
| Auto Voice Reply | Telegram, Discord | Agent จะส่งเสียงพูดพร้อมกับการตอบกลับที่เป็นข้อความ |
| Voice Channel | Discord | Bot จะเข้าร่วม VC, ฟังผู้ใช้พูด, และพูดคำตอบกลับไป |
Error Message
ดูไฟล์ log ของ agent, gateway, และ error พร้อมฟังก์ชันการกรองและ live tailing.
- File - สลับระหว่างไฟล์ log
agent,errors, และgateway - Level - กรองตามระดับ log: ALL, DEBUG, INFO, WARNING, หรือ ERROR
- Component - กรองตาม source component: all, gateway, agent, tools, cli, หรือ cron
- Lines - เลือกจำนวนบรรทัดที่ต้องการแสดง (50, 100, 200, หรือ 500)
- Auto-refresh - สลับ live tailing ที่จะ poll เพื่อหา log lines ใหม่ทุก 5 วินาที
- Color-coded - log lines จะถูกใส่สีตามความรุนแรง (สีแดงสำหรับ errors, สีเหลืองสำหรับ warnings, สีทึมสำหรับ debug)
Root Cause
| Feature | Platform | Description |
|---|---|---|
| Interactive Voice | CLI | กด Ctrl+B เพื่อบันทึก, agent จะตรวจจับความเงียบโดยอัตโนมัติและตอบกลับ |
| Auto Voice Reply | Telegram, Discord | Agent จะส่งเสียงพูดพร้อมกับการตอบกลับที่เป็นข้อความ |
| Voice Channel | Discord | Bot จะเข้าร่วม VC, ฟังผู้ใช้พูด, และพูดคำตอบกลับไป |
Fix Action
Fix / Workaround
| Category | Examples | Description |
|---|---|---|
| Web | web_search, web_extract | ค้นหาเว็บและดึงเนื้อหาจากหน้าเว็บ |
| Terminal & Files | terminal, process, read_file, patch | รันคำสั่งและจัดการไฟล์ |
| Browser | browser_navigate, browser_snapshot, browser_vision | การทำงานอัตโนมัติของเบราว์เซอร์แบบโต้ตอบ พร้อมรองรับ text และ vision |
| Media | vision_analyze, image_generate, text_to_speech | การวิเคราะห์และการสร้างแบบ multimodal |
| Agent orchestration | todo, clarify, execute_code, delegate_task | การวางแผน, การชี้แจง, การรันโค้ด, และการมอบหมายงานให้ subagent |
| Memory & recall | memory, session_search | memory แบบถาวรและการค้นหา session |
| Automation & delivery | cronjob, send_message | งานตามกำหนดเวลาด้วย action create/list/update/pause/resume/run/remove และการส่งข้อความขาออก |
| Integrations | ha_*, MCP server tools, rl_* | Home Assistant, MCP, RL training, และการเชื่อมต่ออื่น ๆ |
Code Example
hermes status
---
Your Nous subscription includes the Tool Gateway.
The Tool Gateway gives you access to web search, image generation,
text-to-speech, and browser automation through your Nous subscription.
No need to sign up for separate API keys - just pick the tools you want.
○ Web search & extract (Firecrawl) - not configured
○ Image generation (FAL) - not configured
○ Text-to-speech (OpenAI TTS) - not configured
○ Browser automation (Browser Use) - not configured
● Enable Tool Gateway
○ Skip
---
hermes tools
---
web:
backend: firecrawl
use_gateway: true
image_gen:
use_gateway: true
tts:
provider: openai
use_gateway: true
browser:
cloud_provider: browser-use
use_gateway: true
---
hermes tools # เลือกเครื่องมือ -> เลือก provider แบบ direct
---
web:
backend: firecrawl
use_gateway: false # ตอนนี้จะใช้ FIRECRAWL_API_KEY จาก .env
---
hermes status
---
◆ Nous Tool Gateway
Nous Portal ✓ managed tools available
Web tools ✓ active via Nous subscription
Image gen ✓ active via Nous subscription
TTS ✓ active via Nous subscription
Browser ○ active via Browser Use key
Modal ○ available via subscription (optional)
---
TOOL_GATEWAY_DOMAIN=nousresearch.com # Base domain for gateway routing
TOOL_GATEWAY_SCHEME=https # HTTP หรือ HTTPS (default: https)
TOOL_GATEWAY_USER_TOKEN=your-token # Auth token (normally auto-populated)
FIRECRAWL_GATEWAY_URL=https://... # Override for the Firecrawl endpoint specifically
---
# Use specific toolsets
hermes chat --toolsets "web,terminal"
# See all available tools
hermes tools
# Configure tools per platform (interactive)
hermes tools
---
# In ~/.hermes/config.yaml
terminal:
backend: local # or: docker, ssh, singularity, modal, daytona
cwd: "." # Working directory
timeout: 180 # Command timeout in seconds
---
terminal:
backend: docker
docker_image: python:3.11-slim
---
terminal:
backend: ssh
---
# Set credentials in ~/.hermes/.env
TERMINAL_SSH_HOST=my-server.example.com
TERMINAL_SSH_USER=myuser
TERMINAL_SSH_KEY=~/.ssh/id_rsa
---
# Pre-build SIF for parallel workers
apptainer build ~/python.sif docker://python:3.11-slim
# Configure
hermes config set terminal.backend singularity
hermes config set terminal.singularity_image ~/python.sif
---
uv pip install modal
modal setup
hermes config set terminal.backend modal
---
terminal:
backend: docker # or singularity, modal, daytona
container_cpu: 1 # CPU cores (default: 1)
container_memory: 5120 # Memory in MB (default: 5GB)
container_disk: 51200 # Disk in MB (default: 50GB)
container_persistent: true # Persist filesystem across sessions (default: true)
---
terminal(command="pytest -v tests/", background=true)
# Returns: {"session_id": "proc_abc123", "pid": 12345}
# Then manage with the process tool:
process(action="list") # แสดง process ที่กำลังทำงานทั้งหมด
process(action="poll", session_id="proc_abc123") # ตรวจสอบสถานะ
process(action="wait", session_id="proc_abc123") # บล็อกจนกว่าจะเสร็จ
process(action="log", session_id="proc_abc123") # ผลลัพธ์ทั้งหมด
process(action="kill", session_id="proc_abc123") # ยุติการทำงาน
process(action="write", session_id="proc_abc123", data="y") # ส่ง input
---
# In ~/.hermes/config.yaml
tts:
provider: "edge" # "edge" | "elevenlabs" | "openai" | "minimax" | "mistral" | "gemini" | "xai" | "neutts" | "kittentts"
speed: 1.0 # Global speed multiplier (provider-specific settings override this)
edge:
voice: "en-US-AriaNeural" # 322 voices, 74 languages
speed: 1.0 # Converted to rate percentage (+/-%)
elevenlabs:
voice_id: "pNInz6obpgDQGcFmaJgB" # Adam
model_id: "eleven_multilingual_v2"
openai:
model: "gpt-4o-mini-tts"
voice: "alloy" # alloy, echo, fable, onyx, nova, shimmer
base_url: "https://api.openai.com/v1" # Override for OpenAI-compatible TTS endpoints
speed: 1.0 # 0.25 - 4.0
minimax:
model: "speech-2.8-hd" # speech-2.8-hd (default), speech-2.8-turbo
voice_id: "English_Graceful_Lady" # See https://platform.minimax.io/faq/system-voice-id
speed: 1 # 0.5 - 2.0
vol: 1 # 0 - 10
pitch: 0 # -12 - 12
mistral:
model: "voxtral-mini-tts-2603"
voice_id: "c69964a6-ab8b-4f8a-9465-ec0925096ec8" # Paul - Neutral (default)
gemini:
model: "gemini-2.5-flash-preview-tts" # or gemini-2.5-pro-preview-tts
voice: "Kore" # 30 prebuilt voices: Zephyr, Puck, Kore, Enceladus, Gacrux, etc.
xai:
voice_id: "eve" # xAI TTS voice (see https://docs.x.ai/docs/api-reference#tts)
language: "en" # ISO 639-1 code
sample_rate: 24000 # 22050 / 24000 (default) / 44100 / 48000
bit_rate: 128000 # MP3 bitrate; only applies when codec=mp3
# base_url: "https://api.x.ai/v1" # Override via XAI_BASE_URL env var
neutts:
ref_audio: ''
ref_text: ''
model: neuphonic/neutts-air-q4-gguf
device: cpu
kittentts:
model: KittenML/kitten-tts-nano-0.8-int8 # 25MB int8; also: kitten-tts-micro-0.8 (41MB), kitten-tts-mini-0.8 (80MB)
voice: Jasper # Jasper, Bella, Luna, Bruno, Rosie, Hugo, Kiki, Leo
speed: 1.0 # 0.5 - 2.0
clean_text: true # Expand numbers, currencies, units
---
# Ubuntu/Debian
sudo apt install ffmpeg
# macOS
brew install ffmpeg
# Fedora
sudo dnf install ffmpeg
---
# In ~/.hermes/config.yaml
stt:
provider: "local" # "local" | "groq" | "openai" | "mistral"
local:
model: "base" # tiny, base, small, medium, large-v3
openai:
model: "whisper-1" # whisper-1, gpt-4o-mini-transcribe, gpt-4o-transcribe
mistral:
model: "voxtral-mini-latest" # voxtral-mini-latest, voxtral-mini-2602
---
/paste
---
/terminal-setup
---
brew install pngpaste
---
# Ubuntu/Debian
sudo apt install xclip
# Fedora
sudo dnf install xclip
# Arch
sudo pacman -S xclip
---
# Ubuntu/Debian
sudo apt install wl-clipboard
# Fedora
sudo dnf install wl-clipboard
# Arch
sudo pacman -S wl-clipboard
---
echo $XDG_SESSION_TYPE
# "wayland" = Wayland, "x11" = X11, "tty" = no display server
---
# 1. ตรวจสอบการตรวจจับ WSL
grep -i microsoft /proc/version
# 2. ตรวจสอบว่า PowerShell เข้าถึงได้
which powershell.exe
# 3. คัดลอกรูปภาพ จากนั้นตรวจสอบ
powershell.exe -NoProfile -Command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.Clipboard]::ContainsImage()"
# ควรแสดง "True"
---
{
"type": "image_url",
"image_url": {
"url": "data:image/png;base64,..."
}
}
---
# CLI voice mode (microphone + audio playback)
pip install "hermes-agent[voice]"
# Discord + Telegram messaging (includes discord.py[voice] for VC support)
pip install "hermes-agent[messaging]"
# Premium TTS (ElevenLabs)
pip install "hermes-agent[tts-premium]"
# Local TTS (NeuTTS, optional)
python -m pip install -U neutts[all]
# Everything at once
pip install "hermes-agent[all]"
---
# macOS
brew install portaudio ffmpeg opus
brew install espeak-ng # for NeuTTS
# Ubuntu/Debian
sudo apt install portaudio19-dev ffmpeg libopus0
sudo apt install espeak-ng # for NeuTTS
---
# Speech-to-Text — local provider needs NO key at all
# pip install faster-whisper # Free, runs locally, recommended
GROQ_API_KEY=your-key # Groq Whisper — fast, free tier (cloud)
VOICE_TOOLS_OPENAI_KEY=your-key # OpenAI Whisper — paid (cloud)
# Text-to-Speech (optional — Edge TTS and NeuTTS work without any key)
ELEVENLABS_API_KEY=*** # ElevenLabs — premium quality
# VOICE_TOOLS_OPENAI_KEY above also enables OpenAI TTS
---
hermes # Start the interactive CLI
---
/voice Toggle voice mode on/off
/voice on Enable voice mode
/voice off Disable voice mode
/voice tts Toggle TTS output
/voice status Show current state
---
hermes gateway # Start the gateway (connects to configured platforms)
hermes gateway setup # Interactive setup wizard for first-time configuration
---
DISCORD_REQUIRE_MENTION=false
---
DISCORD_FREE_RESPONSE_CHANNELS=123456789,987654321
---
/voice Toggle voice mode on/off
/voice on Voice replies only when you send a voice message
/voice tts Voice replies for ALL messages
/voice off Disable voice replies
/voice status Show current setting
---
https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=274881432640
---
# macOS (Homebrew)
brew install opus
# Ubuntu/Debian
sudo apt install libopus0
---
# ~/.hermes/.env
# Discord bot (already configured for text)
DISCORD_BOT_TOKEN=your-bot-token
DISCORD_ALLOWED_USERS=your-user-id
# STT — local provider needs no key (pip install faster-whisper)
# GROQ_API_KEY=your-key # Alternative: cloud-based, fast, free tier
# TTS — optional. Edge TTS and NeuTTS need no key.
# ELEVENLABS_API_KEY=*** # Premium quality
# VOICE_TOOLS_OPENAI_KEY=*** # OpenAI TTS / Whisper
---
hermes gateway # Start with existing configuration
---
/voice join Bot joins your current voice channel
/voice channel Alias for /voice join
/voice leave Bot disconnects from voice channel
/voice status Show voice mode and connected channel
---
# ~/.hermes/.env
DISCORD_ALLOWED_USERS=284102345871466496
---
# Voice recording (CLI)
voice:
record_key: "ctrl+b" # Key to start/stop recording
max_recording_seconds: 120 # Maximum recording length
auto_tts: false # Auto-enable TTS when voice mode starts
beep_enabled: true # Play record start/stop beeps
silence_threshold: 200 # RMS level (0-32767) below which counts as silence
silence_duration: 3.0 # Seconds of silence before auto-stop
# Speech-to-Text
stt:
provider: "local" # "local" (free) | "groq" | "openai"
local:
model: "base" # tiny, base, small, medium, large-v3
# model: "whisper-1" # Legacy: used when provider is not set
# Text-to-Speech
tts:
provider: "edge" # "edge" (free) | "elevenlabs" | "openai" | "neutts" | "minimax"
edge:
voice: "en-US-AriaNeural" # 322 voices, 74 languages
elevenlabs:
voice_id: "pNInz6obpgDQGcFmaJgB" # Adam
model_id: "eleven_multilingual_v2"
openai:
model: "gpt-4o-mini-tts"
voice: "alloy" # alloy, echo, fable, onyx, nova, shimmer
base_url: "https://api.openai.com/v1" # optional: override for self-hosted or OpenAI-compatible endpoints
neutts:
ref_audio: ''
ref_text: ''
model: neuphonic/neutts-air-q4-gguf
device: cpu
---
# Speech-to-Text providers (local needs no key)
# pip install faster-whisper # Free local STT — no API key needed
GROQ_API_KEY=... # Groq Whisper (fast, free tier)
VOICE_TOOLS_OPENAI_KEY=... # OpenAI Whisper (paid)
# STT advanced overrides (optional)
STT_GROQ_MODEL=whisper-large-v3-turbo # Override default Groq STT model
STT_OPENAI_MODEL=whisper-1 # Override default OpenAI STT model
GROQ_BASE_URL=https://api.groq.com/openai/v1 # Custom Groq endpoint
STT_OPENAI_BASE_URL=https://api.openai.com/v1 # Custom OpenAI STT endpoint
# Text-to-Speech providers (Edge TTS and NeuTTS need no key)
ELEVENLABS_API_KEY=*** # ElevenLabs (premium quality)
# VOICE_TOOLS_OPENAI_KEY above also enables OpenAI TTS
# Discord voice channel
DISCORD_BOT_TOKEN=...
DISCORD_ALLOWED_USERS=...
---
brew install portaudio # macOS
sudo apt install portaudio19-dev # Ubuntu
---
hermes dashboard
---
# Custom port
hermes dashboard --port 8080
# Bind to all interfaces (use with caution on shared networks)
hermes dashboard --host 0.0.0.0
# Start without opening browser
hermes dashboard --no-open
---
pip install hermes-agent[web]
---
You → /reload
Reloaded .env (3 var(s) updated)
---
# Terminal 1: start the backend API
hermes dashboard --no-open
# Terminal 2: start the Vite dev server with HMR
cd web/
npm install
npm run dev
---
# ~/.hermes/dashboard-themes/ocean.yaml
name: ocean
label: Ocean
description: Deep sea blues with coral accents
colors:
background: "#0a1628"
foreground: "#e0f0ff"
card: "#0f1f35"
card-foreground: "#e0f0ff"
primary: "#ff6b6b"
primary-foreground: "#0a1628"
secondary: "#152540"
secondary-foreground: "#e0f0ff"
muted: "#1a2d4a"
muted-foreground: "#7899bb"
accent: "#1f3555"
accent-foreground: "#e0f0ff"
destructive: "#fb2c36"
destructive-foreground: "#fff"
success: "#4ade80"
warning: "#fbbf24"
border: "color-mix(in srgb, #ff6b6b 15%, transparent)"
input: "color-mix(in srgb, #ff6b6b 15%, transparent)"
ring: "#ff6b6b"
popover: "#0f1f35"
popover-foreground: "#e0f0ff"
overlay:
noiseOpacity: 0.08
noiseBlendMode: color-dodge
warmGlowOpacity: 0.15
warmGlowColor: "rgba(255,107,107,0.2)"RAW_BUFFERClick to expand / collapse
📄 user-guide/features/tool-gateway.md
title: "Nous Tool Gateway" description: "Route web search, image generation, text-to-speech, and browser automation through your Nous subscription - no extra API keys needed" sidebar_label: "Tool Gateway" sidebar_position: 2
Nous Tool Gateway
:::tip Get Started The Tool Gateway is included with paid Nous Portal subscriptions. Manage your subscription → :::
Tool Gateway ช่วยให้ผู้ที่สมัครสมาชิก Nous Portal แบบเสียเงิน สามารถใช้ web search, image generation, text-to-speech, และ browser automation ผ่านการสมัครสมาชิกที่มีอยู่แล้ว โดยไม่จำเป็นต้องลงทะเบียน API keys แยกต่างหากจาก Firecrawl, FAL, OpenAI, หรือ Browser Use
What's Included
| Tool | What It Does | Direct Alternative |
|---|---|---|
| Web search & extract | Search the web and extract page content via Firecrawl | FIRECRAWL_API_KEY, EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_KEY |
| Image generation | Generate images via FAL (8 models: FLUX 2 Klein/Pro, GPT-Image, Nano Banana Pro, Ideogram, Recraft V4 Pro, Qwen, Z-Image) | FAL_KEY |
| Text-to-speech | Convert text to speech via OpenAI TTS | VOICE_TOOLS_OPENAI_KEY, ELEVENLABS_API_KEY |
| Browser automation | Control cloud browsers via Browser Use | BROWSER_USE_API_KEY, BROWSERBASE_API_KEY |
เครื่องมือทั้งสี่ตัวนี้จะเรียกเก็บเงินจาก Nous subscription ของคุณ คุณสามารถเปิดใช้งานการผสมผสานใดก็ได้ - ตัวอย่างเช่น ใช้ gateway สำหรับ web และ image generation ในขณะที่ยังคงใช้ ElevenLabs key ของคุณเองสำหรับ TTS
Eligibility
Tool Gateway มีให้ใช้งานสำหรับผู้ที่สมัครสมาชิก Nous Portal แบบเสียเงินเท่านั้น บัญชีระดับฟรีไม่มีสิทธิ์เข้าถึง - upgrade your subscription เพื่อปลดล็อก
ในการตรวจสอบสถานะของคุณ:
hermes statusมองหาส่วน Nous Tool Gateway มันจะแสดงว่าเครื่องมือใดที่ใช้งานได้ผ่าน gateway, เครื่องมือใดที่ใช้ direct keys, และเครื่องมือใดที่ยังไม่ได้ตั้งค่า
Enabling the Tool Gateway
During model setup
เมื่อคุณรัน hermes model และเลือก Nous Portal เป็น provider, Hermes จะเสนอให้เปิดใช้งาน Tool Gateway โดยอัตโนมัติ:
Your Nous subscription includes the Tool Gateway.
The Tool Gateway gives you access to web search, image generation,
text-to-speech, and browser automation through your Nous subscription.
No need to sign up for separate API keys - just pick the tools you want.
○ Web search & extract (Firecrawl) - not configured
○ Image generation (FAL) - not configured
○ Text-to-speech (OpenAI TTS) - not configured
○ Browser automation (Browser Use) - not configured
● Enable Tool Gateway
○ Skipเลือก Enable Tool Gateway และคุณก็เสร็จเรียบร้อยแล้ว
หากคุณมี direct API keys สำหรับเครื่องมือบางตัวอยู่แล้ว, prompt จะปรับเปลี่ยน - คุณสามารถเปิดใช้งาน gateway สำหรับเครื่องมือทั้งหมด (existing keys ของคุณจะถูกเก็บไว้ใน .env แต่จะไม่ถูกใช้ขณะรัน) เปิดใช้งานเฉพาะสำหรับเครื่องมือที่ยังไม่ได้ตั้งค่า หรือข้ามไปเลยก็ได้
Via hermes tools
คุณยังสามารถเปิดใช้งาน gateway ได้ทีละเครื่องมือผ่านการตั้งค่า tool แบบโต้ตอบ:
hermes toolsเลือกหมวดหมู่เครื่องมือ (Web, Browser, Image Generation, หรือ TTS), จากนั้นเลือก Nous Subscription เป็น provider วิธีนี้จะตั้งค่า use_gateway: true สำหรับเครื่องมือนั้นใน config ของคุณ
Manual configuration
ตั้งค่า flag use_gateway โดยตรงใน ~/.hermes/config.yaml:
web:
backend: firecrawl
use_gateway: true
image_gen:
use_gateway: true
tts:
provider: openai
use_gateway: true
browser:
cloud_provider: browser-use
use_gateway: trueHow It Works
เมื่อตั้งค่า use_gateway: true สำหรับเครื่องมือใดเครื่องมือหนึ่ง, runtime จะทำการ route API calls ผ่าน Nous Tool Gateway แทนการใช้ direct API keys:
- Web tools -
web_searchและweb_extractใช้ Firecrawl endpoint ของ gateway - Image generation -
image_generateใช้ FAL endpoint ของ gateway - TTS -
text_to_speechใช้ OpenAI Audio endpoint ของ gateway - Browser -
browser_navigateและเครื่องมือ browser อื่นๆ ใช้ Browser Use endpoint ของ gateway
gateway จะทำการ authenticate โดยใช้ Nous Portal credentials ของคุณ (ซึ่งถูกเก็บไว้ใน ~/.hermes/auth.json หลังจากรัน hermes model)
Precedence
แต่ละเครื่องมือจะตรวจสอบ use_gateway ก่อน:
use_gateway: true→ route ผ่าน gateway แม้ว่า direct API keys จะมีอยู่ใน .envuse_gateway: false(หรือไม่มีการระบุ) → ใช้ direct API keys หากมี, และจะ fallback ไปใช้ gateway ก็ต่อเมื่อไม่มี direct keys
นั่นหมายความว่าคุณสามารถสลับระหว่าง gateway และ direct keys ได้ตลอดเวลาโดยไม่ต้องลบ credentials ใน .env ของคุณ
Switching Back to Direct Keys
ในการหยุดใช้ gateway สำหรับเครื่องมือใดเครื่องมือหนึ่ง:
hermes tools # เลือกเครื่องมือ -> เลือก provider แบบ directหรือตั้งค่า use_gateway: false ใน config:
web:
backend: firecrawl
use_gateway: false # ตอนนี้จะใช้ FIRECRAWL_API_KEY จาก .envเมื่อคุณเลือก provider ที่ไม่ใช่ gateway ใน hermes tools, flag use_gateway จะถูกตั้งค่าเป็น false โดยอัตโนมัติเพื่อป้องกัน config ที่ขัดแย้งกัน
Checking Status
hermes statusส่วน Nous Tool Gateway จะแสดง:
◆ Nous Tool Gateway
Nous Portal ✓ managed tools available
Web tools ✓ active via Nous subscription
Image gen ✓ active via Nous subscription
TTS ✓ active via Nous subscription
Browser ○ active via Browser Use key
Modal ○ available via subscription (optional)เครื่องมือที่ระบุว่า "active via Nous subscription" จะถูก route ผ่าน gateway เครื่องมือที่มี keys ของตัวเองจะแสดงว่า provider ใดที่ใช้งานได้
Advanced: Self-Hosted Gateway
สำหรับการติดตั้ง gateway แบบ self-hosted หรือ custom gateway deployments, คุณสามารถ override gateway endpoints ผ่าน environment variables ใน ~/.hermes/.env:
TOOL_GATEWAY_DOMAIN=nousresearch.com # Base domain for gateway routing
TOOL_GATEWAY_SCHEME=https # HTTP หรือ HTTPS (default: https)
TOOL_GATEWAY_USER_TOKEN=your-token # Auth token (normally auto-populated)
FIRECRAWL_GATEWAY_URL=https://... # Override for the Firecrawl endpoint specificallyenv vars เหล่านี้จะมองเห็นได้เสมอใน configuration ไม่ว่าสถานะการสมัครสมาชิกจะเป็นอย่างไร - มีประโยชน์สำหรับการตั้งค่า infrastructure แบบกำหนดเอง
FAQ
Do I need to delete my existing API keys?
ไม่จำเป็น เมื่อตั้งค่า use_gateway: true, runtime จะข้าม direct API keys และ route ผ่าน gateway ของคุณ Keys ของคุณจะยังคงอยู่ใน .env โดยไม่ถูกแตะต้อง หากคุณปิดใช้งาน gateway ในภายหลัง, พวกมันจะถูกใช้ใหม่อีกครั้งโดยอัตโนมัติ
Can I use the gateway for some tools and direct keys for others?
ได้ flag use_gateway เป็นแบบต่อเครื่องมือ คุณสามารถผสมผสานได้ - ตัวอย่างเช่น gateway สำหรับ web และ image generation, ElevenLabs key ของคุณเองสำหรับ TTS, และ Browserbase สำหรับ browser automation
What if my subscription expires?
เครื่องมือที่เคยถูก route ผ่าน gateway จะหยุดทำงานจนกว่าคุณจะ renew your subscription หรือสลับไปใช้ direct API keys ผ่าน hermes tools
Does the gateway work with the messaging gateway?
ได้ Tool Gateway จะ route tool API calls ไม่ว่าคุณจะใช้ CLI, Telegram, Discord, หรือแพลตฟอร์ม messaging อื่นๆ มันทำงานที่ระดับ tool runtime ไม่ใช่ระดับ entry point
Is Modal included?
Modal (serverless terminal backend) มีให้ใช้งานเป็น optional add-on ผ่าน Nous subscription มันไม่ได้ถูกเปิดใช้งานโดย Tool Gateway prompt - ให้ตั้งค่าแยกต่างหากผ่าน hermes setup terminal หรือใน config.yaml
📄 user-guide/features/tools.md
sidebar_position: 1 title: "Tools & Toolsets" description: "ภาพรวมเครื่องมือของ Hermes Agent - สิ่งที่มีให้ใช้, วิธีการทำงานของ toolsets, และ terminal backends"
เครื่องมือและชุดเครื่องมือ (Tools & Toolsets)
เครื่องมือคือฟังก์ชันที่ขยายขีดความสามารถของ agent โดยจะถูกจัดระเบียบเป็น toolsets ทางตรรกะ ซึ่งสามารถเปิดหรือปิดใช้งานได้ตามแพลตฟอร์ม
Available Tools
Hermes มาพร้อมกับ registry เครื่องมือในตัวที่ครอบคลุมการค้นหาเว็บ (web search), การทำงานอัตโนมัติของเบราว์เซอร์ (browser automation), การรันคำสั่งใน terminal, การแก้ไขไฟล์, memory, delegation, RL training, การส่งข้อความ, Home Assistant, และอื่น ๆ
:::note
Honcho cross-session memory มีให้ใช้เป็น memory provider plugin (plugins/memory/honcho/) ไม่ใช่ toolset ที่มาพร้อมกับระบบตั้งแต่ต้น ดูที่ Plugins สำหรับการติดตั้ง
:::
หมวดหมู่ระดับสูง:
| Category | Examples | Description |
|---|---|---|
| Web | web_search, web_extract | ค้นหาเว็บและดึงเนื้อหาจากหน้าเว็บ |
| Terminal & Files | terminal, process, read_file, patch | รันคำสั่งและจัดการไฟล์ |
| Browser | browser_navigate, browser_snapshot, browser_vision | การทำงานอัตโนมัติของเบราว์เซอร์แบบโต้ตอบ พร้อมรองรับ text และ vision |
| Media | vision_analyze, image_generate, text_to_speech | การวิเคราะห์และการสร้างแบบ multimodal |
| Agent orchestration | todo, clarify, execute_code, delegate_task | การวางแผน, การชี้แจง, การรันโค้ด, และการมอบหมายงานให้ subagent |
| Memory & recall | memory, session_search | memory แบบถาวรและการค้นหา session |
| Automation & delivery | cronjob, send_message | งานตามกำหนดเวลาด้วย action create/list/update/pause/resume/run/remove และการส่งข้อความขาออก |
| Integrations | ha_*, MCP server tools, rl_* | Home Assistant, MCP, RL training, และการเชื่อมต่ออื่น ๆ |
สำหรับ registry ที่เป็นทางการที่ได้จากโค้ด ดูที่ Built-in Tools Reference และ Toolsets Reference
:::tip Nous Tool Gateway
ผู้สมัครสมาชิก Nous Portal แบบเสียเงินสามารถใช้ web search, image generation, TTS, และ browser automation ผ่าน Tool Gateway โดยไม่จำเป็นต้องใช้ API keys แยกต่างหาก เพียงรัน hermes model เพื่อเปิดใช้งาน หรือกำหนดค่าเครื่องมือแต่ละตัวด้วย hermes tools
:::
Using Toolsets
# Use specific toolsets
hermes chat --toolsets "web,terminal"
# See all available tools
hermes tools
# Configure tools per platform (interactive)
hermes toolstoolsets ทั่วไป ได้แก่ web, terminal, file, browser, vision, image_gen, moa, skills, tts, todo, memory, session_search, cronjob, code_execution, delegation, clarify, homeassistant, และ rl
ดูที่ Toolsets Reference สำหรับชุดเครื่องมือทั้งหมด รวมถึงค่าตั้งต้นของแพลตฟอร์ม เช่น hermes-cli, hermes-telegram, และ toolsets แบบ dynamic MCP เช่น mcp-<server>
Terminal Backends
เครื่องมือ terminal สามารถรันคำสั่งในสภาพแวดล้อมที่แตกต่างกัน:
| Backend | Description | Use Case |
|---|---|---|
local | รันบนเครื่องของคุณ (ค่าเริ่มต้น) | การพัฒนา, งานที่เชื่อถือได้ |
docker | container แบบแยกส่วน | ความปลอดภัย, การทำซ้ำผลลัพธ์ |
ssh | server ระยะไกล | Sandboxing, ป้องกันไม่ให้ agent เข้าถึงโค้ดของตัวเอง |
singularity | HPC containers | Cluster computing, rootless |
modal | การรันบน Cloud | Serverless, การขยายขนาด |
daytona | Cloud sandbox workspace | สภาพแวดล้อม dev ระยะไกลแบบถาวร |
Configuration
# In ~/.hermes/config.yaml
terminal:
backend: local # or: docker, ssh, singularity, modal, daytona
cwd: "." # Working directory
timeout: 180 # Command timeout in secondsDocker Backend
terminal:
backend: docker
docker_image: python:3.11-slimSSH Backend
แนะนำสำหรับความปลอดภัย - agent จะไม่สามารถแก้ไขโค้ดของตัวเองได้:
terminal:
backend: ssh# Set credentials in ~/.hermes/.env
TERMINAL_SSH_HOST=my-server.example.com
TERMINAL_SSH_USER=myuser
TERMINAL_SSH_KEY=~/.ssh/id_rsaSingularity/Apptainer
# Pre-build SIF for parallel workers
apptainer build ~/python.sif docker://python:3.11-slim
# Configure
hermes config set terminal.backend singularity
hermes config set terminal.singularity_image ~/python.sifModal (Serverless Cloud)
uv pip install modal
modal setup
hermes config set terminal.backend modalContainer Resources
กำหนดค่า CPU, memory, disk, และ persistence สำหรับ container backends ทั้งหมด:
terminal:
backend: docker # or singularity, modal, daytona
container_cpu: 1 # CPU cores (default: 1)
container_memory: 5120 # Memory in MB (default: 5GB)
container_disk: 51200 # Disk in MB (default: 50GB)
container_persistent: true # Persist filesystem across sessions (default: true)เมื่อ container_persistent: true แพ็กเกจ ไฟล์ และ config ที่ติดตั้งจะคงอยู่ข้าม session
Container Security
container backends ทั้งหมดทำงานด้วยการเสริมความแข็งแกร่งด้านความปลอดภัย:
- Read-only root filesystem (Docker)
- All Linux capabilities dropped
- No privilege escalation
- PID limits (256 processes)
- Full namespace isolation
- Persistent workspace via volumes, not writable root layer
Docker สามารถรับ env allowlist ที่ชัดเจนผ่าน terminal.docker_forward_env ได้ แต่ตัวแปรที่ส่งต่อจะมองเห็นได้สำหรับคำสั่งภายใน container และควรถูกพิจารณาว่าเปิดเผยต่อ session นั้น
Background Process Management
เริ่ม process ในพื้นหลังและจัดการมัน:
terminal(command="pytest -v tests/", background=true)
# Returns: {"session_id": "proc_abc123", "pid": 12345}
# Then manage with the process tool:
process(action="list") # แสดง process ที่กำลังทำงานทั้งหมด
process(action="poll", session_id="proc_abc123") # ตรวจสอบสถานะ
process(action="wait", session_id="proc_abc123") # บล็อกจนกว่าจะเสร็จ
process(action="log", session_id="proc_abc123") # ผลลัพธ์ทั้งหมด
process(action="kill", session_id="proc_abc123") # ยุติการทำงาน
process(action="write", session_id="proc_abc123", data="y") # ส่ง inputPTY mode (pty=true) ช่วยให้ใช้ CLI tools แบบโต้ตอบได้ เช่น Codex และ Claude Code
Sudo Support
หากคำสั่งใดต้องการ sudo คุณจะถูกแจ้งให้ใส่รหัสผ่าน (ซึ่งจะถูกแคชสำหรับ session นั้น) หรือตั้งค่า SUDO_PASSWORD ใน ~/.hermes/.env
:::warning
บนแพลตฟอร์มส่งข้อความ หาก sudo ล้มเหลว ผลลัพธ์จะรวมคำแนะนำให้เพิ่ม SUDO_PASSWORD ใน ~/.hermes/.env
:::
📄 user-guide/features/tts.md
sidebar_position: 9 title: "Voice & TTS" description: "การแปลงข้อความเป็นเสียงพูดและการถอดเสียงข้อความเสียงข้ามแพลตฟอร์มทั้งหมด"
Voice & TTS
Hermes Agent รองรับทั้งการแปลงข้อความเป็นเสียงพูด (text-to-speech) และการถอดเสียงข้อความเสียงข้ามแพลตฟอร์มการส่งข้อความทั้งหมด
:::tip Nous Subscribers
หากคุณมีการสมัครสมาชิกแบบเสียเงิน Nous Portal คุณสามารถใช้ OpenAI TTS ผ่าน Tool Gateway ได้โดยไม่จำเป็นต้องมี OpenAI API key แยกต่างหาก ให้รัน hermes model หรือ hermes tools เพื่อเปิดใช้งาน
:::
Text-to-Speech
แปลงข้อความเป็นเสียงพูดด้วยผู้ให้บริการ 9 ราย:
| Provider | Quality | Cost | API Key |
|---|---|---|---|
| Edge TTS (default) | Good | Free | None needed |
| ElevenLabs | Excellent | Paid | ELEVENLABS_API_KEY |
| OpenAI TTS | Good | Paid | VOICE_TOOLS_OPENAI_KEY |
| MiniMax TTS | Excellent | Paid | MINIMAX_API_KEY |
| Mistral (Voxtral TTS) | Excellent | Paid | MISTRAL_API_KEY |
| Google Gemini TTS | Excellent | Free tier | GEMINI_API_KEY |
| xAI TTS | Excellent | Paid | XAI_API_KEY |
| NeuTTS | Good | Free (local) | None needed |
| KittenTTS | Good | Free (local) | None needed |
Platform Delivery
| Platform | Delivery | Format |
|---|---|---|
| Telegram | Voice bubble (plays inline) | Opus .ogg |
| Discord | Voice bubble (Opus/OGG), falls back to file attachment | Opus/MP3 |
| Audio file attachment | MP3 | |
| CLI | Saved to ~/.hermes/audio_cache/ | MP3 |
Configuration
# In ~/.hermes/config.yaml
tts:
provider: "edge" # "edge" | "elevenlabs" | "openai" | "minimax" | "mistral" | "gemini" | "xai" | "neutts" | "kittentts"
speed: 1.0 # Global speed multiplier (provider-specific settings override this)
edge:
voice: "en-US-AriaNeural" # 322 voices, 74 languages
speed: 1.0 # Converted to rate percentage (+/-%)
elevenlabs:
voice_id: "pNInz6obpgDQGcFmaJgB" # Adam
model_id: "eleven_multilingual_v2"
openai:
model: "gpt-4o-mini-tts"
voice: "alloy" # alloy, echo, fable, onyx, nova, shimmer
base_url: "https://api.openai.com/v1" # Override for OpenAI-compatible TTS endpoints
speed: 1.0 # 0.25 - 4.0
minimax:
model: "speech-2.8-hd" # speech-2.8-hd (default), speech-2.8-turbo
voice_id: "English_Graceful_Lady" # See https://platform.minimax.io/faq/system-voice-id
speed: 1 # 0.5 - 2.0
vol: 1 # 0 - 10
pitch: 0 # -12 - 12
mistral:
model: "voxtral-mini-tts-2603"
voice_id: "c69964a6-ab8b-4f8a-9465-ec0925096ec8" # Paul - Neutral (default)
gemini:
model: "gemini-2.5-flash-preview-tts" # or gemini-2.5-pro-preview-tts
voice: "Kore" # 30 prebuilt voices: Zephyr, Puck, Kore, Enceladus, Gacrux, etc.
xai:
voice_id: "eve" # xAI TTS voice (see https://docs.x.ai/docs/api-reference#tts)
language: "en" # ISO 639-1 code
sample_rate: 24000 # 22050 / 24000 (default) / 44100 / 48000
bit_rate: 128000 # MP3 bitrate; only applies when codec=mp3
# base_url: "https://api.x.ai/v1" # Override via XAI_BASE_URL env var
neutts:
ref_audio: ''
ref_text: ''
model: neuphonic/neutts-air-q4-gguf
device: cpu
kittentts:
model: KittenML/kitten-tts-nano-0.8-int8 # 25MB int8; also: kitten-tts-micro-0.8 (41MB), kitten-tts-mini-0.8 (80MB)
voice: Jasper # Jasper, Bella, Luna, Bruno, Rosie, Hugo, Kiki, Leo
speed: 1.0 # 0.5 - 2.0
clean_text: true # Expand numbers, currencies, unitsSpeed control: ค่า tts.speed ทั่วโลกมีผลกับผู้ให้บริการทั้งหมดโดยค่าเริ่มต้น ผู้ให้บริการแต่ละรายสามารถกำหนดค่า speed ของตนเองเพื่อแทนที่ได้ (เช่น tts.openai.speed: 1.5) ความเร็วเฉพาะของผู้ให้บริการจะมีลำดับความสำคัญเหนือค่าทั่วโลก ค่าเริ่มต้นคือ 1.0 (ความเร็วปกติ)
Telegram Voice Bubbles & ffmpeg
Voice bubble ของ Telegram ต้องการรูปแบบเสียง Opus/OGG:
- OpenAI, ElevenLabs, และ Mistral สร้าง Opus ได้โดยธรรมชาติ - ไม่ต้องตั้งค่าเพิ่มเติม
- Edge TTS (default) ส่งออก MP3 และต้องใช้ ffmpeg ในการแปลง:
- MiniMax TTS ส่งออก MP3 และต้องใช้ ffmpeg ในการแปลงสำหรับ voice bubble ของ Telegram
- Google Gemini TTS ส่งออก raw PCM และใช้ ffmpeg เพื่อเข้ารหัส Opus โดยตรงสำหรับ voice bubble ของ Telegram
- xAI TTS ส่งออก MP3 และต้องใช้ ffmpeg ในการแปลงสำหรับ voice bubble ของ Telegram
- NeuTTS ส่งออก WAV และต้องใช้ ffmpeg ในการแปลงสำหรับ voice bubble ของ Telegram
- KittenTTS ส่งออก WAV และต้องใช้ ffmpeg ในการแปลงสำหรับ voice bubble ของ Telegram
# Ubuntu/Debian
sudo apt install ffmpeg
# macOS
brew install ffmpeg
# Fedora
sudo dnf install ffmpegหากไม่มี ffmpeg เสียงจาก Edge TTS, MiniMax TTS, NeuTTS, และ KittenTTS จะถูกส่งเป็นไฟล์เสียงปกติ (เล่นได้ แต่แสดงเป็นเครื่องเล่นสี่เหลี่ยมแทน voice bubble)
:::tip หากคุณต้องการ voice bubbles โดยไม่ต้องติดตั้ง ffmpeg ให้เปลี่ยนไปใช้ผู้ให้บริการ OpenAI, ElevenLabs, หรือ Mistral :::
Voice Message Transcription (STT)
ข้อความเสียงที่ส่งผ่าน Telegram, Discord, WhatsApp, Slack, หรือ Signal จะถูกถอดเสียงโดยอัตโนมัติและแทรกเป็นข้อความลงในการสนทนา Agent จะเห็น transcript นี้เป็นข้อความปกติ
| Provider | Quality | Cost | API Key |
|---|---|---|---|
| Local Whisper (default) | Good | Free | None needed |
| Groq Whisper API | Good–Best | Free tier | GROQ_API_KEY |
| OpenAI Whisper API | Good–Best | Paid | VOICE_TOOLS_OPENAI_KEY หรือ OPENAI_API_KEY |
:::info Zero Config
การถอดเสียงในเครื่อง (Local transcription) จะทำงานได้ทันทีเมื่อติดตั้ง faster-whisper หากไม่สามารถใช้ได้ Hermes ยังสามารถใช้ local whisper CLI จากตำแหน่งติดตั้งทั่วไป (เช่น /opt/homebrew/bin) หรือคำสั่งที่กำหนดเองผ่าน HERMES_LOCAL_STT_COMMAND
:::
Configuration
# In ~/.hermes/config.yaml
stt:
provider: "local" # "local" | "groq" | "openai" | "mistral"
local:
model: "base" # tiny, base, small, medium, large-v3
openai:
model: "whisper-1" # whisper-1, gpt-4o-mini-transcribe, gpt-4o-transcribe
mistral:
model: "voxtral-mini-latest" # voxtral-mini-latest, voxtral-mini-2602Provider Details
Local (faster-whisper) - รัน Whisper ในเครื่องผ่าน faster-whisper ใช้ CPU เป็นค่าเริ่มต้น และใช้ GPU หากมี ขนาดโมเดล:
| Model | Size | Speed | Quality |
|---|---|---|---|
tiny | ~75 MB | Fastest | Basic |
base | ~150 MB | Fast | Good (default) |
small | ~500 MB | Medium | Better |
medium | ~1.5 GB | Slower | Great |
large-v3 | ~3 GB | Slowest | Best |
Groq API - ต้องใช้ GROQ_API_KEY เป็นทางเลือกบนคลาวด์ที่ดีเมื่อคุณต้องการตัวเลือก STT แบบ hosted ฟรี
OpenAI API - รับ VOICE_TOOLS_OPENAI_KEY ก่อน และจะ fallback ไปยัง OPENAI_API_KEY รองรับ whisper-1, gpt-4o-mini-transcribe, และ gpt-4o-transcribe
Mistral API (Voxtral Transcribe) - ต้องใช้ MISTRAL_API_KEY ใช้โมเดล Voxtral Transcribe ของ Mistral รองรับ 13 ภาษา, speaker diarization, และ word-level timestamps ติดตั้งด้วย pip install hermes-agent[mistral]
Custom local CLI fallback - กำหนด HERMES_LOCAL_STT_COMMAND หากคุณต้องการให้ Hermes เรียกใช้คำสั่ง transcription ในเครื่องโดยตรง เทมเพลตคำสั่งรองรับ placeholders {input_path}, {output_dir}, {language}, และ {model}
Fallback Behavior
หากผู้ให้บริการที่คุณกำหนดค่าไว้ไม่พร้อมใช้งาน Hermes จะทำการ fallback โดยอัตโนมัติ:
- Local faster-whisper unavailable → พยายามใช้ local
whisperCLI หรือHERMES_LOCAL_STT_COMMANDก่อนผู้ให้บริการบนคลาวด์ - Groq key not set → fallback ไปยังการถอดเสียงในเครื่อง จากนั้น OpenAI
- OpenAI key not set → fallback ไปยังการถอดเสียงในเครื่อง จากนั้น Groq
- Mistral key/SDK not set → ข้ามในการตรวจจับอัตโนมัติ; fallback ไปยังผู้ให้บริการที่พร้อมใช้งานถัดไป
- Nothing available → ข้อความเสียงจะถูกส่งผ่านพร้อมหมายเหตุที่แม่นยำถึงผู้ใช้
📄 user-guide/features/vision.md
title: Vision & Image Paste description: Paste images from your clipboard into the Hermes CLI for multimodal vision analysis. sidebar_label: Vision & Image Paste sidebar_position: 7
การวางภาพและรูปภาพ (Vision & Image Paste)
Hermes Agent รองรับ multimodal vision - คุณสามารถวางรูปภาพจาก clipboard ของคุณลงใน CLI ได้โดยตรง และขอให้ agent วิเคราะห์ อธิบาย หรือทำงานกับรูปภาพเหล่านั้น รูปภาพจะถูกส่งไปยัง model ในรูปแบบ content blocks ที่เข้ารหัส base64 ดังนั้น model ใด ๆ ที่รองรับ vision ก็สามารถประมวลผลได้
วิธีการทำงาน
- คัดลอกรูปภาพไปยัง clipboard ของคุณ (เช่น screenshot, รูปภาพจาก browser เป็นต้น)
- แนบรูปภาพโดยใช้วิธีการใดวิธีการหนึ่งด้านล่าง
- พิมพ์คำถามของคุณและกด Enter
- รูปภาพจะปรากฏเป็น badge
[📎 Image #1]เหนือช่อง input - เมื่อกด submit รูปภาพจะถูกส่งไปยัง model ในรูปแบบ vision content block
คุณสามารถแนบรูปภาพได้หลายรูปก่อนส่ง - แต่ละรูปจะมี badge ของตัวเอง หากต้องการล้างรูปภาพที่แนบทั้งหมด ให้กด Ctrl+C
รูปภาพจะถูกบันทึกที่ ~/.hermes/images/ ในรูปแบบไฟล์ PNG พร้อมชื่อไฟล์ที่ระบุ timestamp
วิธีการวาง (Paste Methods)
วิธีที่คุณแนบรูปภาพขึ้นอยู่กับสภาพแวดล้อมของ terminal ของคุณ วิธีการทั้งหมดไม่ได้ใช้ได้ทุกที่ - นี่คือรายละเอียดทั้งหมด:
คำสั่ง /paste
ตัวสำรองที่เชื่อถือได้ที่สุดสำหรับการแนบรูปภาพแบบชัดเจน
/pasteพิมพ์ /paste แล้วกด Enter Hermes จะตรวจสอบ clipboard ของคุณเพื่อหารูปภาพและแนบรูปภาพนั้น นี่คือตัวเลือกที่ปลอดภัยที่สุดเมื่อ terminal ของคุณเขียนทับ Cmd+V/Ctrl+V หรือเมื่อคุณคัดลอกเฉพาะรูปภาพและไม่มี payload ข้อความแบบ bracketed-paste ให้ตรวจสอบ
Ctrl+V / Cmd+V
Hermes ปัจจุบันถือว่าการวาง (paste) เป็นกระบวนการแบบหลายชั้น:
- การวางข้อความปกติก่อน
- การสำรองข้อมูล clipboard / OSC52 text หาก terminal ไม่ได้ส่งข้อความอย่างสะอาด
- การแนบรูปภาพเมื่อ clipboard หรือ pasted payload แก้ไขเป็นรูปภาพหรือ image path
นั่นหมายความว่า path ชั่วคราวของ macOS screenshot ที่วาง หรือ image URIs แบบ file://... สามารถแนบได้ทันที แทนที่จะอยู่ใน composer เป็นข้อความดิบ
:::warning
หาก clipboard ของคุณมี เฉพาะรูปภาพ (ไม่มีข้อความ) terminal ก็ยังไม่สามารถส่ง binary image bytes ได้โดยตรง ให้ใช้ /paste เป็นตัวสำรองสำหรับการแนบรูปภาพแบบชัดเจน
:::
/terminal-setup สำหรับ VS Code / Cursor / Windsurf
หากคุณรัน TUI ภายใน integrated terminal ตระกูล VS Code บน macOS, Hermes สามารถติดตั้ง bindings ที่แนะนำคือ workbench.action.terminal.sendSequence เพื่อให้รองรับ multiline และ undo/redo ได้ดีขึ้น:
/terminal-setupสิ่งนี้มีประโยชน์อย่างยิ่งเมื่อ Cmd+Enter, Cmd+Z, หรือ Shift+Cmd+Z ถูก IDE ดักจับ ให้รันคำสั่งนี้บนเครื่อง local เท่านั้น - ห้ามรันภายใน SSH session
ความเข้ากันได้ของแพลตฟอร์ม
| Environment | /paste | Cmd/Ctrl+V | /terminal-setup | Notes |
|---|---|---|---|---|
| macOS Terminal / iTerm2 | ✅ | ✅ | n/a | ประสบการณ์ที่ดีที่สุด - native clipboard + screenshot-path recovery |
| Apple Terminal | ✅ | ✅ | n/a | หาก Cmd+←/→/⌫ ถูกเขียนทับ ให้ใช้ Ctrl+A / Ctrl+E / Ctrl+U fallbacks |
| Linux X11 desktop | ✅ | ✅ | n/a | ต้องใช้ xclip (apt install xclip) |
| Linux Wayland desktop | ✅ | ✅ | n/a | ต้องใช้ wl-paste (apt install wl-clipboard) |
| WSL2 (Windows Terminal) | ✅ | ✅ | n/a | ใช้ powershell.exe - ไม่ต้องติดตั้งเพิ่มเติม |
| VS Code / Cursor / Windsurf (local) | ✅ | ✅ | ✅ | แนะนำสำหรับ Cmd+Enter / undo / redo parity ที่ดีขึ้น |
| VS Code / Cursor / Windsurf (SSH) | ❌² | ❌² | ❌³ | ให้รัน /terminal-setup บนเครื่อง local แทน |
| SSH terminal (any) | ❌² | ❌² | n/a | ไม่สามารถเข้าถึง clipboard ระยะไกลได้ |
² ดูที่ SSH & Remote Sessions ด้านล่าง ³ คำสั่งนี้เขียน keybindings ของ IDE local และไม่ควรถูกรันจาก host ระยะไกล
การตั้งค่าเฉพาะแพลตฟอร์ม
macOS
ไม่ต้องตั้งค่าใด ๆ Hermes ใช้ osascript (ที่มาพร้อมกับ macOS) เพื่ออ่าน clipboard สำหรับประสิทธิภาพที่เร็วขึ้น คุณสามารถติดตั้ง pngpaste เพิ่มเติมได้:
brew install pngpasteLinux (X11)
ติดตั้ง xclip:
# Ubuntu/Debian
sudo apt install xclip
# Fedora
sudo dnf install xclip
# Arch
sudo pacman -S xclipLinux (Wayland)
Desktop Linux ยุคใหม่ (Ubuntu 22.04+, Fedora 34+) มักใช้ Wayland เป็นค่าเริ่มต้น ติดตั้ง wl-clipboard:
# Ubuntu/Debian
sudo apt install wl-clipboard
# Fedora
sudo dnf install wl-clipboard
# Arch
sudo pacman -S wl-clipboard:::tip วิธีตรวจสอบว่าคุณใช้ Wayland
echo $XDG_SESSION_TYPE
# "wayland" = Wayland, "x11" = X11, "tty" = no display server:::
WSL2
ไม่ต้องตั้งค่าเพิ่มเติม Hermes ตรวจจับ WSL2 โดยอัตโนมัติ (ผ่าน /proc/version) และใช้ powershell.exe เพื่อเข้าถึง Windows clipboard ผ่าน System.Windows.Forms.Clipboard ของ .NET นี่คือส่วนที่ทำงานร่วมกันของ Windows interop ใน WSL2 ซึ่ง powershell.exe มีให้ใช้งานโดยค่าเริ่มต้น
ข้อมูล clipboard จะถูกถ่ายโอนเป็น PNG ที่เข้ารหัส base64 ผ่าน stdout ดังนั้นจึงไม่จำเป็นต้องมีการแปลง file path หรือไฟล์ชั่วคราว
:::info WSLg Note
หากคุณกำลังรัน WSLg (WSL2 พร้อมการรองรับ GUI), Hermes จะลองใช้ path ของ PowerShell ก่อน จากนั้นจึงย้อนกลับไปใช้ wl-paste clipboard bridge ของ WSLg รองรับเฉพาะรูปแบบ BMP สำหรับรูปภาพเท่านั้น - Hermes จะแปลง BMP เป็น PNG โดยอัตโนมัติโดยใช้ Pillow (หากติดตั้ง) หรือคำสั่ง convert ของ ImageMagick
:::
ตรวจสอบการเข้าถึง clipboard ของ WSL2
# 1. ตรวจสอบการตรวจจับ WSL
grep -i microsoft /proc/version
# 2. ตรวจสอบว่า PowerShell เข้าถึงได้
which powershell.exe
# 3. คัดลอกรูปภาพ จากนั้นตรวจสอบ
powershell.exe -NoProfile -Command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.Clipboard]::ContainsImage()"
# ควรแสดง "True"SSH & Remote Sessions
การวางรูปภาพจาก clipboard ไม่ได้ทำงานอย่างสมบูรณ์ผ่าน SSH เมื่อคุณ SSH เข้าไปยังเครื่องระยะไกล, Hermes CLI จะทำงานบน host ระยะไกล เครื่องมือ clipboard (xclip, wl-paste, powershell.exe, osascript) จะอ่าน clipboard ของเครื่องที่มันทำงานอยู่ - ซึ่งคือเซิร์ฟเวอร์ระยะไกล ไม่ใช่เครื่อง local ของคุณ ดังนั้นรูปภาพ clipboard local ของคุณจึงไม่สามารถเข้าถึงได้จากฝั่งระยะไกล
ข้อความยังสามารถส่งผ่านได้ด้วย terminal paste หรือ OSC52 ในบางครั้ง แต่การเข้าถึงรูปภาพ clipboard และ path ชั่วคราวของ screenshot local ยังคงผูกติดอยู่กับเครื่องที่รัน Hermes
วิธีแก้ไขสำหรับ SSH
-
อัปโหลดไฟล์รูปภาพ - บันทึกรูปภาพในเครื่อง local, อัปโหลดไปยังเซิร์ฟเวอร์ระยะไกลผ่าน
scp, file explorer ของ VSCode (drag-and-drop), หรือวิธีการถ่ายโอนไฟล์ใด ๆ จากนั้นอ้างอิงด้วย path (มีแผนจะเพิ่มคำสั่ง/attach <filepath>ในการปล่อยเวอร์ชันในอนาคต) -
ใช้ URL - หากรูปภาพสามารถเข้าถึงได้ทางออนไลน์ ให้วาง URL ในข้อความของคุณ agent สามารถใช้
vision_analyzeเพื่อดูรูปภาพ URL ใด ๆ ได้โดยตรง -
X11 forwarding - เชื่อมต่อด้วย
ssh -Xเพื่อส่งต่อ X11 สิ่งนี้ช่วยให้xclipบนเครื่องระยะไกลสามารถเข้าถึง X11 clipboard local ของคุณได้ ต้องมี X server ทำงานบนเครื่อง local (XQuartz บน macOS, built-in บน Linux X11 desktops) ช้าสำหรับรูปภาพขนาดใหญ่ -
ใช้แพลตฟอร์มข้อความ - ส่งรูปภาพไปยัง Hermes ผ่าน Telegram, Discord, Slack, หรือ WhatsApp แพลตฟอร์มเหล่านี้จัดการการอัปโหลดรูปภาพโดยธรรมชาติและไม่ได้รับผลกระทบจากข้อจำกัดของ clipboard/terminal
เหตุผลที่ Terminal ไม่สามารถวางรูปภาพได้
นี่เป็นแหล่งที่มาของความสับสนทั่วไป ดังนั้นนี่คือคำอธิบายทางเทคนิค:
Terminal เป็น interface ที่ อิงข้อความ (text-based) เมื่อคุณกด Ctrl+V (หรือ Cmd+V), terminal emulator:
- อ่าน clipboard สำหรับ เนื้อหาข้อความ
- ห่อหุ้มมันด้วย escape sequences ของ bracketed paste
- ส่งมันไปยังแอปพลิเคชันผ่าน text stream ของ terminal
หาก clipboard มีเฉพาะรูปภาพ (ไม่มีข้อความ), terminal ก็ไม่มีอะไรจะส่ง ไม่มี standard terminal escape sequence สำหรับ binary image data terminal จึงทำอะไรไม่ได้
นี่คือเหตุผลที่ Hermes ใช้การตรวจสอบ clipboard แยกต่างหาก - แทนที่จะรับข้อมูลรูปภาพผ่านเหตุการณ์ terminal paste, มันเรียกใช้เครื่องมือระดับ OS (osascript, powershell.exe, xclip, wl-paste) โดยตรงผ่าน subprocess เพื่ออ่าน clipboard อย่างอิสระ
Supported Models
การวางรูปภาพใช้ได้กับโมเดลที่รองรับ vision ทุกตัว รูปภาพจะถูกส่งเป็น data URL ที่เข้ารหัส base64 ในรูปแบบ vision content ของ OpenAI:
{
"type": "image_url",
"image_url": {
"url": "data:image/png;base64,..."
}
}model สมัยใหม่ส่วนใหญ่รองรับรูปแบบนี้ รวมถึง GPT-4 Vision, Claude (พร้อม vision), Gemini, และ open-source multimodal models ที่ให้บริการผ่าน OpenRouter.
📄 user-guide/features/voice-mode.md
sidebar_position: 10 title: "Voice Mode" description: "Real-time voice conversations with Hermes Agent - CLI, Telegram, Discord (DMs, text channels, and voice channels)"
Voice Mode
Hermes Agent รองรับการโต้ตอบด้วยเสียงแบบเต็มรูปแบบทั้งใน CLI และแพลตฟอร์มการส่งข้อความ พูดคุยกับ agent โดยใช้ไมโครโฟนของคุณ ฟังการตอบกลับด้วยเสียง และสนทนาด้วยเสียงแบบเรียลไทม์ใน Discord voice channels
หากคุณต้องการคำแนะนำการตั้งค่าแบบปฏิบัติจริง พร้อมการกำหนดค่าที่แนะนำและรูปแบบการใช้งานจริง โปรดดูที่ Use Voice Mode with Hermes
Prerequisites
ก่อนใช้งานฟีเจอร์ด้านเสียง โปรดตรวจสอบให้แน่ใจว่าคุณได้ติดตั้งสิ่งเหล่านี้แล้ว:
- Hermes Agent ถูกติดตั้งแล้ว -
pip install hermes-agent(ดู Installation) - มีการกำหนดค่า LLM provider - รัน
hermes modelหรือตั้งค่า credentials ของ provider ที่คุณต้องการใน~/.hermes/.env - มีการตั้งค่า base setup ที่ใช้งานได้ - รัน
hermesเพื่อตรวจสอบว่า agent ตอบสนองต่อข้อความได้ก่อนเปิดใช้งานเสียง
:::tip
ไดเรกทอรี ~/.hermes/ และ config.yaml ค่าเริ่มต้นจะถูกสร้างขึ้นโดยอัตโนมัติในครั้งแรกที่คุณรัน hermes คุณจำเป็นต้องสร้าง ~/.hermes/.env ด้วยตนเองสำหรับ API keys เท่านั้น
:::
Overview
| Feature | Platform | Description |
|---|---|---|
| Interactive Voice | CLI | กด Ctrl+B เพื่อบันทึก, agent จะตรวจจับความเงียบโดยอัตโนมัติและตอบกลับ |
| Auto Voice Reply | Telegram, Discord | Agent จะส่งเสียงพูดพร้อมกับการตอบกลับที่เป็นข้อความ |
| Voice Channel | Discord | Bot จะเข้าร่วม VC, ฟังผู้ใช้พูด, และพูดคำตอบกลับไป |
Requirements
Python Packages
# CLI voice mode (microphone + audio playback)
pip install "hermes-agent[voice]"
# Discord + Telegram messaging (includes discord.py[voice] for VC support)
pip install "hermes-agent[messaging]"
# Premium TTS (ElevenLabs)
pip install "hermes-agent[tts-premium]"
# Local TTS (NeuTTS, optional)
python -m pip install -U neutts[all]
# Everything at once
pip install "hermes-agent[all]"| Extra | Packages | Required For |
|---|---|---|
voice | sounddevice, numpy | CLI voice mode |
messaging | discord.py[voice], python-telegram-bot, aiohttp | Discord & Telegram bots |
tts-premium | elevenlabs | ElevenLabs TTS provider |
สำหรับ local TTS provider: ให้ติดตั้ง neutts แยกต่างหากด้วย python -m pip install -U neutts[all]. เมื่อใช้งานครั้งแรก ระบบจะดาวน์โหลดโมเดลให้โดยอัตโนมัติ
:::info
discord.py[voice] จะติดตั้ง PyNaCl (สำหรับการเข้ารหัสเสียง) และ opus bindings โดยอัตโนมัติ สิ่งนี้จำเป็นสำหรับการรองรับ Discord voice channel
:::
System Dependencies
# macOS
brew install portaudio ffmpeg opus
brew install espeak-ng # for NeuTTS
# Ubuntu/Debian
sudo apt install portaudio19-dev ffmpeg libopus0
sudo apt install espeak-ng # for NeuTTS| Dependency | Purpose | Required For |
|---|---|---|
| PortAudio | Microphone input and audio playback | CLI voice mode |
| ffmpeg | Audio format conversion (MP3 → Opus, PCM → WAV) | All platforms |
| Opus | Discord voice codec | Discord voice channels |
| espeak-ng | Phonemizer backend | Local NeuTTS provider |
API Keys
เพิ่มใน ~/.hermes/.env:
# Speech-to-Text — local provider needs NO key at all
# pip install faster-whisper # Free, runs locally, recommended
GROQ_API_KEY=your-key # Groq Whisper — fast, free tier (cloud)
VOICE_TOOLS_OPENAI_KEY=your-key # OpenAI Whisper — paid (cloud)
# Text-to-Speech (optional — Edge TTS and NeuTTS work without any key)
ELEVENLABS_API_KEY=*** # ElevenLabs — premium quality
# VOICE_TOOLS_OPENAI_KEY above also enables OpenAI TTS:::tip
หากติดตั้ง faster-whisper voice mode จะทำงานได้โดยใช้ zero API keys สำหรับ STT โมเดล (~150 MB สำหรับ base) จะดาวน์โหลดโดยอัตโนมัติในการใช้งานครั้งแรก
:::
CLI Voice Mode
Quick Start
เริ่มต้น CLI และเปิดใช้งาน voice mode:
hermes # Start the interactive CLIจากนั้นใช้คำสั่งเหล่านี้ภายใน CLI:
/voice Toggle voice mode on/off
/voice on Enable voice mode
/voice off Disable voice mode
/voice tts Toggle TTS output
/voice status Show current stateHow It Works
- เริ่ม CLI ด้วย
hermesและเปิดใช้งาน voice mode ด้วย/voice on - กด Ctrl+B - จะมีเสียงบี๊บดังขึ้น (880Hz) และเริ่มบันทึก
- พูด - แถบระดับเสียงแบบเรียลไทม์จะแสดง input ของคุณ:
● [ ▂▃▅▇▇▅▂] ❯ - หยุดพูด - หลังจากเงียบไป 3 วินาที การบันทึกจะหยุดโดยอัตโนมัติ
- มีเสียงบี๊บสองครั้ง (660Hz) เพื่อยืนยันว่าการบันทึกสิ้นสุดแล้ว
- เสียงจะถูกถอดเสียงผ่าน Whisper และส่งไปยัง agent
- หากเปิดใช้งาน TTS การตอบกลับของ agent จะถูกพูดออกมา
- การบันทึกจะ เริ่มใหม่โดยอัตโนมัติ - พูดอีกครั้งโดยไม่ต้องกดปุ่มใดๆ
วงจรนี้จะดำเนินต่อไปจนกว่าคุณจะกด Ctrl+B ระหว่างการบันทึก (ออกจาก continuous mode) หรือการบันทึก 3 ครั้งติดต่อกันตรวจไม่พบคำพูด
:::tip
คีย์สำหรับบันทึกสามารถกำหนดค่าได้ผ่าน voice.record_key ใน ~/.hermes/config.yaml (ค่าเริ่มต้น: ctrl+b)
:::
Silence Detection
อัลกอริทึมสองขั้นตอนจะตรวจจับเมื่อคุณพูดจบ:
- Speech confirmation - รอสัญญาณเสียงที่สูงกว่าเกณฑ์ RMS (200) อย่างน้อย 0.3 วินาที โดยยอมให้มีการลดลงชั่วคราวระหว่างพยางค์
- End detection - เมื่อยืนยันว่ามีการพูดแล้ว จะทริกเกอร์หลังจากความเงียบต่อเนื่อง 3.0 วินาที
หากไม่ตรวจพบคำพูดเลยเป็นเวลา 15 วินาที การบันทึกจะหยุดโดยอัตโนมัติ
ทั้ง silence_threshold และ silence_duration สามารถกำหนดค่าได้ใน config.yaml นอกจากนี้คุณยังสามารถปิดเสียงบี๊บเริ่มต้น/หยุดการบันทึกได้ด้วย voice.beep_enabled: false
Streaming TTS
เมื่อเปิดใช้งาน TTS agent จะพูดคำตอบของมัน ทีละประโยค ขณะที่สร้างข้อความ - คุณไม่จำเป็นต้องรอการตอบกลับทั้งหมด:
- บัฟเฟอร์ text deltas ให้เป็นประโยคที่สมบูรณ์ (ขั้นต่ำ 20 ตัวอักษร)
- ลบ markdown formatting และบล็อก
<think> - สร้างและเล่นเสียงต่อประโยคแบบเรียลไทม์
Hallucination Filter
Whisper บางครั้งสร้างข้อความผีจากความเงียบหรือเสียงรบกวนพื้นหลัง ("Thank you for watching", "Subscribe", ฯลฯ) agent จะกรองสิ่งเหล่านี้ออกโดยใช้ชุดวลี hallucination ที่ทราบ 26 วลีในหลายภาษา บวกกับ regex pattern ที่ดักจับการเปลี่ยนแปลงซ้ำๆ
Gateway Voice Reply (Telegram & Discord)
หากคุณยังไม่ได้ตั้งค่า messaging bots ของคุณ โปรดดูที่ guides เฉพาะแพลตฟอร์ม:
เริ่ม gateway เพื่อเชื่อมต่อกับ messaging platforms ของคุณ:
hermes gateway # Start the gateway (connects to configured platforms)
hermes gateway setup # Interactive setup wizard for first-time configurationDiscord: Channels vs DMs
Bot รองรับโหมดการโต้ตอบสองโหมดบน Discord:
| Mode | How to Talk | Mention Required | Setup |
|---|---|---|---|
| Direct Message (DM) | เปิดโปรไฟล์ของ bot → "Message" | No | Works immediately |
| Server Channel | พิมพ์ใน text channel ที่ bot อยู่ | Yes (@botname) | Bot must be invited to the server |
DM (แนะนำสำหรับการใช้งานส่วนตัว): เพียงเปิด DM กับ bot และพิมพ์ - ไม่จำเป็นต้อง @mention เสียงตอบกลับและคำสั่งทั้งหมดทำงานเหมือนใน channels
Server channels: Bot จะตอบกลับเมื่อคุณ @mention มันเท่านั้น (เช่น @hermesbyt4 hello) ตรวจสอบให้แน่ใจว่าคุณเลือก bot user จาก pop-up mention ไม่ใช่ role ที่มีชื่อเดียวกัน
:::tip
ในการปิดข้อกำหนด @mention ใน server channels ให้เพิ่มใน ~/.hermes/.env:
DISCORD_REQUIRE_MENTION=falseหรือกำหนด channels เฉพาะให้เป็น free-response (ไม่จำเป็นต้อง mention):
DISCORD_FREE_RESPONSE_CHANNELS=123456789,987654321:::
Commands
คำสั่งเหล่านี้ใช้ได้ทั้งใน Telegram และ Discord (DMs และ text channels):
/voice Toggle voice mode on/off
/voice on Voice replies only when you send a voice message
/voice tts Voice replies for ALL messages
/voice off Disable voice replies
/voice status Show current settingModes
| Mode | Command | Behavior |
|---|---|---|
off | /voice off | Text only (default) |
voice_only | /voice on | Speaks reply only when you send a voice message |
all | /voice tts | Speaks reply to every message |
การตั้งค่า voice mode จะถูกบันทึกไว้แม้จะ restart gateway
Platform Delivery
| Platform | Format | Notes |
|---|---|---|
| Telegram | Voice bubble (Opus/OGG) | เล่นในแชทโดยตรง ffmpeg จะแปลง MP3 → Opus หากจำเป็น |
| Discord | Native voice bubble (Opus/OGG) | เล่นในแชทเหมือนข้อความเสียงของผู้ใช้ จะย้อนกลับไปใช้ file attachment หาก API voice bubble ล้มเหลว |
Discord Voice Channels
ฟีเจอร์ด้านเสียงที่ดื่มด่ำที่สุด: bot จะเข้าร่วม Discord voice channel, ฟังผู้ใช้พูด, ถอดเสียงคำพูด, ประมวลผลผ่าน agent, และพูดคำตอบกลับไปใน voice channel
Setup
1. Discord Bot Permissions
หากคุณได้ตั้งค่า Discord bot สำหรับข้อความแล้ว (ดู Discord Setup Guide) คุณจำเป็นต้องเพิ่มสิทธิ์ด้านเสียง
ไปที่ Discord Developer Portal → your application → Installation → Default Install Settings → Guild Install:
เพิ่มสิทธิ์เหล่านี้ในการตั้งค่าข้อความที่มีอยู่:
| Permission | Purpose | Required |
|---|---|---|
| Connect | Join voice channels | Yes |
| Speak | Play TTS audio in voice channels | Yes |
| Use Voice Activity | Detect when users are speaking | Recommended |
Updated Permissions Integer:
| Level | Integer | What's Included |
|---|---|---|
| Text only | 274878286912 | View Channels, Send Messages, Read History, Embeds, Attachments, Threads, Reactions |
| Text + Voice | 274881432640 | All above + Connect, Speak |
เชิญ bot ใหม่ ด้วย URL สิทธิ์ที่อัปเดต:
https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=274881432640แทนที่ YOUR_APP_ID ด้วย Application ID ของคุณจาก Developer Portal
:::warning การเชิญ bot ใหม่ไปยัง server ที่มีอยู่แล้วจะอัปเดตสิทธิ์โดยไม่ลบ bot คุณจะไม่สูญเสียข้อมูลหรือการกำหนดค่าใดๆ :::
2. Privileged Gateway Intents
ใน Developer Portal → your application → Bot → Privileged Gateway Intents ให้เปิดใช้งานทั้งสามตัว:
| Intent | Purpose |
|---|---|
| Presence Intent | Detect user online/offline status |
| Server Members Intent | Map voice SSRC identifiers to Discord user IDs |
| Message Content Intent | Read text message content in channels |
ทั้งสามตัวจำเป็นสำหรับการทำงานเต็มรูปแบบของ voice channel Server Members Intent มีความสำคัญอย่างยิ่ง - หากไม่มีสิ่งนี้ bot จะไม่สามารถระบุได้ว่าใครกำลังพูดใน voice channel
3. Opus Codec
ไลบรารี Opus codec ต้องติดตั้งบนเครื่องที่รัน gateway:
# macOS (Homebrew)
brew install opus
# Ubuntu/Debian
sudo apt install libopus0bot จะโหลด codec โดยอัตโนมัติจาก:
- macOS:
/opt/homebrew/lib/libopus.dylib - Linux:
libopus.so.0
4. Environment Variables
# ~/.hermes/.env
# Discord bot (already configured for text)
DISCORD_BOT_TOKEN=your-bot-token
DISCORD_ALLOWED_USERS=your-user-id
# STT — local provider needs no key (pip install faster-whisper)
# GROQ_API_KEY=your-key # Alternative: cloud-based, fast, free tier
# TTS — optional. Edge TTS and NeuTTS need no key.
# ELEVENLABS_API_KEY=*** # Premium quality
# VOICE_TOOLS_OPENAI_KEY=*** # OpenAI TTS / WhisperStart the Gateway
hermes gateway # Start with existing configurationbot ควรจะออนไลน์ใน Discord ภายในไม่กี่วินาที
Commands
ใช้คำสั่งเหล่านี้ใน Discord text channel ที่ bot อยู่:
/voice join Bot joins your current voice channel
/voice channel Alias for /voice join
/voice leave Bot disconnects from voice channel
/voice status Show voice mode and connected channel:::info
คุณต้องอยู่ใน voice channel ก่อนรัน /voice join bot จะเข้าร่วม VC เดียวกับที่คุณอยู่
:::
How It Works
เมื่อ bot เข้าร่วม voice channel:
- Listens to each user's audio stream independently
- Detects silence - 1.5s of silence after at least 0.5s of speech triggers processing
- Transcribes the audio via Whisper STT (local, Groq, or OpenAI)
- Processes through the full agent pipeline (session, tools, memory)
- Speaks the reply back in the voice channel via TTS
Text Channel Integration
เมื่อ bot อยู่ใน voice channel:
- Transcripts จะปรากฏใน text channel:
[Voice] @user: what you said - การตอบกลับของ agent จะถูกส่งเป็นข้อความในช่อง และพูดใน VC
- text channel คือช่องที่ออกคำสั่ง
/voice join
Echo Prevention
bot จะหยุดฟังเสียงโดยอัตโนมัติขณะเล่น TTS replies เพื่อป้องกันไม่ให้ได้ยินและประมวลผล output ของตัวเองซ้ำ
Access Control
เฉพาะผู้ใช้ที่ระบุใน DISCORD_ALLOWED_USERS เท่านั้นที่สามารถโต้ตอบผ่านเสียงได้ เสียงของผู้ใช้อื่นจะถูกเพิกเฉยโดยเงียบๆ
# ~/.hermes/.env
DISCORD_ALLOWED_USERS=284102345871466496Configuration Reference
config.yaml
# Voice recording (CLI)
voice:
record_key: "ctrl+b" # Key to start/stop recording
max_recording_seconds: 120 # Maximum recording length
auto_tts: false # Auto-enable TTS when voice mode starts
beep_enabled: true # Play record start/stop beeps
silence_threshold: 200 # RMS level (0-32767) below which counts as silence
silence_duration: 3.0 # Seconds of silence before auto-stop
# Speech-to-Text
stt:
provider: "local" # "local" (free) | "groq" | "openai"
local:
model: "base" # tiny, base, small, medium, large-v3
# model: "whisper-1" # Legacy: used when provider is not set
# Text-to-Speech
tts:
provider: "edge" # "edge" (free) | "elevenlabs" | "openai" | "neutts" | "minimax"
edge:
voice: "en-US-AriaNeural" # 322 voices, 74 languages
elevenlabs:
voice_id: "pNInz6obpgDQGcFmaJgB" # Adam
model_id: "eleven_multilingual_v2"
openai:
model: "gpt-4o-mini-tts"
voice: "alloy" # alloy, echo, fable, onyx, nova, shimmer
base_url: "https://api.openai.com/v1" # optional: override for self-hosted or OpenAI-compatible endpoints
neutts:
ref_audio: ''
ref_text: ''
model: neuphonic/neutts-air-q4-gguf
device: cpuEnvironment Variables
# Speech-to-Text providers (local needs no key)
# pip install faster-whisper # Free local STT — no API key needed
GROQ_API_KEY=... # Groq Whisper (fast, free tier)
VOICE_TOOLS_OPENAI_KEY=... # OpenAI Whisper (paid)
# STT advanced overrides (optional)
STT_GROQ_MODEL=whisper-large-v3-turbo # Override default Groq STT model
STT_OPENAI_MODEL=whisper-1 # Override default OpenAI STT model
GROQ_BASE_URL=https://api.groq.com/openai/v1 # Custom Groq endpoint
STT_OPENAI_BASE_URL=https://api.openai.com/v1 # Custom OpenAI STT endpoint
# Text-to-Speech providers (Edge TTS and NeuTTS need no key)
ELEVENLABS_API_KEY=*** # ElevenLabs (premium quality)
# VOICE_TOOLS_OPENAI_KEY above also enables OpenAI TTS
# Discord voice channel
DISCORD_BOT_TOKEN=...
DISCORD_ALLOWED_USERS=...STT Provider Comparison
| Provider | Model | Speed | Quality | Cost | API Key |
|---|---|---|---|---|---|
| Local | base | Fast (depends on CPU/GPU) | Good | Free | No |
| Local | small | Medium | Better | Free | No |
| Local | large-v3 | Slow | Best | Free | No |
| Groq | whisper-large-v3-turbo | Very fast (~0.5s) | Good | Free tier | Yes |
| Groq | whisper-large-v3 | Fast (~1s) | Better | Free tier | Yes |
| OpenAI | whisper-1 | Fast (~1s) | Good | Paid | Yes |
| OpenAI | gpt-4o-transcribe | Medium (~2s) | Best | Paid | Yes |
Provider priority (automatic fallback): local > groq > openai
TTS Provider Comparison
| Provider | Quality | Cost | Latency | Key Required |
|---|---|---|---|---|
| Edge TTS | Good | Free | ~1s | No |
| ElevenLabs | Excellent | Paid | ~2s | Yes |
| OpenAI TTS | Good | Paid | ~1.5s | Yes |
| NeuTTS | Good | Free | Depends on CPU/GPU | No |
NeuTTS ใช้ config block tts.neutts ด้านบน
Troubleshooting
"No audio device found" (CLI)
PortAudio ไม่ได้ติดตั้ง:
brew install portaudio # macOS
sudo apt install portaudio19-dev # UbuntuBot doesn't respond in Discord server channels
โดยค่าเริ่มต้น bot ต้องการ @mention ใน server channels ตรวจสอบให้แน่ใจว่าคุณ:
- พิมพ์
@และเลือก bot user (พร้อม #discriminator) ไม่ใช่ role ที่มีชื่อเดียวกัน - หรือใช้ DMs แทน - ไม่จำเป็นต้อง mention
- หรือตั้งค่า
DISCORD_REQUIRE_MENTION=falseใน~/.hermes/.env
Bot joins VC but doesn't hear me
- ตรวจสอบว่า Discord user ID ของคุณอยู่ใน
DISCORD_ALLOWED_USERS - ตรวจสอบให้แน่ใจว่าคุณไม่ได้ถูก mute ใน Discord
- bot ต้องการ event SPEAKING จาก Discord ก่อนที่มันจะสามารถ map เสียงของคุณได้ - เริ่มพูดภายในไม่กี่วินาทีหลังจากเข้าร่วม
Bot hears me but doesn't respond
- ตรวจสอบว่า STT พร้อมใช้งาน: ติดตั้ง
faster-whisper(ไม่ต้องใช้ key) หรือตั้งค่าGROQ_API_KEY/VOICE_TOOLS_OPENAI_KEY - ตรวจสอบว่า LLM model ถูกกำหนดค่าและเข้าถึงได้
- ตรวจสอบ gateway logs:
tail -f ~/.hermes/logs/gateway.log
Bot responds in text but not in voice channel
- TTS provider อาจล้มเหลว - ตรวจสอบ API key และ quota
- Edge TTS (ฟรี, ไม่ต้องใช้ key) เป็นค่า fallback เริ่มต้น
- ตรวจสอบ logs สำหรับข้อผิดพลาดของ TTS
Whisper returns garbage text
hallucination filter จะดักจับกรณีส่วนใหญ่โดยอัตโนมัติ หากคุณยังคงได้รับ transcript ผี:
- ใช้สภาพแวดล้อมที่เงียบกว่า
- ปรับ
silence_thresholdใน config (สูงขึ้น = ไวต่อความเงียน้อยลง) - ลองใช้ STT model อื่น
📄 user-guide/features/web-dashboard.md
sidebar_position: 15 title: "Web Dashboard" description: "Browser-based dashboard for managing configuration, API keys, sessions, logs, analytics, cron jobs, and skills"
Web Dashboard
Web dashboard คือ UI ที่ทำงานบนเบราว์เซอร์สำหรับจัดการการติดตั้ง Hermes Agent ของคุณ แทนที่จะต้องแก้ไขไฟล์ YAML หรือรันคำสั่ง CLI คุณสามารถตั้งค่า (configure) จัดการ API keys และตรวจสอบ sessions ได้จากอินเทอร์เฟซบนเว็บที่สะอาดตา
Quick Start
hermes dashboardคำสั่งนี้จะเริ่ม web server ท้องถิ่น (local) และเปิดที่ http://127.0.0.1:9119 ในเบราว์เซอร์ของคุณ Dashboard จะทำงานบนเครื่องของคุณทั้งหมด - ไม่มีข้อมูลใดออกจาก localhost
Options
| Flag | Default | Description |
|---|---|---|
--port | 9119 | Port ที่จะใช้รัน web server |
--host | 127.0.0.1 | Bind address |
--no-open | — | ไม่เปิดเบราว์เซอร์โดยอัตโนมัติ |
# Custom port
hermes dashboard --port 8080
# Bind to all interfaces (use with caution on shared networks)
hermes dashboard --host 0.0.0.0
# Start without opening browser
hermes dashboard --no-openPrerequisites
Web dashboard ต้องการ FastAPI และ Uvicorn ติดตั้งด้วยคำสั่ง:
pip install hermes-agent[web]หากคุณติดตั้งด้วย pip install hermes-agent[all], dependencies สำหรับ web จะถูกรวมมาให้แล้ว
เมื่อคุณรัน hermes dashboard โดยที่ไม่มี dependencies, ระบบจะแจ้งให้คุณทราบว่าต้องติดตั้งอะไรบ้าง หาก frontend ยังไม่ได้ถูก build และมี npm อยู่ ระบบจะทำการ build ให้โดยอัตโนมัติในการเปิดครั้งแรก
Pages
Status
หน้า Landing page จะแสดงภาพรวมแบบเรียลไทม์ของการติดตั้งของคุณ:
- Agent version และวันที่เผยแพร่
- Gateway status - สถานะ (running/stopped), PID, แพลตฟอร์มที่เชื่อมต่อ และสถานะของแพลตฟอร์มเหล่านั้น
- Active sessions - จำนวน sessions ที่ใช้งานอยู่ใน 5 นาทีที่ผ่านมา
- Recent sessions - รายการ 20 sessions ล่าสุด พร้อม model, จำนวนข้อความ, การใช้ token, และตัวอย่างการสนทนา
หน้าสถานะจะรีเฟรชโดยอัตโนมัติทุก 5 วินาที
Config
เป็น editor ที่ใช้ฟอร์มสำหรับไฟล์ config.yaml ฟิลด์การตั้งค่ากว่า 150+ ฟิลด์จะถูกค้นพบโดยอัตโนมัติจาก DEFAULT_CONFIG และจัดระเบียบเป็นหมวดหมู่แบบแท็บ:
- model - model เริ่มต้น, provider, base URL, การตั้งค่าการให้เหตุผล (reasoning settings)
- terminal - backend (local/docker/ssh/modal), timeout, shell preferences
- display - skin, tool progress, resume display, spinner settings
- agent - max iterations, gateway timeout, service tier
- delegation - subagent limits, reasoning effort
- memory - provider selection, context injection settings
- approvals - โหมดอนุมัติคำสั่งอันตราย (ask/yolo/deny)
- และอื่น ๆ - ทุกส่วนของ config.yaml มีฟิลด์ฟอร์มที่สอดคล้องกัน
ฟิลด์ที่มีค่าที่ถูกต้องที่ทราบ (เช่น terminal backend, skin, approval mode) จะแสดงเป็น dropdowns ค่า Boolean จะแสดงเป็น toggles ส่วนอื่น ๆ ทั้งหมดจะเป็น text input.
Actions:
- Save - เขียนการเปลี่ยนแปลงไปยัง
config.yamlทันที - Reset to defaults - ย้อนค่าฟิลด์ทั้งหมดกลับไปเป็นค่าเริ่มต้น (จะไม่บันทึกจนกว่าคุณจะคลิก Save)
- Export - ดาวน์โหลด config ปัจจุบันเป็น JSON
- Import - อัปโหลดไฟล์ config JSON เพื่อแทนที่ค่าปัจจุบัน
:::tip
การเปลี่ยนแปลง Config จะมีผลใน agent session ถัดไป หรือเมื่อ gateway รีสตาร์ท Web dashboard จะแก้ไขไฟล์ config.yaml เดียวกันกับที่ hermes config set และ gateway อ่านค่ามา
:::
API Keys
จัดการไฟล์ .env ซึ่งเป็นที่เก็บ API keys และ credentials Keys จะถูกจัดกลุ่มตามหมวดหมู่:
- LLM Providers - OpenRouter, Anthropic, OpenAI, DeepSeek, และอื่น ๆ
- Tool API Keys - Browserbase, Firecrawl, Tavily, ElevenLabs, และอื่น ๆ
- Messaging Platforms - Telegram, Discord, Slack bot tokens, และอื่น ๆ
- Agent Settings - env vars ที่ไม่ใช่ secret เช่น
API_SERVER_ENABLED
แต่ละ key จะแสดง:
- สถานะว่ามีการตั้งค่าหรือไม่ (พร้อมตัวอย่างค่าที่ถูกปกปิด)
- คำอธิบายว่าใช้ทำอะไร
- ลิงก์ไปยังหน้า signup/key ของ provider
- ช่อง input สำหรับตั้งค่าหรืออัปเดตค่า
- ปุ่มลบเพื่อลบ key นั้น
Keys ขั้นสูง/ที่ใช้น้อยจะถูกซ่อนไว้โดยค่าเริ่มต้นหลัง toggle.
Sessions
เรียกดูและตรวจสอบ agent sessions ทั้งหมด แต่ละแถวจะแสดงชื่อ session, ไอคอนแพลตฟอร์มต้นทาง (CLI, Telegram, Discord, Slack, cron), ชื่อ model, จำนวนข้อความ, จำนวน tool call, และระยะเวลาที่ใช้งานล่าสุด Session ที่กำลังใช้งานอยู่จะถูกทำเครื่องหมายด้วย badge ที่กะพริบ.
- Search - ค้นหาข้อความแบบ full-text ทั่วทั้งเนื้อหาข้อความโดยใช้ FTS5 ผลลัพธ์จะแสดง snippets ที่ถูกไฮไลต์ และจะ auto-scroll ไปยังข้อความที่ตรงกันแรกเมื่อขยาย
- Expand - คลิกที่ session เพื่อโหลดประวัติข้อความทั้งหมด ข้อความจะถูก color-code ตามบทบาท (user, assistant, system, tool) และแสดงผลเป็น Markdown พร้อม syntax highlighting.
- Tool calls - ข้อความจาก assistant ที่มีการเรียกใช้ tool จะแสดงเป็นบล็อกที่ยุบได้พร้อมชื่อฟังก์ชันและ JSON arguments.
- Delete - ลบ session และประวัติข้อความด้วยไอคอนถังขยะ.
Logs
ดูไฟล์ log ของ agent, gateway, และ error พร้อมฟังก์ชันการกรองและ live tailing.
- File - สลับระหว่างไฟล์ log
agent,errors, และgateway - Level - กรองตามระดับ log: ALL, DEBUG, INFO, WARNING, หรือ ERROR
- Component - กรองตาม source component: all, gateway, agent, tools, cli, หรือ cron
- Lines - เลือกจำนวนบรรทัดที่ต้องการแสดง (50, 100, 200, หรือ 500)
- Auto-refresh - สลับ live tailing ที่จะ poll เพื่อหา log lines ใหม่ทุก 5 วินาที
- Color-coded - log lines จะถูกใส่สีตามความรุนแรง (สีแดงสำหรับ errors, สีเหลืองสำหรับ warnings, สีทึมสำหรับ debug)
Analytics
การวิเคราะห์การใช้งานและค่าใช้จ่ายที่คำนวณจากประวัติ session เลือกช่วงเวลา (7, 30, หรือ 90 วัน) เพื่อดู:
- Summary cards - total tokens (input/output), cache hit percentage, total estimated or actual cost, และ total session count พร้อมค่าเฉลี่ยรายวัน
- Daily token chart - stacked bar chart แสดงการใช้ input และ output token ต่อวัน พร้อม tooltips เมื่อเลื่อนเมาส์เพื่อดูรายละเอียดและการคำนวณค่าใช้จ่าย
- Daily breakdown table - วันที่, จำนวน session, input tokens, output tokens, cache hit rate, และค่าใช้จ่ายสำหรับแต่ละวัน
- Per-model breakdown - ตารางที่แสดงแต่ละ model ที่ใช้, จำนวน session, การใช้ token, และค่าใช้จ่ายโดยประมาณ
Cron
สร้างและจัดการ cron jobs ที่กำหนดเวลา ซึ่งจะรัน agent prompts ตามตารางเวลาที่กำหนด
- Create - กรอกชื่อ (ไม่บังคับ), prompt, cron expression (เช่น
0 9 * * *), และ delivery target (local, Telegram, Discord, Slack, หรือ email) - Job list - แต่ละ job จะแสดงชื่อ, ตัวอย่าง prompt, schedule expression, state badge (enabled/paused/error), delivery target, last run time, และ next run time
- Pause / Resume - สลับสถานะของ job ระหว่าง active และ paused
- Trigger now - สั่งรัน job ทันทีนอกตารางเวลาปกติ
- Delete - ลบ cron job อย่างถาวร
Skills
เรียกดู ค้นหา และสลับ (toggle) skills และ toolsets Skills จะถูกโหลดจาก ~/.hermes/skills/ และจัดกลุ่มตามหมวดหมู่.
- Search - กรอง skills และ toolsets ตามชื่อ, คำอธิบาย, หรือหมวดหมู่
- Category filter - คลิก category pills เพื่อจำกัดรายการ (เช่น MLOps, MCP, Red Teaming, AI)
- Toggle - เปิดหรือปิด skills ทีละตัวด้วยสวิตช์ การเปลี่ยนแปลงจะมีผลใน session ถัดไป
- Toolsets - ส่วนแยกที่แสดง toolsets ที่ติดตั้งมาให้ (เช่น file operations, web browsing) พร้อมสถานะ active/inactive, ข้อกำหนดในการตั้งค่า, และรายการเครื่องมือที่รวมอยู่
:::warning Security
Web dashboard จะอ่านและเขียนไฟล์ .env ของคุณ ซึ่งมี API keys และ secrets มันจะ bind กับ 127.0.0.1 โดยค่าเริ่มต้น - สามารถเข้าถึงได้จากเครื่องท้องถิ่นของคุณเท่านั้น หากคุณ bind ไปที่ 0.0.0.0, ใครก็ตามในเครือข่ายของคุณสามารถดูและแก้ไข credentials ของคุณได้ Dashboard ไม่มีระบบ authentication ของตัวเอง
:::
/reload Slash Command
PR ของ dashboard ยังเพิ่ม slash command /reload ให้กับ CLI แบบ interactive หลังจากเปลี่ยน API keys ผ่าน web dashboard (หรือโดยการแก้ไข .env โดยตรง) ให้ใช้ /reload ใน session CLI ที่กำลังใช้งานอยู่เพื่อรับการเปลี่ยนแปลงโดยไม่ต้องรีสตาร์ท:
You → /reload
Reloaded .env (3 var(s) updated)สิ่งนี้จะอ่าน ~/.hermes/.env เข้าไปใน environment ของ process ที่กำลังรันอยู่ มีประโยชน์เมื่อคุณเพิ่ม provider key ใหม่ผ่าน dashboard และต้องการใช้งานทันที.
REST API
Web dashboard เปิดเผย REST API ที่ frontend ใช้ consume คุณยังสามารถเรียกใช้ endpoints เหล่านี้โดยตรงเพื่อทำ automation ได้:
GET /api/status
ส่งคืน agent version, gateway status, platform states, และจำนวน active session.
GET /api/sessions
ส่งคืน 20 sessions ล่าสุดพร้อม metadata (model, token counts, timestamps, preview).
GET /api/config
ส่งคืนเนื้อหา config.yaml ปัจจุบันในรูปแบบ JSON.
GET /api/config/defaults
ส่งคืนค่า config เริ่มต้น.
GET /api/config/schema
ส่งคืน schema ที่อธิบายทุก config field - type, description, category, และ select options ตามความเหมาะสม Frontend ใช้สิ่งนี้เพื่อ render input widget ที่ถูกต้องสำหรับแต่ละ field.
PUT /api/config
บันทึก configuration ใหม่. Body: {"config": {...}}.
GET /api/env
ส่งคืน environment variables ที่ทราบทั้งหมดพร้อมสถานะ set/unset, ค่าที่ถูกปกปิด, description, และ category.
PUT /api/env
ตั้งค่า environment variable. Body: {"key": "VAR_NAME", "value": "secret"}.
DELETE /api/env
ลบ environment variable. Body: {"key": "VAR_NAME"}.
GET /api/sessions/{session_id}
ส่งคืน metadata สำหรับ session เดียว.
GET /api/sessions/{session_id}/messages
ส่งคืนประวัติข้อความทั้งหมดสำหรับ session รวมถึง tool calls และ timestamps.
GET /api/sessions/search
ค้นหาข้อความแบบ full-text ทั่วทั้งเนื้อหาข้อความ Query parameter: q. ส่งคืน session IDs ที่ตรงกันพร้อม snippets ที่ถูกไฮไลต์.
DELETE /api/sessions/{session_id}
ลบ session และประวัติข้อความ.
GET /api/logs
ส่งคืน log lines. Query parameters: file (agent/errors/gateway), lines (count), level, component.
GET /api/analytics/usage
ส่งคืน token usage, cost, และ session analytics. Query parameter: days (ค่าเริ่มต้น 30). Response รวมถึง daily breakdowns และ per-model aggregates.
GET /api/cron/jobs
ส่งคืน cron jobs ที่กำหนดค่าทั้งหมดพร้อมสถานะ, schedule, และ run history.
POST /api/cron/jobs
สร้าง cron job ใหม่. Body: {"prompt": "...", "schedule": "0 9 * * *", "name": "...", "deliver": "local"}.
POST /api/cron/jobs/{job_id}/pause
หยุด cron job.
POST /api/cron/jobs/{job_id}/resume
เริ่ม cron job ที่ถูกหยุดชั่วคราว.
POST /api/cron/jobs/{job_id}/trigger
สั่งรัน cron job ทันทีนอกตารางเวลา.
DELETE /api/cron/jobs/{job_id}
ลบ cron job.
GET /api/skills
ส่งคืน skills ทั้งหมดพร้อมชื่อ, คำอธิบาย, category, และสถานะ enabled.
PUT /api/skills/toggle
เปิดหรือปิด skill. Body: {"name": "skill-name", "enabled": true}.
GET /api/tools/toolsets
ส่งคืน toolsets ทั้งหมดพร้อม label, description, tools list, และสถานะ active/configured.
CORS
Web server จำกัด CORS ให้กับ localhost origins เท่านั้น:
http://localhost:9119/http://127.0.0.1:9119(production)http://localhost:3000/http://127.0.0.1:3000http://localhost:5173/http://127.0.0.1:5173(Vite dev server)
หากคุณรัน server บน custom port, origin นั้นจะถูกเพิ่มโดยอัตโนมัติ.
Development
หากคุณกำลังมีส่วนร่วมในการพัฒนา frontend ของ web dashboard:
# Terminal 1: start the backend API
hermes dashboard --no-open
# Terminal 2: start the Vite dev server with HMR
cd web/
npm install
npm run devVite dev server ที่ http://localhost:5173 จะทำหน้าที่ proxy คำขอ /api ไปยัง FastAPI backend ที่ http://127.0.0.1:9119.
Frontend ถูกสร้างด้วย React 19, TypeScript, Tailwind CSS v4, และ components สไตล์ shadcn/ui-style การ build สำหรับ Production จะส่ง output ไปที่ hermes_cli/web_dist/ ซึ่ง FastAPI server ใช้เป็น static SPA.
Automatic Build on Update
เมื่อคุณรัน hermes update, web frontend จะถูก build ใหม่โดยอัตโนมัติหากมี npm ติดตั้งอยู่ สิ่งนี้ช่วยให้ dashboard อัปเดตตามการอัปเดตโค้ด หากไม่มี npm ติดตั้ง, การอัปเดตจะข้ามการ build frontend และ hermes dashboard จะทำการ build ในการเปิดครั้งแรก.
Themes
Dashboard รองรับ visual themes ที่เปลี่ยนสี, overlay effects, และความรู้สึกโดยรวม คุณสามารถสลับ themes ได้แบบ live จาก header bar - คลิกที่ไอคอน palette ถัดจาก language switcher.
Built-in Themes
| Theme | Description |
|---|---|
| Hermes Teal | สีเขียวน้ำทะเลเข้มแบบคลาสสิก (ค่าเริ่มต้น) |
| Midnight | สีน้ำเงิน-ม่วงเข้มพร้อม accents ที่ดูเย็นตา |
| Ember | สีแดงเข้มและบรอนซ์ที่อบอุ่น |
| Mono | สีเทาแบบสะอาดตา, มินิมอล |
| Cyberpunk | สีเขียวนีออนบนพื้นหลังสีดำ |
| Rosé | สีชมพูอ่อนและสีงาช้างที่อบอุ่น |
การเลือก Theme จะถูกบันทึกใน config.yaml ภายใต้ dashboard.theme และจะถูกกู้คืนเมื่อโหลดหน้า.
Custom Themes
สร้างไฟล์ YAML ใน ~/.hermes/dashboard-themes/:
# ~/.hermes/dashboard-themes/ocean.yaml
name: ocean
label: Ocean
description: Deep sea blues with coral accents
colors:
background: "#0a1628"
foreground: "#e0f0ff"
card: "#0f1f35"
card-foreground: "#e0f0ff"
primary: "#ff6b6b"
primary-foreground: "#0a1628"
secondary: "#152540"
secondary-foreground: "#e0f0ff"
muted: "#1a2d4a"
muted-foreground: "#7899bb"
accent: "#1f3555"
accent-foreground: "#e0f0ff"
destructive: "#fb2c36"
destructive-foreground: "#fff"
success: "#4ade80"
warning: "#fbbf24"
border: "color-mix(in srgb, #ff6b6b 15%, transparent)"
input: "color-mix(in srgb, #ff6b6b 15%, transparent)"
ring: "#ff6b6b"
popover: "#0f1f35"
popover-foreground: "#e0f0ff"
overlay:
noiseOpacity: 0.08
noiseBlendMode: color-dodge
warmGlowOpacity: 0.15
warmGlowColor: "rgba(255,107,107,0.2)"21 color tokens จะแมปโดยตรงกับ CSS custom properties ที่ใช้ทั่วทั้ง dashboard ทุกฟิลด์จำเป็นสำหรับ custom themes ส่วน overlay เป็นทางเลือก - มันควบคุม grain texture และ ambient glow effects.
ให้รีเฟรช dashboard หลังจากสร้างไฟล์ Custom themes จะปรากฏใน theme picker เคียงข้าง built-ins.
Theme API
| Endpoint | Method | Description |
|---|---|---|
/api/dashboard/themes | GET | รายการ themes ที่มีอยู่ + ชื่อที่ใช้งานอยู่ |
/api/dashboard/theme | PUT | ตั้งค่า theme ที่ใช้งาน Body: {"name": "midnight"} |
extent analysis
TL;DR
To resolve the issue, ensure that the hermes command is properly installed and configured, and then try running hermes dashboard to access the web dashboard.
Guidance
- Verify Installation: Confirm that
hermes-agentis installed by runningpip install hermes-agent. - Check Configuration: Ensure that the configuration files, such as
config.yamland.env, are correctly set up and contain the necessary API keys and settings. - Run Hermes Dashboard: Execute
hermes dashboardto start the web server and access the dashboard. - Troubleshoot: If issues persist, review the logs for errors and check the documentation for specific troubleshooting guides related to your problem.
Example
No specific code snippet is provided as the issue seems to be related to the setup and configuration of the Hermes Agent rather than a coding problem.
Notes
- Ensure all dependencies, including
hermes-agent[web], are installed. - The web dashboard is accessible at
http://127.0.0.1:9119by default. - For development, you can start the Vite dev server with
npm run devin theweb/directory.
Recommendation
Apply the workaround by reinstalling hermes-agent and ensuring that all dependencies are correctly installed, then attempt to run hermes dashboard again. If the issue persists, refer to the official documentation or seek support from the Hermes Agent community.
Vote matrix · Quick signals
Still need to ship something?
×6Another batch ranked right after the header list — different links, same matching logic.
TRENDING
- Feature Request: Configurable per-minute rate limiting (RPM) for models to prevent 429 errors
- Android: Hermes App + Termux install share ~/.hermes and cause silent permission loops
- hermes update emits unicode-animations ANSI demo in non-interactive logs
- hermes update downgrades aiohttp from 3.13.4 to 3.13.3
- npm install warns about deprecated @babel/plugin-proposal-private-methods
- DingTalk inbound media URLs are skipped as unreadable native image paths
- fix(dashboard): ChatPage clears header action buttons on ALL pages, not just Sessions
- [Bug]: check_web_api_key() hardcodes built-in backends — third-party web search plugins silently disabled
- Hermes Web UI 修复经验:GatewayManager 补丁、进程 D 状态、数据库升级问题
- Telegram gateway can silently drop turn after /stop with response=0 chars while internal work continues
- Bug Report: v0.14.0 上下文污染 — 历史回复碎片回注到新请求
- Bug: hermes skills search table truncates Identifier column — install fails with copied value
- [skills-index-watchdog] Skills index is stale or degraded (degraded)
- Discord approval embed not rendering on web/mobile — embed data present in API but invisible
- Idea: Discord voice-channel participation / opt-in auto-join mode
- [Feature]: Claude Code--ultrawork
- build-arm64 job deterministically fails on cold cache (Azure SAS token expires mid-build)
- [Enhancement] computer_use: action=type should fall back to key events for terminal emulators (Ghostty/Terminal.app/iTerm2)
- Feature Request: Session Recovery on Temporary Provider Outage
- [Bug]: Hermes dashboard not working on NixOS (container)
- [Feature]: Add option to ignore @all/@everyone mentions in Feishu group chats
- QQ Bot WebSocket 频繁断开:长时间工具执行阻塞 asyncio 事件循环导致心跳超时
- patch tool: new_string escape sequences (\t) get written literally
- Feature Request: i18n / 多语言支持(国际化)
- Bug: web_crawl schema lets models auto-guess "instructions" instead of asking the user via clarify
- feat: `!command` prefix for direct shell execution (like Claude Code)
- Expose currently-running cron jobs via /api/jobs (or new endpoint)
- [Bug]: Kanban parent-child handoff: scratch workspace GC destroys artifacts before child can read them
- [Bug, Windows] hermes gateway restart loses session context — planned_stop_marker not written before SIGTERM
- [Bug]: Codex→DeepSeek fallback sends assistant turns without reasoning_content → HTTP 400 (require-side cross-provider failover)
- [Bug]: Update got stuck half way, reboot it, then ModuleNotFoundError: No module named 'hermes_cli'
- Kanban dispatcher corrupt-board handling and multi-profile gateway ownership ambiguity
- Gateway can resend a short fallback message when the real final Telegram response was already delivered
- [BUG] Bedrock: Fix 'Invalid API Key format' for presigned URL tokens
- Secret redaction corrupts code syntax in tool output (write_file, execute_code, terminal)
- Unable to connect Ollama Cloud with Pro Subscription to Hermes
- feat: fuzzy substring matching for /skill autocomplete
- PRD: Autonomous market-impact prediction briefing system
- Kanban dashboard should support task/card deep links
- [Feature] Native Feishu CardKit Streaming: consolidate best-in-class implementations
- [Feature]: Inject mental model into context when using Hindsight
- Interactive CLI hides tool output despite display.tool_progress=all, and hermes chat -v does not restore it
- fix(api_server): _handle_responses drops text.format JSON schema — structured output constraints silently ignored
- state.db FTS corruption goes undetected — no integrity check, no repair path
- bug: fallback routing can select text-only models for image requests and hide the primary failure
- feat(kanban): persist worker session_id per run and pass --resume on respawn after unblock
- feat(kanban): support GitHub/OMO lifecycle bridge for Xiyou-style automation
- Expose update-safe TUI/composer hooks for voice transcript and composer events
- Hide or configure voice transcript status rows in editable dictation mode
- [Feature]: Per-Tool / Per-Toolset Approval Policies
- Context compression creates orphan sessions missing from state.db
- messaging platform
- feat: Add read-only / silent monitoring mode for WhatsApp adapter
- double-.hermes path mismatch, the HOME env var leak, and the fallback-notification UX problem
- Bug: Plattform-Bundle name `hermes-yuanbao` in `agent.disabled_toolsets` silently kills ALL tools in gateway path (Telegram + cron), CLI unaffected
- CLI /yolo (in-chat) does not bypass dangerous command approvals — env var freeze + missing enable_session_yolo call
- OpenAI Codex provider crashes with "'NoneType' object is not iterable" (HTTP None)
- DEEPSEEK_API_KEY blocked by env blocklist in gateway process — cron jobs fail with deepseek provider
- fix(feishu): Card action callback routing issues - invalid message_id and unrecognized /card command
- Discord plugin: profiles without explicit `discord:` block silently get `require_mention=true` + `auto_thread=true` (regression in cc8e5ec2a)
- [Bug]: DISCORD_ALLOWED_ROLES ignored by gateway _is_user_authorized — role-authorized users get 'Unauthorized user' rejection
- [Bug]: /new, /clear, and /reset commands freeze the terminal session
- openai-codex subscription backend returns HTTP 200 with response.output=None, causing Slack/cron failures
- RFC: Centralized Model/Provider Registry
- bug: openai-codex provider — TypeError: 'NoneType' object is not iterable on every request (gpt-5.5)
- [Feature]: Source-aware instruction gate — architectural mitigation for indirect prompt injection
- Named custom provider stale_timeout_seconds ignored because runtime provider is normalized to `custom`
- guard test (ignore)
- [Feature]: per-platform LLM request_overrides (extra_body / reasoning_effort / service_tier)
- One-shot smoke: add Flue-backed orchestration fixture
- Gateway should not treat stale Codex app-server progress as final response after post-tool silence
- `docker_run_as_host_user: true` breaks bundled skills: Hermes home is mounted into `/root/.hermes` but the container runs as a non-root user (`HOME=/home/pn`)
- [Bug]: gateway api_server streaming bypasses server-side tool-call loop when chat_template_kwargs.enable_thinking=false (model emits tool name as plain text)
- [Feature]: Pre-install python-telegram-bot in Umbrel Hermes Docker image
- YouTube Shorts filter not working in youtube-content skill
- v0.15.0 PyPI release breaks ALL platforms — plugin.yaml manifests missing from package
- RFC: On-demand tool/skill/MCP discovery — decouple schema registration from process lifecycle
- Pixshelf: local-first stock photo workflow command center
- [Bug]: baoyu infographic skill should not silently bypass image_generate
- Pixshelf v1.5: manual submission tracking for stock agencies
- `hermes config set` silently accepts unknown keys, writing them where the runtime never reads
- Honcho memory prefetch hang on fresh CLI subprocess in v0.15.0 (regression from #27190)
- [Bug] v0.15.0 Docker image: stage2-hook.sh, main-wrapper.sh missing; container_boot module removed
- Feature: Reduce cache-read token overhead for DeepSeek providers — configurable cache_ttl, skills snapshot trimming, memory compaction
- Windows: three bugs from daily use (plugin discovery, gateway exit code, Unicode decode
- holographic memory: HRR silently degrades to FTS5 when numpy is missing
- Make max_tokens configurable for aux vision calls
- Conversation compression desynchronizes session ID between agent context and gateway routing, causing silent message loss
- [Bug]: v0.15.0 Docker image:The TUI cannot be used in the dashboard.
- cron: skip_memory=True blocks fact_store/memory tools from all cron jobs
- TUI: Node.js OOM crash when agent uses browser tools repeatedly
- feat: model_profiles — per-model toolset and memory config
- Automatic background skill patching disrupts active sessions (severe impact on local models)
- ensure_hermes_home() creates root-owned dirs in profile subdirectories when kanban workers are dispatched
- Feature: opt-in webhook bypass for DISCORD_ALLOW_BOTS — allow operator-initiated probes without weakening bot-loop guard
- v0.15.0: Codex requests fail HTTP 400 when participant display_name contains non-ASCII (emoji breaks input[].name pattern)
- Architecture: State Persistence Precedence (Memory vs Skills vs Hooks)
- [Bug]: cronjob tool: create action always fails with "schedule is required for create" even when parameters are provided
- codex-oauth: 'NoneType' object is not iterable in _run_codex_stream (gpt-5.5) — every turn fails non-retryably
- Docs/Config: Plugin local scope enablement ambiguity
- [Bug]: CLI freezes after using /new command (WSL)
- Profile Codex auth can ignore global credential pool when local state is stale
- [workflow-engine] CRITICAL: variable substitution crashes on regex metachars in user input
- [workflow-engine] HIGH: loop and bash nodes leak subprocesses on timeout
- [workflow-engine] HIGH: README documents config env vars the engine never reads
- [workflow-engine] MEDIUM: workflow_run rate limit bypassable via concurrent calls (TOCTOU)
- [workflow-engine] chore: manifest gaps, side-effectful register(), dead code, unauth kanban dispatch
- [mcp_lazy] HIGH: synthetic mcp_server_<name> stub collides with a real MCP server named 'server'
- [mcp_lazy] HIGH: promote_server eager flag documented but never persisted
- [mcp_lazy] MEDIUM: _prev_mode dict leaks and goes stale; not cleared on session evict
- [mcp_lazy] MEDIUM: get_pool has unlocked check-then-set race on pool creation
- [mcp_lazy] MEDIUM: pre_tool_call gives no guidance for unpromoted server-stub calls
- [mcp_lazy] chore: undeclared pre_tool_call hook, nonexistent 'mcp_load_tools' name in docs, missing tests
- [a2a_fleet] CRITICAL: server never auto-starts — register() runs outside an event loop
- [a2a_fleet] CRITICAL: auth_required defaults to false on a cross-machine surface
- [a2a_fleet] HIGH: remove invented disable() hook — loader never calls it, port leaks on reload
- [a2a_fleet] HIGH: plugin.yaml missing kind / provides_tools / requires_env (token env undeclared)
- [a2a_fleet] MEDIUM: tighten wide-open CORS, anonymous /health peer leak, and peer-URL SSRF
- [a2a_fleet] MEDIUM: relocate tests to tests/plugins/ and cover sync-register + auth-default paths
- xai-oauth auxiliary client incorrectly uses Responses API (CodexAuxiliaryClient), causing 403 on compression/vision/web_extract
- [Bug]: Direct Copilot gpt-5.5 large resumes are killed by 12s Codex TTFB watchdog
- [Bug]: `hermes uninstall` does not work on Windows
- TUI: Thinking block leaks raw JSON and Σ character
- Hostinger VPS: migration Hermes Agent → Hermes WebUI impossible (tini + UID mismatch + sessions)
- /goal judge over-continues exploratory goals unless the assistant explicitly says the goal is complete
- /goal auto-continuation can be amplified by preflight compression/session split and resurrect stale task state
- Dashboard infinite reload loop in loopback mode — GET /api/auth/me returns 401 on every page load
- [Bug]: Provider/LLM switch leaves stale encrypted_content causing 400 errors on Telegram sessions
- [Bug]: Infinite reload loop / React state loop on Sessions tab (Firefox + Chrome) — repeated 401 on /api/auth/me (v0.15.0)
- show_reasoning should work independently of streaming in CLI mode
- Feature Request: Strip reasoning/<think> blocks from TTS preprocessing
- mcp add / mcp test raise NameError when mcp package not installed
- v0.14.0 dashboard breaks behind reverse proxies — two regressions
- Skills hub creates empty category directories when no skills installed
- [Bug]: Custom endpoint: ChatCompletions returns content, but Hermes treats response as empty (v0.14.0)
- fix: atomic_replace() fails with EXDEV when HERMES_HOME is a cross-filesystem symlink
- fix(gateway): Feishu session cancellation orphans session guard, permanently blocking messages
- Custom endpoint pricing can overestimate Crof qwen3.5-9b cost by 1,000,000x
- MCP OAuth callback: module-level port global causes port collisions and structural weaknesses vs upstream
- Bug: send_message tool bypasses validate_media_delivery_path security check
- Proposal: Add Mnemosyne to official memory provider documentation
- feat(swarm): support custom verifier/synthesizer body + skills
- Template conversion failed
- Error occurred in the operation of the agent node in the workflow.
- PubSub client overrides Sentinel client when REDIS_USE_SENTINEL is enabled
- Frontend description of the Retrieval node output does not match the actual output
- JSON type input var raise Intenal server error
- cannot extract elements from a scalar
- 负载均衡 为模型配置多组凭据,并自动调用,此功能无法选择
- add models is error
- panic: could not create filter
- Persist partially generated messages when /chat-messages/:task_id/stop is called
- MCP server connection fails with 403 — request never leaves Dify (SSRF proxy suspected)
- Support durable async execution backends for long-running workflow steps
- [Xiaomi MiMo] Credentials validation fails with 400 "Not supported model mimo-v2-flash" when using Token Plan endpoint (v0.0.7)
- After clicking preview on a parent-child segmented knowledge base, it shows 0 chunks
- Retrieval score differs between UI upload (.docx) and API upload (.txt) despite identical chunk content and embedding model
- gemini cli crash again
- Xbox gift card code damage
- Damage caused by the gemini cli crash
- ioctl(2) failed, EBADF (Bad File Descriptor)
- Feat: Support Bun as an alternative runtime/package manager for updates and extensions
- fatal error again!!!!
- ioctl error
- Critical Crash: ioctl(2) failed, EBADF in ShellExecutionService.resizePty
- ioctl(2) failed, EBADF
- v0.44.0 Regression: Critical crash with ioctl(2) failed, EBADF during PTY resize
- Crash on startup: ioctl(2) failed, EBADF in UnixTerminal.resize
- Crash: `ioctl(2) failed, EBADF` in `node-pty` during PTY resize on macOS
- Gemini CLI crashes with `ioctl(2) failed, EBADF` in `node-pty` during `resizePty`
- Remote Role
- ERROR ioctl(2) failed, EBADF /home/mich
- RangeError: Maximum call stack size exceeded
- EBADF Error during folder creationg broke session and terminal glitches
- MAIP / Gargoub Project - Mediterania - North Coast
- Gemini cli crash again in this morning
- ERROR ioctl(2) failed, EBADF
- Verified node install fails — Checksum verification failed (Cloud)
- The extended debugging key did not arrive during registration.
- CollaborationPane unmounts collaboration store on single-user instances, causing permanent "No network connection" state
- Workflow cannot be saved when the name contains "->" (Potentially malicious string)
- automation does not work and does not show an error
- Raj Ai Automation
- Default Data Loader: DOMMatrix is not defined error
- Feature: Per-node execution timestamp overlay on canvas during workflow run
- AI Agent + Vertex `gemini-3.5-flash`: 400 "missing thought_signature" on sequential multi-turn tool calls (post-#24982)
- PDF Loader in Pinecone Vector Store fails due to pdf-parse version conflict (v2 not supported)
- emailReadImap: add UID deduplication, batch size cap, and numeric uid enforcement
- Manual node execution fails with "Could not find a node" when autosave is disabled (N8N_WORKFLOWS_AUTOSAVE_DISABLED)
- Schedule Trigger stopped firing — workflow Published & active, manual executions succeed, no automated fires for 2+ hours
- [MCP SDK] create_workflow_from_code intermittently returns HTTP 500, often as a false negative (workflow persists anyway, causing duplicates on retry)
- Credential-load wedge: workflows using googleApi/jwtAuth credentials silently fail to execute after key rotation
- Google Sheets Trigger every minute is not working manual Execute is working sent email
- [BUG] Plugin marketplace MCP connector remains stuck "still connecting" when mcp-remote requires OAuth
- [redacted at user request]
- Opus 4.7 behavioral regression: loaded instruction-following discipline degraded in recent Claude Code/Cowork updates
- [BUG] Tailscale via Homebrew CLI + Mac App Store GUI, both Macs on macOS, Cowork blocked by VPN detector despite Tailscale being a mesh VPN with no traffic interception
- stopShellPty on tab switch kills active sessions (exit 143) — regression in May 27 build
- [BUG] Long URLs are broken into multiple lines and become unclickable in terminal output
- [BUG] claude rm/stop/reap SIGKILLs background session tree without SIGTERM grace, orphaning git index.lock and similar
- [BUG] Default git workflow in the system prompt was pushed without context or consent
- [MODEL] Inconsistent output quality / Ignoring instructions (overfitting and inappropriate repetition of Korean vocabulary)
- You've hit your weekly limit · resets May 31 at 5pm (Asia/Shanghai)
- Paid yearly subscription silently downgraded to Free with no user action
- [Regression v2.1.153] Plugin bash hooks fail with "echo: write error: Permission denied" on Windows (claude-mem, shell: "bash")
- [BUG] Connector toggles in conversation are not clickable — must click text label instead
- [remote-control] Input from mobile app/browser not reaching host session — output works fine
- Model fails to read/reference CLAUDE.md contents despite being loaded in context
- [BUG] Claude Desktop reinstall destroys Code chat history (transcripts + Recents) while regular Chat history, project files, and memory all survive
- Bypass mode clamps to Accept Edits even with the toggle ON (Claude Code Desktop 1.9255.2 / CC 2.1.149)
- [BUG] TUI input freezes randomly mid-typing — entire prompt becomes unresponsive for minutes
- [BUG] Cowork downloads Linux ELF binary instead of macOS binary on macOS Sonoma 14.8.7 — exit code 132 (SIGILL) on every session
- [Feature Request] Persistent project memory — sessions forget everything on close, forcing users to keep many sessions open
- [Bug] Thread context stale after sleep/resume, returns outdated date and calendar data
- [FEATURE] Add context window usage indicator and warning before auto-compaction
- [BUG] Dictation error: Invalid character in header content ["x-config-keyterms"] on Windows
- [Bug] Anthropic API Error: Server rate limiting despite normal usage
- Does delegating work to `claude -p` subprocesses reduce context accumulation in the parent session?
- [BUG] Claude Code hangs on M1 Mac when terminal says "opening browser to sign in" and browser opens
- [BUG] Claude_Preview MCP preview_start spawns dev server with main-repo cwd instead of session's worktree cwd
- [Bug] Anthropic API Error: Server rate limiting during request execution
- [Bug] Anthropic API Error: Server rate limiting on concurrent requests
- [Bug] Ultraplan ready notification fires before cloud agent completes execution
- [BUG] API 500 ERROR ALL THROUGHOUT THE DAY
- [BUG] Cowork: Live Artifacts folder path changed in 1.9255.2, no automatic migration from Documents\Claude\Artifacts
- [Bug] Auto-compact never triggers despite statusline reporting "100% context used" (v2.1.153, Max sub, 200K mode)
- [BUG] [Desktop / macOS] 'Open in → New Window' detached session: font renders smaller than main, no per-window controls, Cmd+/Cmd- keystrokes routed to main window instead
- Feature request: option to switch between classic and new minimal UI
- [Feature Request] Show timestamps for each message
- [BUG] Terminal corruption when permission prompt appears while navigating Agent Teams agent selection menu
- [FEATURE] Allow users to customize the background color of the Claude desktop app beyond the current light/dark theme presets.
- [BUG] Statusline not displaying on Windows [fixed]
- Background agent UI Stop button is a no-op for stuck agents — process keeps consuming tokens
- Background agents silently die on session pause/resume — no completion notification, no work recovery
- Add option to hide email address from welcome banner
- [BUG] SSH Remote: `projects` field in remote ~/.claude.json becomes null after desktop restart — jsonl files intact, UI shows 'No messages yet' for every session
- [Bug] Claude Code not applying fixes despite claiming to complete tasks
- billing is unfair and poorly documented
- [BUG] Claude Code on the web: declared plugins inactive on first session, require restart to fully load
- [BUG] Restore from archive deleted sessions instead of restoring them
- [BUG] M365 connector fails with AADSTS50011 in Cowork — localhost vs 127.0.0.1 redirect URI mismatch
- claude agents: workflow slash-commands missing from dispatch-input completion (regression-adjacent to #61424)
- Claude Desktop's Info.plist missing TCC usage strings, blocks all EventKit-based MCP servers
- False-positive safety blocks on self-administered governance amendments — request for owner-authority mode for verified professional users
- [BUG] Stop pushing "AUTO"-mode
- [DOCS] Plugin marketplace guide omits `skipLfs` option for git-based sources
- [DOCS] MCP docs omit combined startup notification for MCP server and connector authentication
- [DOCS] Agent view docs omit macOS Privacy & Security identity for background agents
- [DOCS] Npm update docs do not explain release-channel behavior for `claude update`
- [DOCS] Agent SDK docs omit `subagent_type: "claude"` worktree and output persistence behavior
- [DOCS] Background session docs omit `$CLAUDE_JOB_DIR` temp-file behavior
- [FR] mask env-var values in 'claude mcp get <server>' output
- [FR] subagent worktrees should not inherit stale local 'user.email' from prior dispatches
- [BUG] Windows: Grep tool leaks rg.exe + conhost.exe processes (~2000 zombies / 14 GB RAM in long sessions)
- [BUG] Stats dashboard "Peak hour" appears off by one hour
- [BUG] Diff highlight (teal SGR background) bleeds past changed text in 2.1.150–2.1.153
- [FEATURE] confirm before deleting session
- Plugin PostToolUse hooks still silently skip in Claude Desktop / Cowork (re-filing closed #51904)
- /code-review skill: silent fallback to main...HEAD reviews other people's commits, and JSON-only output is hard to read
- Monitor tool doesn't source the shell snapshot like Bash does; PATH-dependent tools (jq, sleep, etc.) fail in Monitor commands on macOS/Nix
- [Bug] Long input lines truncated with ellipsis while typing instead of wrapping in terminal UI
- [FEATURE] VS Code extension: Render submitted user messages as Markdown in chat
- OSC 52 copy from Claude TUI doesn't reach clipboard inside tmux (regression in 2.1.146–2.1.153)
- [BUG] RemoteTrigger create/update returns HTTP 400 with circular error: "event_type is required" / "unknown field event_type"
- [BUG] Option to hide or minimize the built-in "status footer" (multi-line debug/cost panel) [re-raise of #31475]
- [Bug] Feedback submissions being closed without review or action
- [FEATURE] Word-jump cursor navigation in Chat input (option+arrow / bindable actions)
- [FEATURE] ! shell mode: filesystem tab completion
- [BUG] API Error: Usage credits required for 1M context
- claude agents: OSC 52 clipboard emission broken in tmux (regression in 2.1.146–2.1.153)
- CLI crashes on macOS 15 M3 - exit code 1
- [FEATURE] Support Cmd+V image paste from clipboard
- [FEATURE] Enhance claude.ai M365 connector to support MS Planner
- [BUG] Slash command autocomplete hijacks pasted absolute file paths starting with /
- PreToolUse hook `if` filter false-positives on complex Bash commands
- [BUG] Diff panel hangs/whites out
- Feature Request: Support drag-and-drop for binary documents (.wps, .doc, .docx, .xlsx, .pdf) in VS Code extension
- [BUG] activation of 1M context in VSCode
- [FEATURE] Support i18n / language localization for built-in slash command outputs
- Ctrl+V para colar imagens deixou de funcionar no CLI (Windows, PowerShell)
- [FEATURE] Please add Norwegian (Bokmål/Nynorsk) language support to the Claude Code interface
- [BUG] OTel log events (claude_code.user_prompt, api_request_body, tool_decision, hook_execution_complete) emitted with empty trace_id/span_id while sibling spans correlate correctly
- [BUG] Cowork crashes on every message, no VM logs generated, missing AppData\Roaming\Claude
- [FEATURE] first-class session handoff + per-session token budgets for unattended runs
- [FEATURE] Smart paste: convert clipboard code to file reference chips (like Cursor)
- [Feature Request] Restore chat pin functionality to title chat submenu
- [BUG] SIGILL issues with version 2.1.153
- [BUG] Cowork plugin upload fails with generic "Plugin validation failed" when a `description` field in any SKILL.md frontmatter contains angle brackets (`<…>`)
- [BUG] Desktop App 2.1.144+: startup scanner deletes cliSessionId from claude-code-sessions local files on every launch — session not found on disk
- [Feature Request] Add keyboard shortcut to copy last message with proper formatting
- [MODEL] Opus 4.7 not 1M
- Allow naming/renaming background agents in `claude agents` view
- Stale worktrees in .claude/worktrees/ are never cleaned up, consuming massive disk space
- Agent worktrees are never cleaned up, silently consuming disk space
- Subagent worktrees not auto-cleaned when reviewer writes scratch files
- [Bug] Skill initialization hangs for extended duration in Plan Mode
- Claude Desktop writes malformed registry Run entry (nested escaped quotes) - crashes Windows Task Manager and other Run-key parsers
- IME candidate window shows at bottom-right corner instead of caret position (Windows CMD)
- [BUG] Pressing 'Escape' doesn't close the /BTW conversation when the main conversation is asking for approval
- [BUG] Opus 4.7 (1M) intermittently emits empty-string values for tool_use.input fields, killing the session
- FleetView agent UI shows "running" with incrementing elapsed time after agent has returned
- /doctor flags context-scoped cmd+c binding as macOS conflict (false positive)
- [BUG] Text Rendering in Elvish
- Desktop app: Bypass Permissions mode flips to Accept Edits on first prompt (M5 / macOS 26.5)
- [Workaround] Date-Weekday Verification Hook — Prevents Claude from writing wrong weekdays
- [BUG] Claude Code create c:/memfs directory without asking me.
- [BUG] Claude Code's Bash execution waits forever with no processes running
- [BUG] usage stays stuck waiting for 5 hr limit after upgrading to premium seat in team plan
- [Workflow tool] resume cache is unreachable for nontrivial workflows because LLM dispatchers can't transcribe args byte-exactly
- Code review (Preview): "Add a repository" shows no results for private GitHub org repos
- [BUG] /context commands blows up context
- [Feature Request] Add precache expiry hook to enable proactive compaction before token eviction
- [BUG] Context indicator shows 0% at session start despite ~20K+ tokens already loaded
- [Feature Request] Add semantic search for --resume session history
- [Feature Request] Add session search, tagging, and filtering capabilities
- [BUG] Cowork Dispatch reports "desktop not available" on Windows 11 while standard Cowork works normally
- [Bug] Claude Code provides incorrect suggestions with high confidence despite errors
- defaultMode: acceptEdits silently overrides per-path permissions.ask rules for Write/Edit
- [FEATUR configurable tip interval (e.g. tipIntervalSeconds: 30 in settings)E]
- Plugin marketplace fails to load: schema rejects 'displayName' key (v2.1.153)
- claude agents: in-session copy uses broken OSC 52 path while overview correctly uses tmux buffer
- [BUG] Plugin agent descriptions (and custom agents) load unconditionally into context — no parity with disable-model-invocation for skills
- Crashed ultrareview consumed a free credit despite producing zero findings
- [Bug] Character rendering issue - invisible or missing text display
- [BUG] Cowork: processo Claude Code encerra com código 3 — .claude.json não contém token de autenticação (Windows 11 25H2)
- [BUG] 2.1.153 silently discards tools/list response from rmcp 0.12.0 HTTP MCP server (works in 2.1.152, wire-identical handshake)
- VS Code extension: option to auto-resume last session when reopening a workspace folder
- [Bug] Conversation continuation failure
- [BUG] Cowork crashes every time I start a new chat or attempt to continue an existing one in any project. The error displayed is: "Claude Code è andato in crash
- [Bug] Unannounced quota changes
- Native update/install fails with 'socket connection was closed unexpectedly' behind proxy — undici TLS incompatibility
- [BUG] Session name reverting after manual change
- [BUG] 非正常思考,上下文过长时,一直显示思考,点击interrupt按钮失效
- Honor `tools:` frontmatter when an agent is invoked via `@mention` — strip `Task` only when the agent did not declare it
- macOS TCC popup still recurring on v2.1.153 — "2.1.153" would like to access data from other apps
- Claude Code leaks pty handles — exhausts pseudo-terminals on macOS after long session
- [Bug] Agent fails to execute or respond to user input
- [BUG] Persistent "Expecting value: line 1 column 1 (char 0)" JSON parse error after tool execution
- [Feature Request] Implement proactive unit test coverage recommendations for recurring bugs
- VS Code panel lacks status line + terminal lacks image paste in Codespaces, forcing a tradeoff
- `/powerup` only shows ~10 lessons — allow viewing the full catalog
- [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin
- [Bug] VSCode terminal output displays corrupted text with garbled symbols
- [Feature Request] Add LaTeX/KaTeX math rendering to TUI
- [Bug] Sub-agent PR review results not validated by orchestrating agent
- Subagents on Pro 1M tier: trivial probes pass, real workloads fail at first tool call (probe-vs-workload divergence)
- Path-scoped rules and subdirectory CLAUDE.md not loaded when creating new files matching the pattern
- AskUserQuestion: cancelling during extended thinking poisons the whole session with 400 'thinking blocks cannot be modified' (2.1.153); concurrent prompts overwrite each other
- Ideas Missing from Claude Cowork Menu (Windows)
- [BUG_BOUNTY_SAFE_POC_2026] Prompt Injection RCE Test - Command Execution Proof
- [BUG] Cowork scheduled task: execution history row not showing after successful run
- Resuming an extended-thinking session fails permanently with 400 "thinking blocks cannot be modified" (transcript stores thinking text as empty but keeps signature)
- [Bug] Plugin-registered CwdChanged and FileChanged hooks don't fire (settings.json works) — v2.1.153
- Auto-archive on PR merge / branch delete — clarify autoArchiveSessions semantics or add dedicated opt-out
- `claude mcp add` echoes Authorization header value verbatim to stdout, leaks bearer tokens to terminal and session transcripts
- [BUG] Bug report — /insights skill, Claude Code The /insights skill outputs a malformed file path.
- Plugin slash commands render with '*'-inline format instead of two-column, despite matching official plugin shape
- [Bug] Unexpected long text generation without user input or goal
- [Bug] Thinking blocks causing task progression blocked without user modification
- [BUG] (Critical!) contamination by an unknown session simirlar to the report => [Bug] Context contamination after auto-compact with unrelated email draft of Tejo/Sado Basin #63137
- [Critical] Opus 4.7 Korean output degeneration — Korean grammar itself collapses in long contexts
- [BUG] Title: Autocompact buffer persists across /clear — wastes tokens for irrelevant old context
- [Bug] Auto-Compact loses user input before processing in conversation history
- Feature: per-invocation effort parameter + runtime session-config introspection for skills
- Auto-mode classifier mislabels Azure DevOps vote -5 as "Reject" when denying PR vote actions
- [BUG] Claude Desktop and Claude Code CLI never re-register MCP tools after OAuth 2.1 handshake on a remote HTTP server
- [BUG] Workspace file tags leak across sessions
- [BUG] Ink renderer crashes on Windows 11 build 26200 (Canary) duplicate banners, terminal mode leaks, mid-operation aborts
- [BUG] Claude Code Desktop issue
- PTY master fd leak in Claude desktop app exhausts macOS kern.tty.ptmx_max after ~2-3 days
- [BUG] Claude Code — Session Management after Unexpected Interruption
- [Windows] Cowork OpenTelemetry exporter does not initialize - zero events emitted to any destination, including loopback
- [Bug] Opus 4.7: 400 `thinking blocks ... cannot be modified` on long extended-thinking sessions, triggered by history-altering events (scheduled prompts / parallel tool-call cancellation)
- [BUG] API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited
- Multi-plugin custom marketplace: only first plugin registered in installed_plugins.json, skills don't load
- [BUG] Git push through the SDK's git proxy fan-outs into ~500 GitHub REST API calls, exhausting the 5,000/hour budget after a handful of pushes
- [BUG] Claude took liberties it really shouldn't with my global config
- [BUG] Agent window focus lost after navigating with arrow keys, causing scroll deadlock
- [BUG] `--model` flag silently ignored in interactive sessions (works in `--print` only)
- [BUG] Dispatch permanently shows "desktop appears offline" on Windows 11 - never worked on first use
- feat: support per-command enableWeakerNetworkIsolation as safer alternative to dangerouslyDisableSandbox
- /code-review outputs a raw JSON array instead of readable findings
- [BUG] Cowork — Additional allowed domains ignored on Team plan; same domain works on Pro plan
- Haiku
- [Bug] False positive blocking beneficial outcomes in tool execution
- 3P Bedrock SSO: credentials silently expire without triggering re-auth on day 2+
- CLAUDE_AUTOCOMPACT_PCT_OVERRIDE in settings.json env block silently ignored by autocompact logic
- Auto-compaction deletes main session JSONL before verifying summary completion, causing data loss
- [Bug] Claude Code not executing stated actions or producing expected results
- [FEATURE] Deferred Messages — Queue Input for End of Turn
- [BUG] Up/Down arrows in input box navigate history instead of moving cursor — regression in 2.1.149+
- Cancelling a parallel tool-call batch corrupts thinking blocks -> 400 "thinking blocks cannot be modified" permanently wedges the session
- Claude Code caused data loss, then contradicted itself about recovery (two incidents, one session)
- [Bug] Unclear error messages from Claude Code CLI
- [Bug] Agent tool rejecting due to context size limit exceeded
- claude agents: daemon and bg-spare processes spin at ~100% CPU when idle
- [BUG] Compaction fails with "context window limit" error even when context usage is low (e.g., 20%) — regression in v2.1.153
- Remote Control entitlement lost after May 27-28 incident — `Error: Remote Control is not yet enabled for your account` on active Max subscription
- PreToolUse hook exit code 2 does not block Write tool
- [Bug] Thinking blocks in latest assistant message are immutable
- GUI: dispatch file:// and custom-scheme clicks to OS shell handler
- Show current model in statusLine by default
- [Bug] Agent console becomes unresponsive to keyboard input after multiple agents initialized
- [FEATURE] PreToolUse hooks should have a way of updating the environment
- [Bug] Unable to start or use Claude Code CLI
- [BUG] Repository not visible in Claude Code web repo picker
- Session permanently wedged on 400 "thinking blocks cannot be modified" after parallel tool_results
- [Bug] @ autocomplete loses sibling repos after a file edit in multi-repo workspace
- Unclear error message when creating sub-agent without authentication
- [Bug] Anthropic API errors causing frequent failures and high token usage
- [BUG] @ mention file picker only shows packages, not individual files (desktop app - Code tab)
- [Bug] TUI panel footer remains sticky and consumes excessive terminal space
- PR-status polling exhausts GitHub GraphQL rate limit on repos with many open PRs
- [BUG] Windows: welcome panel not shown in some project folders (2.1.153)
- [Bug] Anthropic API Error: thinking blocks corrupted during context compaction with extended thinking enabled
- API 400 "thinking blocks cannot be modified" permanently bricks session during agent activation (interleaved thinking + tool use)
- Right-click Copy copies the whole message instead of the selection; pasted text retains dark background
- Mid-session model switch corrupts conversation when extended thinking is enabled (API 400: 'thinking blocks cannot be modified')
- [BUG] Markdown file links in chat output do not open files when clicked (VS Code extension)
- Stuck retry loop: `400 thinking blocks cannot be modified` on large interleaved-thinking turns using AskUserQuestion
- [FEATURE] Prompt user for approval before auto-compaction proceeds
- Custom MCP connectors not attachable to scheduled routines — no UUID discovery path
- [BUG] Claude in Chrome — Navigation blocked for teams.cloud.microsoft and outlook.cloud.microsoft after Microsoft domain migration**
- [BUG] Claude Desktop — Personal plugins panel renders list but is entirely non-interactive (macOS, v1.9255.2)
- [Bug] error when using Workflows
- [BUG] Persistent "update available" notification despite being on latest version
- [BUG] Sweep Agent from /code-review never completes
- [Bug] Tool calls not executing or returning results
- [FEATURE] Cloud-synced memory and settings across machines
- [Bug] Terminal UI freezes when Ctrl+O view exits during interactive prompt in plan mode
- Continuous api errors when using claude code with Opus 4.7 with thinking on low
- [Feature Request] Add support for installing and using previous Claude Code versions
- [Bug] Extended Thinking: Summarized thinking blocks fail signature validation when resent to API
- [Bug] Anthropic API Error: 'thinking' blocks cannot be modified
- [Bug] Anthropic API Error: Thinking blocks cannot be modified with extended thinking mode
- Feature request: Lazy/on-demand MCP server connections
- [Bug] Tool Arguments Parsed as String Instead of Object
- [Bug] Anthropic API Error: Insufficient context provided
- [Bug] Claude Opus occasionally uses moskovian(russian) orthography instead of Ukrainian in system-prompted responses
- Opus 4.8: backgrounded task completions (subagents AND Bash) crash with 400 "thinking blocks cannot be modified"
- [Bug] Opus 4.7 fabricates stable preferences ("my default") to rationalize arbitrary choices when challenged
- [Bug] Unable to update Claude Code CLI
- [BUG] Desktop app: /remote-control mints link + connects bridge (main.log) but in-chat link/QR panel never renders
- Feature: sessionColor and sessionName in .claude/settings.json
- [BUG] Anthropic API error: thinking blocks
- [FEATURE] Support Remote MCPs in Cowork as in Claude Code
- [Bug] Anthropic API Error: 400 Bad Request with Redacted Thinking - 0 4.7 & 4.8
- [Bug] Anthropic API Error: Cannot modify thinking blocks from different model versions
- Interleaved thinking + multi-tool turn corrupts thinking block (text blanked, signature kept) → permanent 400 'blocks must remain as they were'
- [BUG] Mode/permission changes mid-tool-loop (effortLevel: xhigh) poisons entire session
- Session failure log: Opus 4.6 ignores its own rules for an entire session
- [BUG] "400 Guardrail was enabled" error when using Claude Opus 4.8 with AWS Bedrock
- [Feature Request] Add subagent approach selection option to avoid accidental feedback
- Persistent 400 'thinking blocks in the latest assistant message cannot be modified' — interleaved thinking persisted with empty text + signature bricks sessions
- [BUG] DesktopvsApp
- [BUG] Opus 4.7 cache hit rate collapse after May 27 incident — Messages 1.1k→88.9k in 9 minutes, $630/session
- [Bug] Anthropic API Error: Invalid thinking block format
- [BUG] FUCK CLAUDE
- Opus 4.8 extended thinking: Stop hook block re-entry corrupts thinking blocks → 400
- [Bug] 4.8 Fails when accessing previous model history
- [Bug] Unintended File Modifications During Execution
- [DOCS] Model configuration docs omit lean system prompt default scope and model exceptions
- Add "Always allow globally" option to permission prompts
- Server-side model upgrade (Opus 4.7→4.8) wedges in-flight sessions with `thinking blocks cannot be modified` 400
- [DOCS] AskUserQuestion docs missing multiple-choice prompt decision threshold
- [DOCS] Agent view docs omit shell-command background session launch syntax
- [DOCS] Agent view dispatch input docs incorrectly imply `/logout` dispatches as a prompt
- [DOCS] Claude in Chrome docs omit connected-browser selection behavior
- [DOCS] Plugin docs omit `defaultEnabled: false` for opt-in plugins
- Feature Request: Customizable chat text colors for user and assistant messages
- [DOCS] `/plugin` Discover tab docs omit directory-based suggested plugin pins
- VSCode Chrome integration silently fails: 3 distinct bugs
- [DOCS] MCP stdio docs omit session environment variables
- [Bug] Anthropic API error on second request within session with Claude Opus 4.8
- Cowork emits a blank session "index" handoff on focus when a CLI session is paused awaiting input
- [DOCS] MCP docs omit `claude mcp list/get` pending-approval output for unapproved project servers
- [BUG] /compact fails with 400 error when last assistant turn contains thinking blocks
- [DOCS] `/claude-api` docs omit Opus 4.8 migration guidance
- [DOCS] Fast mode docs still recommend deprecated Opus 4.6 override variable
- [DOCS] Bash tool docs omit `$TMPDIR` consistency across sandboxed and unsandboxed commands
- [Bug] Anthropic API Error: 400 Bad Request on Extended Thinking
- [DOCS] Background session docs omit worktree-isolation behavior for spawned subagents
- Built-in mechanistic self-verification of verifiable claims (symmetric to the auto permission gate)
- [DOCS] Worktree docs do not clarify `worktree.baseRef: "head"` inside linked worktrees
- [BUG] Excessive RAM usage with multiple parallel chats (~10 sessions → 30 GB memory pressure, macOS OOM)
- [DOCS] Managed MCP policy docs omit invalid `allowedMcpServers`/`deniedMcpServers` entry behavior
- [DOCS] Effort docs omit `CLAUDE_CODE_ALWAYS_ENABLE_EFFORT` unsupported-model behavior
- Regression (2.1.147–2.1.150?): resuming an extended-thinking session after a CC update/model-switch → unrecoverable 400, session bricked
- [DOCS] Windows updater docs omit `claude.exe` in-use recovery guidance
- [DOCS] VS Code auto mode docs still tie mode-picker visibility to bypass-permissions setting
- [DOCS] MCP docs omit `/mcp` tool list and detail rendering behavior
- [DOCS] Fine-grained tool streaming docs still describe provider opt-in behavior
- bypassPermissions: session startup reads flat pref, GUI toggle writes per-account pref — they never sync
- [BUG] Claude Desktop Code tab causes disk write limit violation — 8.5GB in 11 min, macOS kills app (M5, v1.9659.1)
- Ultrareview v2.1.96: docs describe /tasks command + claude ultrareview --json subcommand that don't exist; findings hard to read after completion
- I'd be happy to help create a GitHub issue title, but I don't see the error message in your message. Could you please share the specific error you're encountering? That way I can generate an accurate and descriptive issue title for you.
- [BUG] Claude in Chrome `file_upload` rejects all scheduled-task sessions with misleading error (real cause: INVALID_SESSION)
- Extended thinking: signed thinking block 'cannot be modified' (400) permanently wedges session
- RTL text support for Hebrew (and Arabic) in Claude Code
- [Bug] Random errors occurring across multiple operations