mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(acp): add hermes-acp toolset with curated coding-focused tools
Adds a dedicated hermes-acp toolset with 27 tools appropriate for editor integration. Excludes tools that don't make sense in an IDE: Excluded: - clarify (no multiple-choice UI in editors) - text_to_speech (no audio output) - image_generate (editors can't display generated images) - mixture_of_agents (heavy multi-model, not typical for editor) - send_message (messaging platform specific) - cronjob tools (server-side automation) - honcho, home assistant, RL tools Included: file ops, terminal, web, browser, code execution, delegation, vision, skills, memory, session search, todo. The session manager now creates AIAgent with enabled_toolsets=['hermes-acp'] so only the curated set is loaded.
This commit is contained in:
parent
cc61f54cd3
commit
3441911db0
2 changed files with 34 additions and 2 deletions
|
|
@ -113,9 +113,13 @@ class SessionManager:
|
|||
def _make_agent(self, model: str | None = None):
|
||||
if self._agent_factory is not None:
|
||||
return self._agent_factory()
|
||||
# Default: import and construct AIAgent with ACP platform
|
||||
# Default: import and construct AIAgent with ACP platform + toolset
|
||||
from run_agent import AIAgent
|
||||
kwargs = {"platform": "acp"}
|
||||
kwargs = {
|
||||
"platform": "acp",
|
||||
"enabled_toolsets": ["hermes-acp"],
|
||||
"quiet_mode": True,
|
||||
}
|
||||
if model:
|
||||
kwargs["model"] = model
|
||||
return AIAgent(**kwargs)
|
||||
|
|
|
|||
28
toolsets.py
28
toolsets.py
|
|
@ -225,6 +225,34 @@ TOOLSETS = {
|
|||
# which is gated on gateway running via its check_fn).
|
||||
# ==========================================================================
|
||||
|
||||
"hermes-acp": {
|
||||
"description": "Editor integration (VS Code, Zed, JetBrains) — coding-focused tools without messaging, audio, or clarify UI",
|
||||
"tools": [
|
||||
# Web
|
||||
"web_search", "web_extract",
|
||||
# Terminal + process management
|
||||
"terminal", "process",
|
||||
# File manipulation
|
||||
"read_file", "write_file", "patch", "search_files",
|
||||
# Vision (screenshots, diagrams, etc.)
|
||||
"vision_analyze",
|
||||
# Skills
|
||||
"skills_list", "skill_view", "skill_manage",
|
||||
# Browser automation
|
||||
"browser_navigate", "browser_snapshot", "browser_click",
|
||||
"browser_type", "browser_scroll", "browser_back",
|
||||
"browser_press", "browser_close", "browser_get_images",
|
||||
"browser_vision",
|
||||
# Planning & memory
|
||||
"todo", "memory",
|
||||
# Session history search
|
||||
"session_search",
|
||||
# Code execution + delegation
|
||||
"execute_code", "delegate_task",
|
||||
],
|
||||
"includes": []
|
||||
},
|
||||
|
||||
"hermes-cli": {
|
||||
"description": "Full interactive CLI toolset - all default tools plus cronjob management",
|
||||
"tools": _HERMES_CORE_TOOLS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue