hermes - 💡(How to fix) Fix [i18n] Thai Translation: Features Part 1a - Overview, ACP, API Server, Batch, Browser [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
หน้าเว็บจะถูกแทนด้วย accessibility trees (ภาพรวมแบบ text-based) ทำให้เหมาะอย่างยิ่งสำหรับ LLM agents องค์ประกอบแบบโต้ตอบจะได้รับ ref IDs (เช่น @e1, @e2) ซึ่ง agent ใช้สำหรับการคลิกและพิมพ์
ความสามารถหลัก:
- Multi-provider cloud execution - Browserbase, Browser Use, หรือ Firecrawl - ไม่จำเป็นต้องมี local browser
- Local Chrome integration - เชื่อมต่อกับ Chrome ที่กำลังทำงานอยู่ของคุณผ่าน CDP สำหรับการท่องเว็บแบบ hands-on
- Built-in stealth - random fingerprints, CAPTCHA solving, residential proxies (Browserbase)
- Session isolation - แต่ละ task จะได้รับ browser session ของตัวเอง
- Automatic cleanup - session ที่ไม่ใช้งานจะถูกปิดหลังจากหมดเวลา
- Vision analysis - screenshot + AI analysis สำหรับความเข้าใจเชิงภาพ
Error Message
{"prompt": "Write a Python function that finds the longest palindromic substring"} {"prompt": "Create a REST API endpoint for user authentication using Flask"} {"prompt": "Debug this error: TypeError: cannot unpack non-iterable NoneType object"}
Root Cause
หน้าเว็บจะถูกแทนด้วย accessibility trees (ภาพรวมแบบ text-based) ทำให้เหมาะอย่างยิ่งสำหรับ LLM agents องค์ประกอบแบบโต้ตอบจะได้รับ ref IDs (เช่น @e1, @e2) ซึ่ง agent ใช้สำหรับการคลิกและพิมพ์
ความสามารถหลัก:
- Multi-provider cloud execution - Browserbase, Browser Use, หรือ Firecrawl - ไม่จำเป็นต้องมี local browser
- Local Chrome integration - เชื่อมต่อกับ Chrome ที่กำลังทำงานอยู่ของคุณผ่าน CDP สำหรับการท่องเว็บแบบ hands-on
- Built-in stealth - random fingerprints, CAPTCHA solving, residential proxies (Browserbase)
- Session isolation - แต่ละ task จะได้รับ browser session ของตัวเอง
- Automatic cleanup - session ที่ไม่ใช้งานจะถูกปิดหลังจากหมดเวลา
- Vision analysis - screenshot + AI analysis สำหรับความเข้าใจเชิงภาพ
Fix Action
Fix / Workaround
- file tools:
read_file,write_file,patch,search_files - terminal tools:
terminal,process - web/browser tools
- memory, todo, session search
- skills
- execute_code and delegate_task
- vision
PATCH /api/jobs/{job_id}
PATCH /api/jobs/{job_id}
Code Example
pip install -e '.[acp]'
---
hermes acp
---
hermes-acp
---
python -m acp_adapter
---
{
"acpClient.agents": [
{
"name": "hermes-agent",
"registryDir": "/path/to/hermes-agent/acp_registry"
}
]
}
---
{
"agent_servers": {
"hermes-agent": {
"type": "custom",
"command": "hermes",
"args": ["acp"],
},
},
}
---
/path/to/hermes-agent/acp_registry
---
acp_registry/agent.json
---
hermes acp
---
hermes doctor
hermes status
hermes acp
---
hermes model
---
API_SERVER_ENABLED=true
API_SERVER_KEY=change-me-local-dev
# Optional: only if a browser must call Hermes directly
# API_SERVER_CORS_ORIGINS=http://localhost:3000
---
hermes gateway
---
[API Server] API server listening on http://127.0.0.1:8642
---
# Test with curl
curl http://localhost:8642/v1/chat/completions \
-H "Authorization: Bearer change-me-local-dev" \
-H "Content-Type: application/json" \
-d '{"model": "hermes-agent", "messages": [{"role": "user", "content": "Hello!"}]}'
---
{
"model": "hermes-agent",
"messages": [
{"role": "system", "content": "You are a Python expert."},
{"role": "user", "content": "Write a fibonacci function"}
],
"stream": false
}
---
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1710000000,
"model": "hermes-agent",
"choices": [{
"index": 0,
"message": {"role": "assistant", "content": "Here's a fibonacci function..."},
"finish_reason": "stop"
}],
"usage": {"prompt_tokens": 50, "completion_tokens": 200, "total_tokens": 250}
}
---
{
"model": "hermes-agent",
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "What is in this image?"},
{"type": "image_url", "image_url": {"url": "https://example.com/cat.png", "detail": "high"}}
]
}
]
}
---
{
"model": "hermes-agent",
"input": "What files are in my project?",
"instructions": "You are a helpful coding assistant.",
"store": true
}
---
{
"id": "resp_abc123",
"object": "response",
"status": "completed",
"model": "hermes-agent",
"output": [
{"type": "function_call", "name": "terminal", "arguments": "{\"command\": \"ls\"}", "call_id": "call_1"},
{"type": "function_call_output", "call_id": "call_1", "output": "README.md src/ tests/"},
{"type": "message", "role": "assistant", "content": [{"type": "output_text", "text": "Your project has..."}]}
],
"usage": {"input_tokens": 50, "output_tokens": 200, "total_tokens": 250}
}
---
{
"model": "hermes-agent",
"input": [
{
"role": "user",
"content": [
{"type": "input_text", "text": "Describe this screenshot."},
{"type": "input_image", "image_url": "data:image/png;base64,iVBORw0K..."}
]
}
]
}
---
{
"input": "Now show me the README",
"previous_response_id": "resp_abc123"
}
---
{"input": "Hello", "conversation": "my-project"}
{"input": "What's in src/?", "conversation": "my-project"}
{"input": "Run the tests", "conversation": "my-project"}
---
Authorization: Bearer ***
---
# Not yet supported — use environment variables.
# config.yaml support coming in a future release.
---
API_SERVER_CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
---
# Create a profile per user
hermes profile create alice
hermes profile create bob
# Configure each profile's API server on a different port
hermes -p alice config set API_SERVER_ENABLED true
hermes -p alice config set API_SERVER_PORT 8643
hermes -p alice config set API_SERVER_KEY alice-secret
hermes -p bob config set API_SERVER_ENABLED true
hermes -p bob config set API_SERVER_PORT 8644
hermes -p bob config set API_SERVER_KEY bob-secret
# Start each profile's gateway
hermes -p alice gateway &
hermes -p bob gateway &
---
Authorization: Bearer ***
---
# Not yet supported — use environment variables.
# config.yaml support coming in a future release.
---
API_SERVER_CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
---
# Create a profile per user
hermes profile create alice
hermes profile create bob
# Configure each profile's API server on a different port
hermes -p alice config set API_SERVER_ENABLED true
hermes -p alice config set API_SERVER_PORT 8643
hermes -p alice config set API_SERVER_KEY alice-secret
hermes -p bob config set API_SERVER_ENABLED true
hermes -p bob config set API_SERVER_PORT 8644
hermes -p bob config set API_SERVER_KEY bob-secret
# Start each profile's gateway
hermes -p alice gateway &
hermes -p bob gateway &
---
# Basic batch run
python batch_runner.py \
--dataset_file=data/prompts.jsonl \
--batch_size=10 \
--run_name=my_first_run \
--model=anthropic/claude-sonnet-4.6 \
--num_workers=4
# Resume an interrupted run
python batch_runner.py \
--dataset_file=data/prompts.jsonl \
--batch_size=10 \
--run_name=my_first_run \
--resume
# List available toolset distributions
python batch_runner.py --list_distributions
---
{"prompt": "Write a Python function that finds the longest palindromic substring"}
{"prompt": "Create a REST API endpoint for user authentication using Flask"}
{"prompt": "Debug this error: TypeError: cannot unpack non-iterable NoneType object"}
---
data/my_run/
├── trajectories.jsonl # ผลลัพธ์สุดท้ายที่รวมกัน (รวมทุก batch)
├── batch_0.jsonl # ผลลัพธ์ของ batch แต่ละรายการ
├── batch_1.jsonl
├── ...
├── checkpoint.json # Checkpoint สำหรับการ Resume
└── statistics.json # สถิติการใช้ tool แบบรวม
---
{
"prompt_index": 42,
"conversations": [
{"from": "human", "value": "Write a function..."},
{"from": "gpt", "value": "I'll create that function...",
"tool_calls": [...]},
{"from": "tool", "value": "..."},
{"from": "gpt", "value": "Here's the completed function..."}
],
"metadata": {
"batch_num": 2,
"timestamp": "2026-01-15T10:30:00",
"model": "anthropic/claude-sonnet-4.6"
},
"completed": true,
"partial": false,
"api_calls": 3,
"toolsets_used": ["terminal", "file"],
"tool_stats": {
"terminal": {"count": 2, "success": 2, "failure": 0},
"read_file": {"count": 1, "success": 1, "failure": 0}
},
"tool_error_counts": {
"terminal": 0,
"read_file": 0
}
}
---
python batch_runner.py \
--dataset_file=data/coding_prompts.jsonl \
--batch_size=20 \
--run_name=coding_v1 \
--model=anthropic/claude-sonnet-4.6 \
--num_workers=8 \
--distribution=default \
--max_turns=15
---
python batch_runner.py \
--dataset_file=data/eval_suite.jsonl \
--batch_size=10 \
--run_name=eval_gpt4 \
--model=openai/gpt-4o \
--num_workers=4 \
--max_turns=10
---
{"prompt": "Install numpy and compute eigenvalues of a 3x3 matrix", "image": "python:3.11-slim"}
{"prompt": "Compile this Rust program and run it", "image": "rust:1.75"}
{"prompt": "Set up a Node.js Express server", "image": "node:20-alpine", "cwd": "/app"}
---
# Add to ~/.hermes/.env
BROWSERBASE_API_KEY=***
BROWSERBASE_PROJECT_ID=your-project-id-here
---
# Add to ~/.hermes/.env
BROWSER_USE_API_KEY=***
---
# Add to ~/.hermes/.env
FIRECRAWL_API_KEY=fc-***
---
hermes setup tools
# → Browser Automation → Firecrawl
---
# Self-hosted Firecrawl instance (default: https://api.firecrawl.dev)
FIRECRAWL_API_URL=http://localhost:3002
# Session TTL in seconds (default: 300)
FIRECRAWL_BROWSER_TTL=600
---
# Install and run
git clone https://github.com/jo-inc/camofox-browser && cd camofox-browser
npm install && npm start # downloads Camoufox (~300MB) on first run
# Or via Docker
docker run -d --network host -e CAMOFOX_PORT=9377 jo-inc/camofox-browser
---
CAMOFOX_URL=http://localhost:9377
---
browser:
camofox:
managed_persistence: true
---
# ❌ Wrong — Hermes ignores this
managed_persistence: true
---
/browser connect # Connect to Chrome at ws://localhost:9222
/browser connect ws://host:port # Connect to a specific CDP endpoint
/browser status # Check current connection
/browser disconnect # Detach and return to cloud/local mode
---
# Linux
google-chrome \
--remote-debugging-port=9222 \
--user-data-dir=$HOME/.hermes/chrome-debug \
--no-first-run \
--no-default-browser-check &
# macOS
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--remote-debugging-port=9222 \
--user-data-dir="$HOME/.hermes/chrome-debug" \
--no-first-run \
--no-default-browser-check &
---
# Residential proxies for better CAPTCHA solving (default: "true")
BROWSERBASE_PROXIES=true
# Advanced stealth with custom Chromium — requires Scale Plan (default: "false")
BROWSERBASE_ADVANCED_STEALTH=false
# Session reconnection after disconnects — requires paid plan (default: "true")
BROWSERBASE_KEEP_ALIVE=true
# Custom session timeout in milliseconds (default: project default)
# Examples: 600000 (10min), 1800000 (30min)
BROWSERBASE_SESSION_TIMEOUT=600000
# Inactivity timeout before auto-cleanup in seconds (default: 120)
BROWSER_INACTIVITY_TIMEOUT=120
---
npm install -g agent-browser
# Or install locally in the repo:
npm install
---
Navigate to https://github.com/NousResearch
---
Click @e5 to press the "Sign In" button
---
Type "hermes agent" into the search field @e3
---
Scroll down to see more results
---
Press Enter to submit the form
---
What does the chart on this page show?
---
Check the browser console for any JavaScript errors
---
# List tabs (browser-level, no target_id)
browser_cdp(method="Target.getTargets")
# Handle a native JS dialog on a tab
browser_cdp(method="Page.handleJavaScriptDialog",
params={"accept": true, "promptText": ""},
target_id="<tabId>")
# Evaluate JS in a specific tab
browser_cdp(method="Runtime.evaluate",
params={"expression": "document.title", "returnByValue": true},
target_id="<tabId>")
# Get all cookies
browser_cdp(method="Network.getAllCookies")
---
User: Sign up for an account on example.com with my email john@example.com
Agent workflow:
1. browser_navigate("https://example.com/signup")
2. browser_snapshot() → sees form fields with refs
3. browser_type(ref="@e3", text="[email protected]")
4. browser_type(ref="@e5", text="SecurePass123")
5. browser_click(ref="@e8") → clicks "Create Account"
6. browser_snapshot() → confirms success
---
User: What are the top trending repos on GitHub right now?
Agent workflow:
1. browser_navigate("https://github.com/trending")
2. browser_snapshot(full=true) → reads trending repo list
3. Returns formatted results
---
browser:
record_sessions: true # default: falseRAW_BUFFERClick to expand / collapse
📄 user-guide/features/overview.md
title: "Features Overview" sidebar_label: "Overview" sidebar_position: 1
ภาพรวมคุณสมบัติ (Features Overview)
Hermes Agent มีชุดความสามารถที่หลากหลาย ซึ่งขยายขอบเขตไปไกลกว่าการแชทพื้นฐาน ตั้งแต่หน่วยความจำถาวร (persistent memory) และบริบทที่รับรู้ไฟล์ ไปจนถึงการทำงานอัตโนมัติของเบราว์เซอร์ (browser automation) และการสนทนาด้วยเสียง คุณสมบัติเหล่านี้ทำงานร่วมกันเพื่อทำให้ Hermes เป็นผู้ช่วยอัตโนมัติที่มีประสิทธิภาพสูง
Core (แกนหลัก)
- Tools & Toolsets - Tools คือฟังก์ชันที่ขยายขีดความสามารถของ agent โดยถูกจัดระเบียบเป็น toolsets ทางตรรกะที่สามารถเปิดหรือปิดได้ตามแพลตฟอร์มต่างๆ ครอบคลุมการค้นหาเว็บ การรัน terminal การแก้ไขไฟล์ หน่วยความจำ การมอบหมายงาน และอื่นๆ
- Skills System - คือเอกสารความรู้ที่ agent สามารถโหลดได้ตามความต้องการ Skills จะใช้รูปแบบการเปิดเผยความรู้แบบค่อยเป็นค่อยไป (progressive disclosure) เพื่อลดการใช้ token และเข้ากันได้กับมาตรฐาน open standard ของ agentskills.io
- Persistent Memory - หน่วยความจำที่ถูกจำกัดและคัดสรรมาอย่างดี ซึ่งคงอยู่ข้ามเซสชัน Hermes จะจดจำความชอบ โครงการ สภาพแวดล้อม และสิ่งที่เรียนรู้ผ่าน
MEMORY.mdและUSER.md - Context Files - Hermes จะค้นพบและโหลด context files ของโปรเจกต์โดยอัตโนมัติ (เช่น
.hermes.md,AGENTS.md,CLAUDE.md,SOUL.md,.cursorrules) ซึ่งเป็นตัวกำหนดพฤติกรรมของ agent ในโปรเจกต์ของคุณ - Context References - ใช้เครื่องหมาย
@ตามด้วยการอ้างอิงเพื่อแทรกไฟล์ โฟลเดอร์ git diffs และ URL เข้าไปในข้อความของคุณโดยตรง Hermes จะขยายการอ้างอิงนั้นในบรรทัดเดียวกันและแนบเนื้อหาให้โดยอัตโนมัติ - Checkpoints - Hermes จะถ่ายภาพ (snapshot) working directory ของคุณโดยอัตโนมัติก่อนทำการเปลี่ยนแปลงไฟล์ ทำให้คุณมีตาข่ายนิรภัยในการย้อนกลับ (roll back) ด้วยคำสั่ง
/rollbackหากมีสิ่งผิดพลาดเกิดขึ้น
Automation (ระบบอัตโนมัติ)
- Scheduled Tasks (Cron) - กำหนดตารางงานให้รันโดยอัตโนมัติด้วยภาษาธรรมชาติ (natural language) หรือ cron expressions งานเหล่านี้สามารถแนบ skills, ส่งผลลัพธ์ไปยังแพลตฟอร์มใดก็ได้ และรองรับการทำงาน pause/resume/edit
- Subagent Delegation - tool
delegate_taskจะสร้าง instance ของ agent ลูกที่มี context แยกส่วน, toolsets ที่จำกัด, และ terminal sessions ของตัวเอง โดยค่าเริ่มต้นจะรัน subagents พร้อมกัน 3 ตัว (สามารถตั้งค่าได้) สำหรับกระบวนการทำงานแบบขนาน - Code Execution - tool
execute_codeช่วยให้ agent เขียนสคริปต์ Python ที่เรียกใช้ tools ของ Hermes ในรูปแบบโปรแกรม (programmatically) ซึ่งเป็นการรวมขั้นตอนการทำงานหลายขั้นตอนให้เป็น LLM turn เดียวผ่านการรัน RPC แบบ sandboxed - Event Hooks - รันโค้ดที่กำหนดเอง ณ จุดสำคัญของ lifecycle Gateway hooks จัดการ logging, alerts, และ webhooks ส่วน plugin hooks จัดการ tool interception, metrics, และ guardrails
- Batch Processing - รัน Hermes agent ข้าม prompt จำนวนหลายร้อยหรือหลายพันรายการแบบขนาน เพื่อสร้างข้อมูล trajectory ที่มีโครงสร้างในรูปแบบ ShareGPT สำหรับการสร้างข้อมูลฝึกฝนหรือการประเมินผล
Media & Web (สื่อและเว็บ)
- Voice Mode - การโต้ตอบด้วยเสียงเต็มรูปแบบทั้งบน CLI และแพลตฟอร์ม messaging คุณสามารถพูดคุยกับ agent ผ่านไมโครโฟน ฟังการตอบกลับด้วยเสียง และสนทนาด้วยเสียงแบบสดในช่องเสียง Discord
- Browser Automation - การทำงานอัตโนมัติของเบราว์เซอร์เต็มรูปแบบด้วย backend หลายตัว: Browserbase cloud, Browser Use cloud, local Chrome ผ่าน CDP, หรือ local Chromium ใช้สำหรับนำทางเว็บไซต์ กรอกฟอร์ม และดึงข้อมูล
- Vision & Image Paste - รองรับ vision แบบ multimodal คุณสามารถวางรูปภาพจาก clipboard เข้าสู่ CLI และขอให้ agent วิเคราะห์ อธิบาย หรือทำงานกับรูปภาพเหล่านั้นโดยใช้ vision-capable model ใดก็ได้
- Image Generation - สร้างรูปภาพจาก text prompts โดยใช้ FAL.ai รองรับ 8 models (FLUX 2 Klein/Pro, GPT-Image 1.5, Nano Banana Pro, Ideogram V3, Recraft V4 Pro, Qwen, Z-Image Turbo); เลือกใช้ตัวใดตัวหนึ่งผ่าน
hermes tools - Voice & TTS - การส่งออกข้อความให้เป็นเสียงพูด (Text-to-speech) และการถอดเสียงข้อความเสียงในทุกแพลตฟอร์ม messaging โดยมีตัวเลือกผู้ให้บริการ 5 ราย: Edge TTS (ฟรี), ElevenLabs, OpenAI TTS, MiniMax, และ NeuTTS
Integrations (การเชื่อมต่อ)
- MCP Integration - เชื่อมต่อกับ MCP server ใดก็ได้ผ่าน stdio หรือ HTTP transport สามารถเข้าถึงเครื่องมือภายนอกจาก GitHub, ฐานข้อมูล, file systems, และ internal APIs โดยไม่ต้องเขียน tools ของ Hermes เอง มีการรองรับการกรอง tool และการสุ่มตัวอย่างต่อ server
- Provider Routing - ควบคุมอย่างละเอียดว่า AI provider ใดที่จะจัดการคำขอของคุณ ปรับให้เหมาะสมสำหรับต้นทุน ความเร็ว หรือคุณภาพด้วยการจัดเรียง (sorting), whitelists, blacklists, และการกำหนดลำดับความสำคัญ
- Fallback Providers - การสลับไปใช้ LLM providers สำรองโดยอัตโนมัติ เมื่อ model หลักของคุณพบข้อผิดพลาด รวมถึงการสำรองสำหรับงานเสริม เช่น vision และ compression
- Credential Pools - กระจายการเรียกใช้ API ข้ามหลาย keys สำหรับ provider เดียวกัน มีการหมุนเวียนอัตโนมัติเมื่อเกิด rate limits หรือความล้มเหลว
- Memory Providers - เสียบปลั๊ก backend หน่วยความจำภายนอก (Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover) สำหรับการสร้างแบบจำลองผู้ใช้ข้ามเซสชันและการปรับให้เป็นส่วนตัวที่เหนือกว่าระบบหน่วยความจำที่ติดตั้งมาให้
- API Server - เปิดเผย Hermes เป็น HTTP endpoint ที่เข้ากันได้กับ OpenAI สามารถเชื่อมต่อ frontend ใดๆ ที่ใช้รูปแบบ OpenAI ได้ เช่น Open WebUI, LobeChat, LibreChat, และอื่นๆ
- IDE Integration (ACP) - ใช้ Hermes ภายใน editor ที่รองรับ ACP เช่น VS Code, Zed, และ JetBrains สามารถแชท, กิจกรรม tool, file diffs, และคำสั่ง terminal แสดงผลภายใน editor ของคุณ
- RL Training - สร้างข้อมูล trajectory จากเซสชันของ agent สำหรับการเรียนรู้แบบเสริมกำลัง (reinforcement learning) และการ fine-tuning model
Customization (การปรับแต่ง)
- Personality & SOUL.md - บุคลิกภาพของ agent ที่ปรับแต่งได้อย่างสมบูรณ์แบบ
SOUL.mdคือไฟล์ identity หลัก ซึ่งเป็นสิ่งแรกใน system prompt และคุณสามารถสลับใช้ presets/personalityที่ติดตั้งมาหรือที่กำหนดเองได้ในแต่ละเซสชัน - Skins & Themes - ปรับแต่งการแสดงผลทางภาพของ CLI: สี banner, spinner faces และ verbs, ป้ายกำกับ response-box, branding text, และ prefix ของ tool activity
- Plugins - เพิ่ม tools, hooks, และ integrations ที่กำหนดเองโดยไม่ต้องแก้ไข core code มี plugin 3 ประเภท: general plugins (tools/hooks), memory providers (ความรู้ข้ามเซสชัน), และ context engines (การจัดการ context ทางเลือก) จัดการผ่าน UI แบบโต้ตอบ
hermes pluginsที่รวมศูนย์
📄 user-guide/features/acp.md
sidebar_position: 11 title: "ACP Editor Integration" description: "Use Hermes Agent inside ACP-compatible editors such as VS Code, Zed, and JetBrains"
การผสานรวม ACP Editor
Hermes Agent สามารถทำงานเป็น ACP server ทำให้ editor ที่รองรับ ACP สามารถสื่อสารกับ Hermes ผ่าน stdio และแสดงผล:
- chat messages
- tool activity
- file diffs
- terminal commands
- approval prompts
- streamed thinking / response chunks
ACP เหมาะอย่างยิ่งเมื่อคุณต้องการให้ Hermes ทำงานเหมือน coding agent ที่เป็น native ของ editor แทนที่จะเป็น CLI หรือ messaging bot แบบ standalone
สิ่งที่ Hermes เปิดเผยในโหมด ACP
Hermes ทำงานด้วยชุดเครื่องมือ hermes-acp ที่คัดสรรมาสำหรับ editor workflows โดยประกอบด้วย:
- file tools:
read_file,write_file,patch,search_files - terminal tools:
terminal,process - web/browser tools
- memory, todo, session search
- skills
- execute_code and delegate_task
- vision
โดยเจตนาได้ยกเว้นสิ่งที่ไม่ได้เข้ากับ typical editor UX เช่น การส่งข้อความ (messaging delivery) และการจัดการ cronjob
การติดตั้ง
ติดตั้ง Hermes ตามปกติ จากนั้นเพิ่มส่วนขยาย ACP:
pip install -e '.[acp]'สิ่งนี้จะติดตั้ง dependency agent-client-protocol และเปิดใช้งาน:
hermes acphermes-acppython -m acp_adapter
การเปิดใช้งาน ACP server
คำสั่งใดคำสั่งหนึ่งต่อไปนี้จะเริ่ม Hermes ในโหมด ACP:
hermes acphermes-acppython -m acp_adapterHermes จะบันทึก log ไปที่ stderr เพื่อให้ stdout สงวนไว้สำหรับ traffic ของ ACP JSON-RPC
การตั้งค่า Editor
VS Code
ติดตั้ง ACP client extension จากนั้นชี้ไปยัง directory acp_registry/ ของ repo
ตัวอย่าง settings snippet:
{
"acpClient.agents": [
{
"name": "hermes-agent",
"registryDir": "/path/to/hermes-agent/acp_registry"
}
]
}Zed
ตัวอย่าง settings snippet:
{
"agent_servers": {
"hermes-agent": {
"type": "custom",
"command": "hermes",
"args": ["acp"],
},
},
}JetBrains
ใช้ plugin ที่รองรับ ACP และชี้ไปยัง:
/path/to/hermes-agent/acp_registryRegistry manifest
ACP registry manifest อยู่ที่:
acp_registry/agent.jsonมันจะประกาศ agent ที่ทำงานด้วยคำสั่ง (command-based agent) โดยมีคำสั่ง launch คือ:
hermes acpConfiguration and credentials
โหมด ACP ใช้การตั้งค่า Hermes เดียวกันกับ CLI:
~/.hermes/.env~/.hermes/config.yaml~/.hermes/skills/~/.hermes/state.db
Provider resolution ใช้ runtime resolver ปกติของ Hermes ดังนั้น ACP จึงสืบทอด provider และ credentials ที่กำหนดค่าไว้ในปัจจุบัน
Session behavior
ACP sessions จะถูกติดตามโดย in-memory session manager ของ ACP adapter ในขณะที่ server กำลังทำงาน
แต่ละ session จะเก็บ:
- session ID
- working directory
- selected model
- ประวัติการสนทนาปัจจุบัน
- cancel event
AIAgent ที่อยู่เบื้องหลังยังคงใช้ paths สำหรับ persistence/logging ปกติของ Hermes แต่คำสั่ง ACP list/load/resume/fork จะถูกจำกัดขอบเขต (scoped) ให้กับกระบวนการ ACP server ที่กำลังทำงานอยู่
Working directory behavior
ACP sessions จะผูก cwd (current working directory) ของ editor เข้ากับ Hermes task ID เพื่อให้ file และ terminal tools ทำงานโดยอ้างอิงจาก editor workspace ไม่ใช่ cwd ของ server process
Approvals
คำสั่ง terminal ที่อันตรายสามารถถูกส่งกลับไปยัง editor ในรูปแบบ prompts การอนุมัติ ตัวเลือกการอนุมัติของ ACP นั้นง่ายกว่า flow ของ CLI:
- allow once
- allow always
- deny
เมื่อหมดเวลา (timeout) หรือเกิดข้อผิดพลาด (error) approval bridge จะปฏิเสธคำขอ
การแก้ไขปัญหา (Troubleshooting)
ACP agent ไม่ปรากฏใน editor
ตรวจสอบ:
- editor ชี้ไปยัง path
acp_registry/ที่ถูกต้อง - Hermes ได้รับการติดตั้งและอยู่ใน PATH ของคุณ
- ได้ติดตั้งส่วนขยาย ACP แล้ว (
pip install -e '.[acp]')
ACP เริ่มต้นแต่เกิดข้อผิดพลาดทันที
ลองตรวจสอบด้วยคำสั่งเหล่านี้:
hermes doctor
hermes status
hermes acpขาด credentials
โหมด ACP ไม่มี flow การ login ของตัวเอง มันใช้ provider setup ที่มีอยู่ของ Hermes กำหนดค่า credentials ด้วย:
hermes modelหรือโดยการแก้ไข ~/.hermes/.env
ดูเพิ่มเติม
📄 user-guide/features/api-server.md
sidebar_position: 14 title: "API Server" description: "Expose hermes-agent as an OpenAI-compatible API for any frontend"
API Server
API server ให้บริการ hermes-agent ในรูปแบบ HTTP endpoint ที่เข้ากันได้กับ OpenAI. Frontend ใดๆ ที่รองรับรูปแบบ OpenAI - เช่น Open WebUI, LobeChat, LibreChat, NextChat, ChatBox และอีกหลายร้อยตัว - สามารถเชื่อมต่อกับ hermes-agent และใช้มันเป็น backend ได้
Agent ของคุณจะจัดการคำขอด้วยชุดเครื่องมือทั้งหมด (terminal, file operations, web search, memory, skills) และส่งคืนการตอบกลับสุดท้าย เมื่อมีการสตรีม (streaming) ตัวบ่งชี้ความคืบหน้าของเครื่องมือจะปรากฏแบบ inline เพื่อให้ frontend สามารถแสดงให้เห็นว่า agent กำลังทำอะไรอยู่
Quick Start
1. Enable the API server
Add to ~/.hermes/.env:
API_SERVER_ENABLED=true
API_SERVER_KEY=change-me-local-dev
# Optional: only if a browser must call Hermes directly
# API_SERVER_CORS_ORIGINS=http://localhost:30002. Start the gateway
hermes gatewayคุณจะเห็นข้อความ:
[API Server] API server listening on http://127.0.0.1:86423. Connect a frontend
ชี้ client ที่เข้ากันได้กับ OpenAI ไปที่ http://localhost:8642/v1:
# Test with curl
curl http://localhost:8642/v1/chat/completions \
-H "Authorization: Bearer change-me-local-dev" \
-H "Content-Type: application/json" \
-d '{"model": "hermes-agent", "messages": [{"role": "user", "content": "Hello!"}]}'หรือเชื่อมต่อ Open WebUI, LobeChat, หรือ frontend อื่นๆ - ดู Open WebUI integration guide สำหรับคำแนะนำแบบทีละขั้นตอน
Endpoints
POST /v1/chat/completions
รูปแบบ Chat Completions ของ OpenAI มาตรฐาน ไม่มีสถานะ (Stateless) - บทสนทนาทั้งหมดจะถูกรวมอยู่ในแต่ละคำขอผ่าน array messages.
Request:
{
"model": "hermes-agent",
"messages": [
{"role": "system", "content": "You are a Python expert."},
{"role": "user", "content": "Write a fibonacci function"}
],
"stream": false
}Response:
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1710000000,
"model": "hermes-agent",
"choices": [{
"index": 0,
"message": {"role": "assistant", "content": "Here's a fibonacci function..."},
"finish_reason": "stop"
}],
"usage": {"prompt_tokens": 50, "completion_tokens": 200, "total_tokens": 250}
}Inline image input: ข้อความจากผู้ใช้ (user messages) อาจส่ง content เป็น array ของส่วน text และ image_url รองรับทั้ง URL แบบ remote http(s) และ URL แบบ data:image/...:
{
"model": "hermes-agent",
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "What is in this image?"},
{"type": "image_url", "image_url": {"url": "https://example.com/cat.png", "detail": "high"}}
]
}
]
}ไฟล์ที่อัปโหลด (file / input_file / file_id) และ URL data: ที่ไม่ใช่รูปภาพ จะส่งคืน 400 unsupported_content_type.
Streaming ("stream": true): ส่งคืน Server-Sent Events (SSE) พร้อมส่วนของคำตอบแบบ token-by-token สำหรับ Chat Completions การสตรีมจะใช้ event มาตรฐาน chat.completion.chunk บวกกับ event hermes.tool.progress ของ Hermes สำหรับ UX การเริ่มใช้เครื่องมือ สำหรับ Responses การสตรีมจะใช้ประเภท event ของ OpenAI Responses เช่น response.created, response.output_text.delta, response.output_item.added, response.output_item.done, และ response.completed.
Tool progress in streams:
- Chat Completions: Hermes จะปล่อย
event: hermes.tool.progressสำหรับการมองเห็นการเริ่มใช้เครื่องมือโดยไม่ทำให้ข้อความผู้ช่วยที่บันทึกไว้เสียหาย - Responses: Hermes จะปล่อย
function_callและfunction_call_outputoutput items ที่เป็น spec-native ระหว่าง SSE stream ทำให้ client สามารถแสดง UI เครื่องมือแบบ structured ได้แบบเรียลไทม์
POST /v1/responses
รูปแบบ OpenAI Responses API รองรับสถานะการสนทนาฝั่งเซิร์ฟเวอร์ผ่าน previous_response_id - เซิร์ฟเวอร์จะจัดเก็บประวัติการสนทนาทั้งหมด (รวมถึง tool calls และผลลัพธ์) เพื่อให้บริบทแบบ multi-turn ถูกรักษาไว้โดยที่ client ไม่ต้องจัดการ
Request:
{
"model": "hermes-agent",
"input": "What files are in my project?",
"instructions": "You are a helpful coding assistant.",
"store": true
}Response:
{
"id": "resp_abc123",
"object": "response",
"status": "completed",
"model": "hermes-agent",
"output": [
{"type": "function_call", "name": "terminal", "arguments": "{\"command\": \"ls\"}", "call_id": "call_1"},
{"type": "function_call_output", "call_id": "call_1", "output": "README.md src/ tests/"},
{"type": "message", "role": "assistant", "content": [{"type": "output_text", "text": "Your project has..."}]}
],
"usage": {"input_tokens": 50, "output_tokens": 200, "total_tokens": 250}
}Inline image input: input[].content สามารถมีส่วน input_text และ input_image รองรับทั้ง URL แบบ remote และ data:image/... URL:
{
"model": "hermes-agent",
"input": [
{
"role": "user",
"content": [
{"type": "input_text", "text": "Describe this screenshot."},
{"type": "input_image", "image_url": "data:image/png;base64,iVBORw0K..."}
]
}
]
}ไฟล์ที่อัปโหลด (input_file / file_id) และ URL data: ที่ไม่ใช่รูปภาพ จะส่งคืน 400 unsupported_content_type.
Multi-turn with previous_response_id
เชื่อมโยงการตอบกลับเพื่อรักษาบริบททั้งหมด (รวมถึง tool calls) ข้ามรอบ:
{
"input": "Now show me the README",
"previous_response_id": "resp_abc123"
}เซิร์ฟเวอร์จะสร้างบทสนทนาทั้งหมดขึ้นมาใหม่จาก response chain ที่จัดเก็บไว้ - tool calls และผลลัพธ์ก่อนหน้าทั้งหมดจะถูกรักษาไว้ คำขอแบบ chained ยังแชร์ session เดียวกัน ดังนั้นบทสนทนาแบบ multi-turn จะปรากฏเป็นรายการเดียวใน dashboard และ session history
Named conversations
ใช้พารามิเตอร์ conversation แทนการติดตาม response IDs:
{"input": "Hello", "conversation": "my-project"}
{"input": "What's in src/?", "conversation": "my-project"}
{"input": "Run the tests", "conversation": "my-project"}เซิร์ฟเวอร์จะทำการเชื่อมโยงอัตโนมัติไปยัง response ล่าสุดใน conversation นั้น เหมือนกับคำสั่ง /title สำหรับ gateway sessions
GET /v1/responses/{id}
ดึง response ที่จัดเก็บไว้ก่อนหน้าด้วย ID
DELETE /v1/responses/{id}
ลบ response ที่จัดเก็บไว้
GET /v1/models
แสดงรายการ agent ในฐานะ model ที่พร้อมใช้งาน ชื่อ model ที่โฆษณาจะค่าเริ่มต้นเป็นชื่อ profile (หรือ hermes-agent สำหรับ default profile) จำเป็นสำหรับ frontend ส่วนใหญ่สำหรับการค้นพบ model
GET /health
Health check. ส่งคืน {"status": "ok"} นอกจากนี้ยังสามารถใช้ได้ที่ GET /v1/health สำหรับ client ที่เข้ากันได้กับ OpenAI ที่คาดหวัง prefix /v1/.
GET /health/detailed
Health check แบบขยายที่รายงาน session ที่ใช้งานอยู่, agent ที่กำลังทำงาน, และการใช้ทรัพยากร มีประโยชน์สำหรับเครื่องมือ monitoring/observability
Runs API (streaming-friendly alternative)
นอกจาก /v1/chat/completions และ /v1/responses แล้ว เซิร์ฟเวอร์ยังเปิดเผย runs API สำหรับ session แบบ long-form ที่ client ต้องการสมัครรับ progress events แทนการจัดการ streaming ด้วยตัวเอง
POST /v1/runs
สร้าง agent run ใหม่ ส่งคืน run_id ที่สามารถใช้สมัครรับ progress events ได้
GET /v1/runs/{run_id}/events
Server-Sent Events stream ของ progress tool-call, token deltas, และ lifecycle events ของ run ออกแบบมาสำหรับ dashboard และ thick clients ที่ต้องการแนบ/ถอดการเชื่อมต่อโดยไม่สูญเสีย state
Jobs API (background scheduled work)
เซิร์ฟเวอร์เปิดเผย jobs CRUD surface ที่มีน้ำหนักเบาสำหรับการจัดการ agent runs แบบกำหนดเวลา/background จาก client ระยะไกล ทุก endpoint ถูกป้องกันด้วย bearer auth เดียวกัน
GET /api/jobs
แสดงรายการ jobs ที่กำหนดเวลาทั้งหมด
POST /api/jobs
สร้าง scheduled job ใหม่ Body รับรูปร่างเดียวกับ hermes cron - prompt, schedule, skills, provider override, delivery target
GET /api/jobs/{job_id}
ดึงคำจำกัดความของ job และสถานะการทำงานครั้งล่าสุด
PATCH /api/jobs/{job_id}
อัปเดต fields บน job ที่มีอยู่ (prompt, schedule, etc.). การอัปเดตบางส่วนจะถูกรวมเข้าด้วยกัน
DELETE /api/jobs/{job_id}
ลบ job และยกเลิก run ที่กำลังดำเนินการอยู่ด้วย
POST /api/jobs/{job_id}/pause
หยุด job โดยไม่ลบ Next-scheduled-run timestamps จะถูกระงับจนกว่าจะถูก resume
POST /api/jobs/{job_id}/resume
ดำเนินการต่อสำหรับ job ที่เคยหยุดชั่วคราว
POST /api/jobs/{job_id}/run
กระตุ้นให้ job ทำงานทันที โดยไม่รอตามกำหนดเวลา
System Prompt Handling
เมื่อ frontend ส่งข้อความ system (Chat Completions) หรือ field instructions (Responses API), hermes-agent จะ เพิ่มทับ (layers on top) system prompt หลักของมัน Agent ของคุณจะยังคงมีเครื่องมือ, memory, และ skills ทั้งหมด - system prompt ของ frontend จะเพิ่มคำแนะนำพิเศษ
นั่นหมายความว่าคุณสามารถปรับแต่งพฤติกรรมตาม frontend โดยไม่สูญเสียความสามารถ:
- Open WebUI system prompt: "You are a Python expert. Always include type hints."
- Agent ยังคงมี terminal, file tools, web search, memory, etc.
Authentication
Bearer token auth ผ่าน header Authorization:
Authorization: Bearer ***กำหนด key ผ่าน env var API_SERVER_KEY. หากคุณต้องการให้ browser เรียก Hermes โดยตรง ให้ตั้งค่า API_SERVER_CORS_ORIGINS เป็น allowlist ที่ชัดเจนด้วย
:::warning Security
API server ให้สิทธิ์การเข้าถึง toolset ทั้งหมดของ hermes-agent รวมถึงคำสั่ง terminal. เมื่อ bind ไปยัง address ที่ไม่ใช่ loopback เช่น 0.0.0.0, API_SERVER_KEY จำเป็น. นอกจากนี้ควรจำกัด API_SERVER_CORS_ORIGINS ให้แคบเพื่อควบคุมการเข้าถึงจาก browser
default bind address (127.0.0.1) สำหรับการใช้งานภายในเครื่องเท่านั้น การเข้าถึงจาก browser ถูกปิดใช้งานโดยค่าเริ่มต้น; เปิดใช้งานเฉพาะสำหรับ origins ที่เชื่อถือได้อย่างชัดเจนเท่านั้น
:::
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
API_SERVER_ENABLED | false | เปิดใช้งาน API server |
API_SERVER_PORT | 8642 | พอร์ตของ HTTP server |
API_SERVER_HOST | 127.0.0.1 | Bind address (default localhost เท่านั้น) |
API_SERVER_KEY | (none) | Bearer token สำหรับ auth |
API_SERVER_CORS_ORIGINS | (none) | Comma-separated allowed browser origins |
API_SERVER_MODEL_NAME | (profile name) | ชื่อ model บน /v1/models. ค่าเริ่มต้นคือชื่อ profile หรือ hermes-agent สำหรับ default profile. |
config.yaml
# Not yet supported — use environment variables.
# config.yaml support coming in a future release.Security Headers
การตอบกลับทั้งหมดรวมถึง security headers:
X-Content-Type-Options: nosniff- ป้องกัน MIME type sniffingReferrer-Policy: no-referrer- ป้องกัน referrer leakage
CORS
API server ไม่ได้ เปิดใช้งาน browser CORS โดยค่าเริ่มต้น
สำหรับการเข้าถึงจาก browser โดยตรง ให้ตั้งค่า allowlist ที่ชัดเจน:
API_SERVER_CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000เมื่อเปิดใช้งาน CORS:
- Preflight responses จะรวม
Access-Control-Max-Age: 600(แคช 10 นาที) - SSE streaming responses จะรวม CORS headers เพื่อให้ client EventSource ของ browser ทำงานได้อย่างถูกต้อง
Idempotency-Keyเป็น allowed request header - client สามารถส่งมันเพื่อการ deduplication (responses จะถูกแคชด้วย key เป็นเวลา 5 นาที)
frontend ส่วนใหญ่ที่ได้รับการจัดทำเอกสาร เช่น Open WebUI เชื่อมต่อแบบ server-to-server และไม่จำเป็นต้องใช้ CORS เลย
Compatible Frontends
frontend ใดๆ ที่รองรับรูปแบบ OpenAI API ก็ใช้งานได้ ทดสอบ/จัดทำเอกสารการรวมระบบ:
| Frontend | Stars | Connection |
|---|---|---|
| Open WebUI | 126k | Full guide available |
| LobeChat | 73k | Custom provider endpoint |
| LibreChat | 34k | Custom endpoint in librechat.yaml |
| AnythingLLM | 56k | Generic OpenAI provider |
| NextChat | 87k | BASE_URL env var |
| ChatBox | 39k | API Host setting |
| Jan | 26k | Remote model config |
| HF Chat-UI | 8k | OPENAI_BASE_URL |
| big-AGI | 7k | Custom endpoint |
| OpenAI Python SDK | — | OpenAI(base_url="http://localhost:8642/v1") |
| curl | — | Direct HTTP requests |
Multi-User Setup with Profiles
ในการให้ผู้ใช้หลายคนมี instance ของ Hermes ของตัวเองที่แยกออกจากกัน (config, memory, skills แยกกัน) ให้ใช้ profiles:
# Create a profile per user
hermes profile create alice
hermes profile create bob
# Configure each profile's API server on a different port
hermes -p alice config set API_SERVER_ENABLED true
hermes -p alice config set API_SERVER_PORT 8643
hermes -p alice config set API_SERVER_KEY alice-secret
hermes -p bob config set API_SERVER_ENABLED true
hermes -p bob config set API_SERVER_PORT 8644
hermes -p bob config set API_SERVER_KEY bob-secret
# Start each profile's gateway
hermes -p alice gateway &
hermes -p bob gateway &API server ของแต่ละ profile จะโฆษณาชื่อ profile เป็น model ID โดยอัตโนมัติ:
http://localhost:8643/v1/models→ modelalicehttp://localhost:8644/v1/models→ modelbob
ใน Open WebUI ให้เพิ่มแต่ละตัวเป็น connection แยกกัน dropdown model จะแสดง alice และ bob เป็น model ที่แตกต่างกัน โดยแต่ละตัวมี instance ของ Hermes ที่แยกออกจากกันโดยสมบูรณ์ ดู Open WebUI guide สำหรับรายละเอียด
Limitations
- Response storage - response ที่จัดเก็บไว้ (สำหรับ
previous_response_id) จะถูก persist ใน SQLite และอยู่รอดแม้ gateway จะรีสตาร์ท รองรับสูงสุด 100 response ที่จัดเก็บ (LRU eviction). - No file upload - รองรับ inline images ทั้งใน
/v1/chat/completionsและ/v1/responsesแต่ไฟล์ที่อัปโหลด (file,input_file,file_id) และ input เอกสารที่ไม่ใช่รูปภาพ ไม่รองรับผ่าน API. - Model field is cosmetic - field
modelใน requests จะถูกยอมรับ แต่ model LLM จริงที่ใช้จะถูกกำหนดค่าฝั่งเซิร์ฟเวอร์ใน config.yaml.
Proxy Mode
API server ยังทำหน้าที่เป็น backend สำหรับ gateway proxy mode ด้วย เมื่อ instance ของ Hermes gateway อื่นถูกกำหนดค่าด้วย GATEWAY_PROXY_URL ชี้มาที่ API server นี้ มันจะส่งต่อข้อความทั้งหมดมาที่นี่แทนการรัน agent ของตัวเอง วิธีนี้ช่วยให้สามารถ deploy แบบแยกส่วนได้ - ตัวอย่างเช่น Docker container ที่จัดการ Matrix E2EE ที่ส่งต่อ (relays) ไปยัง agent ฝั่ง host
ดู Matrix Proxy Mode สำหรับคู่มือการตั้งค่าทั้งหมด
Jobs API (background scheduled work)
เซิร์ฟเวอร์เปิดเผย jobs CRUD surface ที่มีน้ำหนักเบาสำหรับการจัดการ agent runs แบบกำหนดเวลา/background จาก client ระยะไกล ทุก endpoint ถูกป้องกันด้วย bearer auth เดียวกัน
GET /api/jobs
แสดงรายการ jobs ที่กำหนดเวลาทั้งหมด
POST /api/jobs
สร้าง scheduled job ใหม่ Body รับรูปร่างเดียวกับ hermes cron - prompt, schedule, skills, provider override, delivery target
GET /api/jobs/{job_id}
ดึงคำจำกัดความของ job และสถานะการทำงานครั้งล่าสุด
PATCH /api/jobs/{job_id}
อัปเดต fields บน job ที่มีอยู่ (prompt, schedule, etc.). การอัปเดตบางส่วนจะถูกรวมเข้าด้วยกัน
DELETE /api/jobs/{job_id}
ลบ job และยกเลิก run ที่กำลังดำเนินการอยู่ด้วย
POST /api/jobs/{job_id}/pause
หยุด job โดยไม่ลบ Next-scheduled-run timestamps จะถูกระงับจนกว่าจะถูก resume
POST /api/jobs/{job_id}/resume
ดำเนินการต่อสำหรับ job ที่เคยหยุดชั่วคราว
POST /api/jobs/{job_id}/run
กระตุ้นให้ job ทำงานทันที โดยไม่รอตามกำหนดเวลา
System Prompt Handling
เมื่อ frontend ส่งข้อความ system (Chat Completions) หรือ field instructions (Responses API), hermes-agent จะ เพิ่มทับ (layers on top) system prompt หลักของมัน Agent ของคุณจะยังคงมีเครื่องมือ, memory, และ skills ทั้งหมด - system prompt ของ frontend จะเพิ่มคำแนะนำพิเศษ
นั่นหมายความว่าคุณสามารถปรับแต่งพฤติกรรมตาม frontend โดยไม่สูญเสียความสามารถ:
- Open WebUI system prompt: "You are a Python expert. Always include type hints."
- Agent ยังคงมี terminal, file tools, web search, memory, etc.
Authentication
Bearer token auth ผ่าน header Authorization:
Authorization: Bearer ***กำหนด key ผ่าน env var API_SERVER_KEY. หากคุณต้องการให้ browser เรียก Hermes โดยตรง ให้ตั้งค่า API_SERVER_CORS_ORIGINS เป็น allowlist ที่ชัดเจนด้วย
:::warning Security
API server ให้สิทธิ์การเข้าถึง toolset ทั้งหมดของ hermes-agent, รวมถึงคำสั่ง terminal. เมื่อ bind ไปยัง address ที่ไม่ใช่ loopback เช่น 0.0.0.0, API_SERVER_KEY จำเป็น. นอกจากนี้ควรจำกัด API_SERVER_CORS_ORIGINS ให้แคบเพื่อควบคุมการเข้าถึงจาก browser
default bind address (127.0.0.1) สำหรับการใช้งานภายในเครื่องเท่านั้น การเข้าถึงจาก browser ถูกปิดใช้งานโดยค่าเริ่มต้น; เปิดใช้งานเฉพาะสำหรับ origins ที่เชื่อถือได้อย่างชัดเจนเท่านั้น
:::
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
API_SERVER_ENABLED | false | เปิดใช้งาน API server |
API_SERVER_PORT | 8642 | พอร์ตของ HTTP server |
API_SERVER_HOST | 127.0.0.1 | Bind address (default localhost เท่านั้น) |
API_SERVER_KEY | (none) | Bearer token สำหรับ auth |
API_SERVER_CORS_ORIGINS | (none) | Comma-separated allowed browser origins |
API_SERVER_MODEL_NAME | (profile name) | ชื่อ model บน /v1/models. ค่าเริ่มต้นคือชื่อ profile หรือ hermes-agent สำหรับ default profile. |
config.yaml
# Not yet supported — use environment variables.
# config.yaml support coming in a future release.Security Headers
การตอบกลับทั้งหมดรวมถึง security headers:
X-Content-Type-Options: nosniff- ป้องกัน MIME type sniffingReferrer-Policy: no-referrer- ป้องกัน referrer leakage
CORS
API server ไม่ได้ เปิดใช้งาน browser CORS โดยค่าเริ่มต้น
สำหรับการเข้าถึงจาก browser โดยตรง ให้ตั้งค่า allowlist ที่ชัดเจน:
API_SERVER_CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000เมื่อเปิดใช้งาน CORS:
- Preflight responses จะรวม
Access-Control-Max-Age: 600(แคช 10 นาที) - SSE streaming responses จะรวม CORS headers เพื่อให้ client EventSource ของ browser ทำงานได้อย่างถูกต้อง
Idempotency-Keyเป็น allowed request header - client สามารถส่งมันเพื่อการ deduplication (responses จะถูกแคชด้วย key เป็นเวลา 5 นาที)
frontend ส่วนใหญ่ที่ได้รับการจัดทำเอกสาร เช่น Open WebUI เชื่อมต่อแบบ server-to-server และไม่จำเป็นต้องใช้ CORS เลย
Compatible Frontends
frontend ใดๆ ที่รองรับรูปแบบ OpenAI API ก็ใช้งานได้ ทดสอบ/จัดทำเอกสารการรวมระบบ:
| Frontend | Stars | Connection |
|---|---|---|
| Open WebUI | 126k | Full guide available |
| LobeChat | 73k | Custom provider endpoint |
| LibreChat | 34k | Custom endpoint in librechat.yaml |
| AnythingLLM | 56k | Generic OpenAI provider |
| NextChat | 87k | BASE_URL env var |
| ChatBox | 39k | API Host setting |
| Jan | 26k | Remote model config |
| HF Chat-UI | 8k | OPENAI_BASE_URL |
| big-AGI | 7k | Custom endpoint |
| OpenAI Python SDK | — | OpenAI(base_url="http://localhost:8642/v1") |
| curl | — | Direct HTTP requests |
Multi-User Setup with Profiles
ในการให้ผู้ใช้หลายคนมี instance ของ Hermes ของตัวเองที่แยกออกจากกัน (config, memory, skills แยกกัน) ให้ใช้ profiles:
# Create a profile per user
hermes profile create alice
hermes profile create bob
# Configure each profile's API server on a different port
hermes -p alice config set API_SERVER_ENABLED true
hermes -p alice config set API_SERVER_PORT 8643
hermes -p alice config set API_SERVER_KEY alice-secret
hermes -p bob config set API_SERVER_ENABLED true
hermes -p bob config set API_SERVER_PORT 8644
hermes -p bob config set API_SERVER_KEY bob-secret
# Start each profile's gateway
hermes -p alice gateway &
hermes -p bob gateway &API server ของแต่ละ profile จะโฆษณาชื่อ profile เป็น model ID โดยอัตโนมัติ:
http://localhost:8643/v1/models→ modelalicehttp://localhost:8644/v1/models→ modelbob
ใน Open WebUI ให้เพิ่มแต่ละตัวเป็น connection แยกกัน dropdown model จะแสดง alice และ bob เป็น model ที่แตกต่างกัน โดยแต่ละตัวมี instance ของ Hermes ที่แยกออกจากกันโดยสมบูรณ์ ดู Open WebUI guide สำหรับรายละเอียด
Limitations
- Response storage - response ที่จัดเก็บไว้ (สำหรับ
previous_response_id) จะถูก persist ใน SQLite และอยู่รอดแม้ gateway จะรีสตาร์ท รองรับสูงสุด 100 response ที่จัดเก็บ (LRU eviction). - No file upload - รองรับ inline images ทั้งใน
/v1/chat/completionsและ/v1/responsesแต่ไฟล์ที่อัปโหลด (file,input_file,file_id) และ input เอกสารที่ไม่ใช่รูปภาพ ไม่รองรับผ่าน API. - Model field is cosmetic - field
modelใน requests จะถูกยอมรับ แต่ model LLM จริงที่ใช้จะถูกกำหนดค่าฝั่งเซิร์ฟเวอร์ใน config.yaml.
Proxy Mode
API server ยังทำหน้าที่เป็น backend สำหรับ gateway proxy mode ด้วย เมื่อ instance ของ Hermes gateway อื่นถูกกำหนดค่าด้วย GATEWAY_PROXY_URL ชี้มาที่ API server นี้ มันจะส่งต่อข้อความทั้งหมดมาที่นี่แทนการรัน agent ของตัวเอง วิธีนี้ช่วยให้สามารถ deploy แบบแยกส่วนได้ - ตัวอย่างเช่น Docker container ที่จัดการ Matrix E2EE ที่ส่งต่อ (relays) ไปยัง agent ฝั่ง host
ดู Matrix Proxy Mode สำหรับคู่มือการตั้งค่าทั้งหมด
📄 user-guide/features/batch-processing.md
sidebar_position: 12 title: "Batch Processing" description: "Generate agent trajectories at scale - parallel processing, checkpointing, and toolset distributions"
Batch Processing
Batch processing ช่วยให้คุณสามารถรัน agent Hermes ผ่าน prompt หลายร้อยหรือหลายพันรายการแบบขนาน (parallel) เพื่อสร้างข้อมูล trajectory ที่มีโครงสร้าง ข้อมูลนี้ใช้หลักๆ สำหรับ การสร้างข้อมูลสำหรับฝึกฝน (training data generation) - เพื่อสร้าง trajectory ในรูปแบบ ShareGPT พร้อมสถิติการใช้เครื่องมือ (tool usage statistics) ซึ่งสามารถนำไปใช้สำหรับการ fine-tuning หรือการประเมินผลได้
Overview
batch runner (batch_runner.py) จะประมวลผลชุดข้อมูล prompt ในรูปแบบ JSONL โดยรันแต่ละ prompt ผ่าน agent session แบบเต็มรูปแบบพร้อมการเข้าถึง tool แต่ละ prompt จะได้รับ environment ที่แยกออกมาโดยเฉพาะ ผลลัพธ์ที่ได้คือข้อมูล trajectory ที่มีโครงสร้าง ซึ่งประกอบด้วยประวัติการสนทนาทั้งหมด, สถิติการเรียกใช้ tool, และ metrics การครอบคลุมการให้เหตุผล (reasoning coverage metrics)
Quick Start
# Basic batch run
python batch_runner.py \
--dataset_file=data/prompts.jsonl \
--batch_size=10 \
--run_name=my_first_run \
--model=anthropic/claude-sonnet-4.6 \
--num_workers=4
# Resume an interrupted run
python batch_runner.py \
--dataset_file=data/prompts.jsonl \
--batch_size=10 \
--run_name=my_first_run \
--resume
# List available toolset distributions
python batch_runner.py --list_distributionsDataset Format
ชุดข้อมูลอินพุตคือไฟล์ JSONL (หนึ่ง JSON object ต่อหนึ่งบรรทัด) แต่ละรายการต้องมี field ชื่อ prompt:
{"prompt": "Write a Python function that finds the longest palindromic substring"}
{"prompt": "Create a REST API endpoint for user authentication using Flask"}
{"prompt": "Debug this error: TypeError: cannot unpack non-iterable NoneType object"}รายการสามารถรวมข้อมูลเพิ่มเติมได้ดังนี้:
imageหรือdocker_image: Container image ที่ใช้สำหรับ sandbox ของ prompt นี้ (ใช้งานได้กับ Docker, Modal, และ Singularity backends)cwd: การกำหนดค่า Working directory สำหรับ session terminal ของ task
Configuration Options
| Parameter | Default | Description |
|---|---|---|
--dataset_file | (required) | Path ไปยังชุดข้อมูล JSONL |
--batch_size | (required) | จำนวน prompts ต่อ batch |
--run_name | (required) | ชื่อสำหรับ run นี้ (ใช้สำหรับ output dir และ checkpointing) |
--distribution | "default" | Toolset distribution ที่จะสุ่มตัวอย่าง |
--model | claude-sonnet-4.6 | Model ที่จะใช้ |
--base_url | https://openrouter.ai/api/v1 | API base URL |
--api_key | (env var) | API key สำหรับ model |
--max_turns | 10 | จำนวนรอบการเรียกใช้ tool สูงสุดต่อ prompt |
--num_workers | 4 | จำนวน worker processes แบบขนาน |
--resume | false | Resume จาก checkpoint |
--verbose | false | เปิดใช้งาน verbose logging |
--max_samples | all | ประมวลผลเฉพาะ N ตัวอย่างแรกจาก dataset |
--max_tokens | model default | จำนวน tokens สูงสุดต่อ model response |
Provider Routing (OpenRouter)
| Parameter | Description |
|---|---|
--providers_allowed | Providers ที่อนุญาตแบบคั่นด้วย comma (เช่น "anthropic,openai") |
--providers_ignored | Providers ที่ละเว้นแบบคั่นด้วย comma (เช่น "together,deepinfra") |
--providers_order | ลำดับ preferred provider แบบคั่นด้วย comma |
--provider_sort | เรียงตาม "price", "throughput", หรือ "latency" |
Reasoning Control
| Parameter | Description |
|---|---|
--reasoning_effort | ระดับความพยายาม: none, minimal, low, medium, high, xhigh |
--reasoning_disabled | ปิดการใช้ reasoning/thinking tokens โดยสมบูรณ์ |
Advanced Options
| Parameter | Description |
|---|---|
--ephemeral_system_prompt | System prompt ที่ใช้ระหว่างการดำเนินการแต่จะไม่ถูกบันทึกใน trajectories |
--log_prefix_chars | จำนวน characters ที่จะแสดงใน log previews (ค่าเริ่มต้น: 100) |
--prefill_messages_file | Path ไปยังไฟล์ JSON ที่มี prefill messages สำหรับ few-shot priming |
Toolset Distributions
แต่ละ prompt จะได้รับชุด toolset ที่สุ่มตัวอย่างมาจาก distribution ซึ่งช่วยให้มั่นใจได้ว่าข้อมูลสำหรับฝึกฝนจะครอบคลุมการผสมผสานของ tool ที่หลากหลาย ใช้ --list_distributions เพื่อดู distribution ทั้งหมดที่มีให้
ในการใช้งานปัจจุบัน, distributions จะกำหนดความน่าจะเป็นให้กับ toolset แต่ละตัว ตัว sampler จะสุ่ม toolset แต่ละตัวอย่างอิสระ จากนั้นจึงรับประกันว่าจะมี toolset อย่างน้อยหนึ่งตัวที่ถูกเปิดใช้งาน นี่แตกต่างจากการสร้างตารางการผสมผสานล่วงหน้าด้วยมือ
Output Format
ผลลัพธ์ทั้งหมดจะถูกบันทึกที่ data/<run_name>/:
data/my_run/
├── trajectories.jsonl # ผลลัพธ์สุดท้ายที่รวมกัน (รวมทุก batch)
├── batch_0.jsonl # ผลลัพธ์ของ batch แต่ละรายการ
├── batch_1.jsonl
├── ...
├── checkpoint.json # Checkpoint สำหรับการ Resume
└── statistics.json # สถิติการใช้ tool แบบรวมTrajectory Format
แต่ละบรรทัดใน trajectories.jsonl คือ JSON object:
{
"prompt_index": 42,
"conversations": [
{"from": "human", "value": "Write a function..."},
{"from": "gpt", "value": "I'll create that function...",
"tool_calls": [...]},
{"from": "tool", "value": "..."},
{"from": "gpt", "value": "Here's the completed function..."}
],
"metadata": {
"batch_num": 2,
"timestamp": "2026-01-15T10:30:00",
"model": "anthropic/claude-sonnet-4.6"
},
"completed": true,
"partial": false,
"api_calls": 3,
"toolsets_used": ["terminal", "file"],
"tool_stats": {
"terminal": {"count": 2, "success": 2, "failure": 0},
"read_file": {"count": 1, "success": 1, "failure": 0}
},
"tool_error_counts": {
"terminal": 0,
"read_file": 0
}
}field conversations ใช้รูปแบบคล้าย ShareGPT โดยมี field from และ value สำหรับสถิติ tool จะถูกทำให้เป็นมาตรฐาน (normalized) เพื่อรวม tool ที่เป็นไปได้ทั้งหมดพร้อมค่าเริ่มต้นเป็นศูนย์ ซึ่งช่วยให้มั่นใจได้ว่า schema จะสอดคล้องกันในทุกรายการสำหรับการเข้ากันได้กับ HuggingFace datasets
Checkpointing
batch runner มีระบบ checkpointing ที่แข็งแกร่งสำหรับการทนต่อความผิดพลาด (fault tolerance):
- Checkpoint file: ถูกบันทึกหลังจากแต่ละ batch เสร็จสมบูรณ์ โดยติดตามว่า prompt index ใดเสร็จแล้ว
- Content-based resume: เมื่อใช้
--resume, runner จะสแกนไฟล์ batch ที่มีอยู่และจับคู่ prompt ที่เสร็จสมบูรณ์โดยเนื้อหาข้อความจริง (ไม่ใช่แค่ index) ทำให้สามารถกู้คืนได้แม้ว่าลำดับของ dataset จะมีการเปลี่ยนแปลง - Failed prompts: จะมีการทำเครื่องหมายเฉพาะ prompt ที่เสร็จสมบูรณ์เท่านั้น - prompt ที่ล้มเหลวจะถูกลองใหม่เมื่อทำการ resume
- Batch merging: เมื่อเสร็จสมบูรณ์, ไฟล์ batch ทั้งหมด (รวมถึงจาก run ก่อนหน้า) จะถูกรวมเข้าเป็น
trajectories.jsonlไฟล์เดียว
วิธีการทำงานของ Resume
- สแกนไฟล์
batch_*.jsonlทั้งหมดเพื่อหา prompt ที่เสร็จสมบูรณ์ (โดยการจับคู่เนื้อหา) - กรอง dataset เพื่อยกเว้น prompt ที่เสร็จสมบูรณ์แล้ว
- จัดกลุ่ม prompt ที่เหลือใหม่ (Re-batch)
- ประมวลผลเฉพาะ prompt ที่เหลือ
- รวมไฟล์ batch ทั้งหมด (เก่า + ใหม่) เข้าเป็น output สุดท้าย
Quality Filtering
batch runner ใช้การกรองคุณภาพอัตโนมัติ:
- No-reasoning filter: ตัวอย่างที่ไม่มี assistant turns ที่มีการให้เหตุผล (ไม่มี
<REASONING_SCRATCHPAD>หรือ thinking tokens แบบ native) จะถูกทิ้ง - Corrupted entry filter: รายการที่มีชื่อ tool ที่สร้างขึ้นมาเอง (ไม่ได้อยู่ในรายการ tool ที่ถูกต้อง) จะถูกกรองออกระหว่างการรวมครั้งสุดท้าย
- Reasoning statistics: ติดตามเปอร์เซ็นต์ของ turns ที่มีการ/ไม่มีการให้เหตุผลตลอดการรัน
Statistics
หลังจากเสร็จสิ้น, runner จะแสดงสถิติที่ครอบคลุม:
- Tool usage: จำนวนครั้งที่เรียกใช้, อัตราความสำเร็จ/ความล้มเหลวต่อ tool
- Reasoning coverage: เปอร์เซ็นต์ของ assistant turns ที่มีการให้เหตุผล
- Samples discarded: จำนวนตัวอย่างที่ถูกกรองออกเนื่องจากขาดการให้เหตุผล
- Duration: เวลาประมวลผลทั้งหมด
สถิติยังถูกบันทึกใน statistics.json สำหรับการวิเคราะห์เชิงโปรแกรม (programmatic analysis)
Use Cases
Training Data Generation
สร้าง trajectories การใช้ tool ที่หลากหลายสำหรับการ fine-tuning:
python batch_runner.py \
--dataset_file=data/coding_prompts.jsonl \
--batch_size=20 \
--run_name=coding_v1 \
--model=anthropic/claude-sonnet-4.6 \
--num_workers=8 \
--distribution=default \
--max_turns=15Model Evaluation
ประเมินว่า model ใช้ tool ได้ดีเพียงใดกับ prompts มาตรฐาน:
python batch_runner.py \
--dataset_file=data/eval_suite.jsonl \
--batch_size=10 \
--run_name=eval_gpt4 \
--model=openai/gpt-4o \
--num_workers=4 \
--max_turns=10Per-Prompt Container Images
สำหรับ benchmarks ที่ต้องการ environment เฉพาะ, แต่ละ prompt สามารถระบุ container image ของตัวเองได้:
{"prompt": "Install numpy and compute eigenvalues of a 3x3 matrix", "image": "python:3.11-slim"}
{"prompt": "Compile this Rust program and run it", "image": "rust:1.75"}
{"prompt": "Set up a Node.js Express server", "image": "node:20-alpine", "cwd": "/app"}batch runner จะตรวจสอบว่า Docker images สามารถเข้าถึงได้ก่อนที่จะรันแต่ละ prompt
📄 user-guide/features/browser.md
title: Browser Automation description: Control browsers with multiple providers, local Chrome via CDP, or cloud browsers for web interaction, form filling, scraping, and more. sidebar_label: Browser sidebar_position: 5
Browser Automation
Hermes Agent มีชุดเครื่องมือสำหรับทำ browser automation อย่างครบถ้วน พร้อมตัวเลือก backend หลายรูปแบบ:
- Browserbase cloud mode ผ่าน Browserbase สำหรับ cloud browsers ที่มีการจัดการและเครื่องมือ anti-bot
- Browser Use cloud mode ผ่าน Browser Use เป็นทางเลือกของ cloud browser provider
- Firecrawl cloud mode ผ่าน Firecrawl สำหรับ cloud browsers ที่มีฟังก์ชัน scraping ในตัว
- Camofox local mode ผ่าน Camofox สำหรับการท่องเว็บแบบ anti-detection ในเครื่อง (Firefox-based fingerprint spoofing)
- Local Chrome via CDP - เชื่อมต่อเครื่องมือ browser เข้ากับ instance Chrome ของคุณโดยใช้
/browser connect - Local browser mode ผ่าน
agent-browserCLI และการติดตั้ง Chromium ในเครื่อง
ในทุกโหมด agent สามารถนำทางเว็บไซต์, โต้ตอบกับองค์ประกอบของหน้า (page elements), กรอกแบบฟอร์ม, และดึงข้อมูลได้
Overview
หน้าเว็บจะถูกแทนด้วย accessibility trees (ภาพรวมแบบ text-based) ทำให้เหมาะอย่างยิ่งสำหรับ LLM agents องค์ประกอบแบบโต้ตอบจะได้รับ ref IDs (เช่น @e1, @e2) ซึ่ง agent ใช้สำหรับการคลิกและพิมพ์
ความสามารถหลัก:
- Multi-provider cloud execution - Browserbase, Browser Use, หรือ Firecrawl - ไม่จำเป็นต้องมี local browser
- Local Chrome integration - เชื่อมต่อกับ Chrome ที่กำลังทำงานอยู่ของคุณผ่าน CDP สำหรับการท่องเว็บแบบ hands-on
- Built-in stealth - random fingerprints, CAPTCHA solving, residential proxies (Browserbase)
- Session isolation - แต่ละ task จะได้รับ browser session ของตัวเอง
- Automatic cleanup - session ที่ไม่ใช้งานจะถูกปิดหลังจากหมดเวลา
- Vision analysis - screenshot + AI analysis สำหรับความเข้าใจเชิงภาพ
Setup
:::tip Nous Subscribers
หากคุณมีการสมัครสมาชิก Nous Portal แบบเสียเงิน คุณสามารถใช้ browser automation ผ่าน Tool Gateway ได้โดยไม่ต้องใช้ API keys แยกต่างหาก ให้รัน hermes model หรือ hermes tools เพื่อเปิดใช้งาน
:::
Browserbase cloud mode
ในการใช้ cloud browsers ที่จัดการโดย Browserbase ให้เพิ่ม:
# Add to ~/.hermes/.env
BROWSERBASE_API_KEY=***
BROWSERBASE_PROJECT_ID=your-project-id-hereรับ credentials ของคุณได้ที่ browserbase.com.
Browser Use cloud mode
ในการใช้ Browser Use เป็น cloud browser provider ของคุณ ให้เพิ่ม:
# Add to ~/.hermes/.env
BROWSER_USE_API_KEY=***รับ API key ของคุณได้ที่ browser-use.com. Browser Use ให้บริการ cloud browser ผ่าน REST API หากตั้งค่า credentials ทั้ง Browserbase และ Browser Use ไว้ Browserbase จะมีลำดับความสำคัญ
Firecrawl cloud mode
ในการใช้ Firecrawl เป็น cloud browser provider ของคุณ ให้เพิ่ม:
# Add to ~/.hermes/.env
FIRECRAWL_API_KEY=fc-***รับ API key ของคุณได้ที่ firecrawl.dev. จากนั้นเลือก Firecrawl เป็น browser provider ของคุณ:
hermes setup tools
# → Browser Automation → Firecrawlการตั้งค่าทางเลือก:
# Self-hosted Firecrawl instance (default: https://api.firecrawl.dev)
FIRECRAWL_API_URL=http://localhost:3002
# Session TTL in seconds (default: 300)
FIRECRAWL_BROWSER_TTL=600Camofox local mode
Camofox คือ self-hosted Node.js server ที่ห่อหุ้ม Camoufox (fork ของ Firefox ที่มีการ spoofing fingerprint ด้วย C++) มันให้การท่องเว็บแบบ anti-detection ในเครื่องโดยไม่ต้องพึ่งพา cloud dependencies
# Install and run
git clone https://github.com/jo-inc/camofox-browser && cd camofox-browser
npm install && npm start # downloads Camoufox (~300MB) on first run
# Or via Docker
docker run -d --network host -e CAMOFOX_PORT=9377 jo-inc/camofox-browserจากนั้นตั้งค่าใน ~/.hermes/.env:
CAMOFOX_URL=http://localhost:9377หรือกำหนดค่าผ่าน hermes tools → Browser Automation → Camofox
เมื่อตั้งค่า CAMOFOX_URL แล้ว เครื่องมือ browser ทั้งหมดจะถูกส่งผ่าน Camofox โดยอัตโนมัติแทน Browserbase หรือ agent-browser
Persistent browser sessions
โดยค่าเริ่มต้น แต่ละ session ของ Camofox จะได้รับ identity แบบสุ่ม - cookies และ logins จะไม่คงอยู่ข้ามการ restart agent หากต้องการเปิดใช้งาน session browser แบบ persistent ให้เพิ่มสิ่งต่อไปนี้ใน ~/.hermes/config.yaml:
browser:
camofox:
managed_persistence: trueจากนั้นให้รีสตาร์ท Hermes อย่างสมบูรณ์เพื่อให้ config ใหม่ถูกนำไปใช้
:::warning Nested path matters
Hermes จะอ่าน browser.camofox.managed_persistence ไม่ใช่ managed_persistence ระดับบนสุด ข้อผิดพลาดทั่วไปคือการเขียน:
# ❌ Wrong — Hermes ignores this
managed_persistence: trueหาก flag ถูกวางที่ path ผิด Hermes จะ fallback ไปใช้ userId แบบ ephemeral ที่สุ่มโดยอัตโนมัติ และสถานะการ login ของคุณจะหายไปในทุก session
:::
What Hermes does
- ส่ง
userIdที่กำหนดค่าได้ตาม profile ไปยัง Camofox เพื่อให้เซิร์ฟเวอร์สามารถใช้ profile ของ Firefox เดิมข้าม session ได้ - ข้ามการทำ context destruction ที่ฝั่งเซิร์ฟเวอร์เมื่อมีการ cleanup ทำให้ cookies และ logins คงอยู่ระหว่าง task ของ agent
- กำหนดขอบเขตของ
userIdให้กับ Hermes profile ที่ใช้งานอยู่ เพื่อให้ Hermes profile ต่างกันได้รับ browser profile ที่แตกต่างกัน (profile isolation)
What Hermes does not do
- มันไม่ได้บังคับให้เกิด persistence บน Camofox server Hermes เพียงแค่ส่ง
userIdที่เสถียร; เซิร์ฟเวอร์ต้องเคารพสิ่งนี้โดยการแมปuserIdนั้นไปยัง directory ของ Firefox profile ที่ persistent - หาก build ของ Camofox server ของคุณถือว่าทุก request เป็น ephemeral (เช่น เรียก
browser.newContext()เสมอโดยไม่โหลด profile ที่เก็บไว้) Hermes จะไม่สามารถทำให้ session เหล่านั้นคงอยู่ได้ โปรดตรวจสอบให้แน่ใจว่าคุณกำลังรัน Camofox build ที่ใช้การทำ profile persistence ตามuserId
Verify it's working
- Start Hermes และ Camofox server ของคุณ
- เปิด Google (หรือเว็บไซต์ที่ต้อง login ใดๆ) ใน task browser และ sign in ด้วยตนเอง
- จบ task browser ตามปกติ
- เริ่ม task browser ใหม่
- เปิดเว็บไซต์เดิมอีกครั้ง - คุณควรจะยังคง sign in อยู่
หากขั้นตอนที่ 5 ทำให้คุณ log out แสดงว่า Camofox server ไม่ได้เคารพ userId ที่เสถียร ตรวจสอบ path config ของคุณอีกครั้ง ยืนยันว่าคุณรีสตาร์ท Hermes อย่างสมบูรณ์หลังจากแก้ไข config.yaml และตรวจสอบว่า Camofox server version ของคุณรองรับ persistent per-user profiles
Where state lives
Hermes ได้รับ userId ที่เสถียรจาก directory ~/.hermes/browser_auth/camofox/ ที่ scope ตาม profile (หรือเทียบเท่าภายใต้ $HERMES_HOME สำหรับ profile ที่ไม่ใช่ค่าเริ่มต้น) ข้อมูล profile browser จริงจะอยู่บน Camofox server โดยมี key คือ userId นั้น หากต้องการรีเซ็ต profile ที่ persistent อย่างสมบูรณ์ ให้ล้างข้อมูลบน Camofox server และลบ state directory ของ Hermes profile ที่เกี่ยวข้อง
VNC live view
เมื่อ Camofox ทำงานใน headed mode (พร้อมหน้าต่าง browser ที่มองเห็นได้) มันจะเปิด VNC port ใน health check response ของมัน Hermes จะค้นพบสิ่งนี้โดยอัตโนมัติและรวม VNC URL ไว้ใน navigation responses เพื่อให้ agent สามารถแชร์ลิงก์ให้คุณดู browser แบบ live ได้
Local Chrome via CDP (/browser connect)
แทนที่จะใช้ cloud provider คุณสามารถเชื่อมต่อเครื่องมือ browser ของ Hermes เข้ากับ instance Chrome ที่กำลังทำงานอยู่ของคุณผ่าน Chrome DevTools Protocol (CDP) สิ่งนี้มีประโยชน์เมื่อคุณต้องการดูว่า agent กำลังทำอะไรแบบ real-time, โต้ตอบกับหน้าเว็บที่ต้องใช้ cookies/sessions ของคุณเอง, หรือหลีกเลี่ยงค่าใช้จ่ายของ cloud browser
:::note
/browser connect เป็น interactive-CLI slash command - มันไม่ได้ถูกส่งผ่าน gateway หากคุณพยายามรันมันภายใน WebUI, Telegram, Discord, หรือ gateway chat อื่นๆ ข้อความจะถูกส่งไปยัง agent เป็น plain text และคำสั่งจะไม่ทำงาน ให้เริ่ม Hermes จาก terminal (hermes หรือ hermes chat) และใช้ /browser connect ที่นั่น
:::
ใน CLI ให้ใช้:
/browser connect # Connect to Chrome at ws://localhost:9222
/browser connect ws://host:port # Connect to a specific CDP endpoint
/browser status # Check current connection
/browser disconnect # Detach and return to cloud/local modeหาก Chrome ยังไม่ได้รันพร้อม remote debugging, Hermes จะพยายาม auto-launch มันด้วย --remote-debugging-port=9222
:::tip ในการเริ่ม Chrome ด้วยตนเองพร้อมเปิดใช้งาน CDP ให้ใช้ user-data-dir เฉพาะ เพื่อให้ debug port ทำงานได้แม้ว่า Chrome จะกำลังรันด้วย profile ปกติของคุณอยู่แล้ว:
# Linux
google-chrome \
--remote-debugging-port=9222 \
--user-data-dir=$HOME/.hermes/chrome-debug \
--no-first-run \
--no-default-browser-check &
# macOS
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--remote-debugging-port=9222 \
--user-data-dir="$HOME/.hermes/chrome-debug" \
--no-first-run \
--no-default-browser-check &จากนั้นเปิด Hermes CLI และรัน /browser connect
Why --user-data-dir? หากไม่มีสิ่งนี้ การเปิด Chrome ในขณะที่ Chrome instance ปกติกำลังทำงานอยู่ มักจะเปิดหน้าต่างใหม่บน process ที่มีอยู่ - และ process ที่มีอยู่ไม่ได้เริ่มต้นด้วย --remote-debugging-port ดังนั้น port 9222 จึงไม่เปิด user-data-dir เฉพาะจะบังคับให้เกิด Chrome process ใหม่ที่ debug port สามารถรับฟังได้ --no-first-run --no-default-browser-check จะข้าม wizard การเปิดครั้งแรกสำหรับ profile ใหม่
:::
เมื่อเชื่อมต่อผ่าน CDP, เครื่องมือ browser ทั้งหมด (browser_navigate, browser_click, ฯลฯ) จะทำงานบน live Chrome instance ของคุณแทนการสร้าง cloud session
Local browser mode
หากคุณไม่ได้ตั้งค่า cloud credentials ใดๆ และไม่ได้ใช้ /browser connect, Hermes ยังสามารถใช้ browser tools ผ่านการติดตั้ง Chromium ในเครื่องที่ขับเคลื่อนโดย agent-browser
Optional Environment Variables
# Residential proxies for better CAPTCHA solving (default: "true")
BROWSERBASE_PROXIES=true
# Advanced stealth with custom Chromium — requires Scale Plan (default: "false")
BROWSERBASE_ADVANCED_STEALTH=false
# Session reconnection after disconnects — requires paid plan (default: "true")
BROWSERBASE_KEEP_ALIVE=true
# Custom session timeout in milliseconds (default: project default)
# Examples: 600000 (10min), 1800000 (30min)
BROWSERBASE_SESSION_TIMEOUT=600000
# Inactivity timeout before auto-cleanup in seconds (default: 120)
BROWSER_INACTIVITY_TIMEOUT=120Install agent-browser CLI
npm install -g agent-browser
# Or install locally in the repo:
npm install:::info
เครื่องมือ browser ต้องถูกรวมอยู่ในรายการ toolsets ของ config หรือเปิดใช้งานผ่าน hermes config set toolsets '["hermes-cli", "browser"]'
:::
Available Tools
browser_navigate
นำทางไปยัง URL ต้องเรียกใช้ก่อนเครื่องมือ browser อื่นๆ ทั้งหมด เป็นการเริ่มต้น session ของ Browserbase
Navigate to https://github.com/NousResearch:::tip
สำหรับการดึงข้อมูลแบบง่าย ให้ใช้ web_search หรือ web_extract - พวกมันเร็วกว่าและถูกกว่า ใช้เครื่องมือ browser เมื่อคุณต้องการ โต้ตอบ กับหน้าเว็บ (คลิกปุ่ม, กรอกแบบฟอร์ม, จัดการเนื้อหาแบบ dynamic)
:::
browser_snapshot
รับ snapshot แบบ text-based ของ accessibility tree ของหน้าปัจจุบัน คืนค่าองค์ประกอบแบบโต้ตอบพร้อม ref IDs เช่น @e1, @e2 สำหรับใช้กับ browser_click และ browser_type
full=false(default): มุมมองแบบกระชับที่แสดงเฉพาะองค์ประกอบแบบโต้ตอบfull=true: เนื้อหาหน้าเว็บที่สมบูรณ์
Snapshot ที่มีขนาดเกิน 8000 characters จะถูก LLM สรุปโดยอัตโนมัติ
browser_click
คลิกองค์ประกอบที่ระบุด้วย ref ID จาก snapshot
Click @e5 to press the "Sign In" buttonbrowser_type
พิมพ์ข้อความลงในช่อง input field ล้างช่องก่อน จากนั้นจึงพิมพ์ข้อความใหม่
Type "hermes agent" into the search field @e3browser_scroll
เลื่อนหน้าขึ้นหรือลงเพื่อเปิดเผยเนื้อหาเพิ่มเติม
Scroll down to see more resultsbrowser_press
กดปุ่มคีย์บอร์ด มีประโยชน์สำหรับการส่งแบบฟอร์มหรือการนำทาง
Press Enter to submit the formคีย์ที่รองรับ: Enter, Tab, Escape, ArrowDown, ArrowUp, และอื่นๆ
browser_back
นำทางกลับไปยังหน้าก่อนหน้าใน browser history
browser_get_images
แสดงรายการรูปภาพทั้งหมดบนหน้าปัจจุบันพร้อม URL และ alt text มีประโยชน์สำหรับการค้นหารูปภาพเพื่อวิเคราะห์
browser_vision
ถ่าย screenshot และวิเคราะห์ด้วย vision AI ใช้สิ่งนี้เมื่อ text snapshots ไม่สามารถจับภาพข้อมูลภาพที่สำคัญได้ - มีประโยชน์อย่างยิ่งสำหรับ CAPTCHAs, layout ที่ซับซ้อน, หรือการตรวจสอบด้วยภาพ
Screenshot จะถูกบันทึกอย่างถาวรและคืนค่า file path พร้อมกับการวิเคราะห์ AI บน messaging platforms (Telegram, Discord, Slack, WhatsApp) คุณสามารถขอให้ agent แชร์ screenshot ได้ - มันจะถูกส่งเป็น native photo attachment ผ่านกลไก MEDIA:
What does the chart on this page show?Screenshots ถูกจัดเก็บใน ~/.hermes/cache/screenshots/ และถูกล้างโดยอัตโนมัติหลังจาก 24 ชั่วโมง
browser_console
รับ output ของ browser console (log/warn/error messages) และ uncaught JavaScript exceptions จากหน้าปัจจุบัน จำเป็นสำหรับการตรวจจับ JS errors แบบเงียบๆ ที่ไม่ปรากฏใน accessibility tree
Check the browser console for any JavaScript errorsใช้ clear=True เพื่อล้าง console หลังจากอ่าน เพื่อให้การเรียกใช้ครั้งต่อไปแสดงเฉพาะข้อความใหม่
browser_cdp
Raw Chrome DevTools Protocol passthrough - ช่องทางหลบหนีสำหรับ operations browser ที่ไม่ได้ครอบคลุมโดยเครื่องมืออื่น ใช้สำหรับการจัดการ native dialog, iframe-scoped evaluation, cookie/network control, หรือ CDP verb ใดๆ ที่ agent ต้องการ
มีให้ใช้เฉพาะเมื่อ CDP endpoint สามารถเข้าถึงได้เมื่อเริ่ม session - หมายความว่า /browser connect ได้เชื่อมต่อกับ Chrome ที่กำลังทำงานอยู่ หรือ browser.cdp_url ถูกตั้งค่าใน config.yaml โดยค่าเริ่มต้นของ local agent-browser mode, Camofox, และ cloud providers (Browserbase, Browser Use, Firecrawl) ยังไม่ได้เปิดเผย CDP ให้กับเครื่องมือนี้ - cloud providers มี CDP URLs ต่อ session แต่ live-session routing เป็นสิ่งที่ต้องทำต่อไป
CDP method reference: https://chromedevtools.github.io/devtools-protocol/ - agent สามารถ web_extract หน้าของ method เฉพาะเพื่อค้นหา parameters และ return shape
รูปแบบทั่วไป:
# List tabs (browser-level, no target_id)
browser_cdp(method="Target.getTargets")
# Handle a native JS dialog on a tab
browser_cdp(method="Page.handleJavaScriptDialog",
params={"accept": true, "promptText": ""},
target_id="<tabId>")
# Evaluate JS in a specific tab
browser_cdp(method="Runtime.evaluate",
params={"expression": "document.title", "returnByValue": true},
target_id="<tabId>")
# Get all cookies
browser_cdp(method="Network.getAllCookies")Browser-level methods (Target.*, Browser.*, Storage.*) จะไม่มี target_id methods ระดับหน้า (Page.*, Runtime.*, DOM.*, Emulation.*) ต้องการ target_id จาก Target.getTargets แต่ละการเรียกใช้เป็นอิสระ - session จะไม่คงอยู่ระหว่างการเรียกใช้
Practical Examples
Filling Out a Web Form
User: Sign up for an account on example.com with my email [email protected]
Agent workflow:
1. browser_navigate("https://example.com/signup")
2. browser_snapshot() → sees form fields with refs
3. browser_type(ref="@e3", text="[email protected]")
4. browser_type(ref="@e5", text="SecurePass123")
5. browser_click(ref="@e8") → clicks "Create Account"
6. browser_snapshot() → confirms successResearching Dynamic Content
User: What are the top trending repos on GitHub right now?
Agent workflow:
1. browser_navigate("https://github.com/trending")
2. browser_snapshot(full=true) → reads trending repo list
3. Returns formatted resultsSession Recording
บันทึก session browser โดยอัตโนมัติเป็นไฟล์วิดีโอ WebM:
browser:
record_sessions: true # default: falseเมื่อเปิดใช้งาน การบันทึกจะเริ่มโดยอัตโนมัติในการเรียกใช้ browser_navigate ครั้งแรก และบันทึกไปยัง ~/.hermes/browser_recordings/ เมื่อ session ปิด ทำงานได้ทั้งในโหมด local และ cloud (Browserbase) การบันทึกที่เก่ากว่า 72 ชั่วโมงจะถูกล้างโดยอัตโนมัติ
Stealth Features
Browserbase ให้ความสามารถ stealth โดยอัตโนมัติ:
| Feature | Default | Notes |
|---|---|---|
| Basic Stealth | Always on | Random fingerprints, viewport randomization, CAPTCHA solving |
| Residential Proxies | On | Routes through residential IPs for better access |
| Advanced Stealth | Off | Custom Chromium build, requires Scale Plan |
| Keep Alive | On | Session reconnection after network hiccups |
:::note
หากคุณไม่มีฟีเจอร์แบบเสียเงินในแผนของคุณ Hermes จะ fallback โดยอัตโนมัติ - โดยการปิด keepAlive ก่อน จากนั้น proxies - เพื่อให้การท่องเว็บยังคงใช้งานได้ในแผนฟรี
:::
Session Management
- แต่ละ task จะได้รับ browser session ที่ถูกแยกออกโดย Browserbase
- Session จะถูกล้างโดยอัตโนมัติหลังจากไม่มีกิจกรรม (default: 2 นาที)
- background thread จะตรวจสอบทุก 30 วินาทีสำหรับ session ที่ล้าสมัย
- การ cleanup ฉุกเฉินจะทำงานเมื่อ process ออก เพื่อป้องกัน session ที่ถูกทิ้งไว้
- Session จะถูกปล่อยผ่าน Browserbase API (
REQUEST_RELEASEstatus)
Limitations
- Text-based interaction - อาศัย accessibility tree ไม่ใช่ pixel coordinates
- Snapshot size - หน้าเว็บขนาดใหญ่อาจถูกตัดทอนหรือถูก LLM สรุปที่ 8000 characters
- Session timeout - cloud sessions หมดอายุตามการตั้งค่าแผนของ provider ของคุณ
- Cost - cloud sessions ใช้ provider credits; session จะถูกล้างโดยอัตโนมัติเมื่อการสนทนาสิ้นสุดหรือหลังจากไม่มีกิจกรรม ใช้
/browser connectสำหรับการท่องเว็บในเครื่องฟรี - No file downloads - ไม่สามารถดาวน์โหลดไฟล์จาก browser ได้
extent analysis
TL;DR
The issue seems to be related to the Hermes Agent's browser automation feature, possibly due to misconfiguration or incompatibility with the cloud provider or local browser setup.
Guidance
- Verify cloud provider credentials: Ensure that the Browserbase or Browser Use API keys are correctly set in the
~/.hermes/.envfile. - Check local browser setup: If using local Chrome via CDP, verify that Chrome is running with remote debugging enabled and that the CDP endpoint is correctly connected.
- Review browser tool configuration: Confirm that the
browsertool is enabled in the Hermes configuration and that the correct provider is selected (e.g., Browserbase, Browser Use, or local browser). - Inspect browser session logs: Check the browser session logs for any errors or issues that may indicate the cause of the problem.
- Test with a simple browser navigation: Try using the
browser_navigatetool to navigate to a simple webpage to isolate the issue.
Example
To test the browser automation feature, you can use the following command:
/browser navigate https://www.example.comThis should navigate the browser to the specified URL. If this fails, it may indicate a configuration issue or problem with the cloud provider or local browser setup.
Notes
- Ensure that the Hermes Agent is running with the correct configuration and that the browser tool is enabled.
- If using a cloud provider, verify that the API keys are valid and that the provider is configured correctly.
- If using local Chrome via CDP, ensure that Chrome is running with remote debugging enabled and that the CDP endpoint is correctly connected.
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