Dmitry Beresnev commited on
Commit
20f1d0e
·
1 Parent(s): e7e04b2

add hermes agents config

Browse files
Files changed (4) hide show
  1. .gitignore +3 -0
  2. Caddyfile +4 -0
  3. hermes-agent.json +32 -0
  4. supervisord.conf +11 -0
.gitignore CHANGED
@@ -41,3 +41,6 @@ vault/**/*.md
41
  # OS files
42
  .DS_Store
43
  Thumbs.db
 
 
 
 
41
  # OS files
42
  .DS_Store
43
  Thumbs.db
44
+
45
+ #
46
+ *.md
Caddyfile CHANGED
@@ -29,6 +29,10 @@ handle /nullclaw* {
29
  reverse_proxy 127.0.0.1:{$NULLCLAW_PORT}
30
  }
31
 
 
 
 
 
32
  # OpenClaw UI uses absolute runtime paths; proxy them too.
33
  handle /ws* {
34
  reverse_proxy 127.0.0.1:18789 {
 
29
  reverse_proxy 127.0.0.1:{$NULLCLAW_PORT}
30
  }
31
 
32
+ handle /hermes-agent* {
33
+ reverse_proxy 127.0.0.1:{$HERMES_AGENT_PORT}
34
+ }
35
+
36
  # OpenClaw UI uses absolute runtime paths; proxy them too.
37
  handle /ws* {
38
  reverse_proxy 127.0.0.1:18789 {
hermes-agent.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "agents": {
3
+ "defaults": {
4
+ "workspace": "/app/vault",
5
+ "model_name": "deepseek-chat",
6
+ "max_tokens": 8192,
7
+ "temperature": 0.7,
8
+ "max_tool_iterations": 20
9
+ }
10
+ },
11
+ "model_list": [
12
+ {
13
+ "model_name": "deepseek-chat",
14
+ "model": "openai/deepseek-chat",
15
+ "api_key": "${LLM_SPACE_API_KEY}",
16
+ "base_url": "https://researchengineering-agi.hf.space/v1",
17
+ "request_timeout": 120
18
+ }
19
+ ],
20
+ "gateway": {
21
+ "host": "127.0.0.1",
22
+ "port": 18794
23
+ },
24
+ "autonomy": {
25
+ "level": "supervised",
26
+ "workspace_only": true,
27
+ "max_actions_per_hour": 20
28
+ },
29
+ "tunnel": {
30
+ "kind": "none"
31
+ }
32
+ }
supervisord.conf CHANGED
@@ -100,3 +100,14 @@ killasgroup=true
100
  stdout_logfile=/tmp/nullclaw.log
101
  stderr_logfile=/tmp/nullclaw.err.log
102
  environment=HOME="/root",NULLCLAW_CONFIG_PATH="/app/nullclaw.json",NULLCLAW_PORT="3000",NULLCLAW_BASE_PATH="/nullclaw"
 
 
 
 
 
 
 
 
 
 
 
 
100
  stdout_logfile=/tmp/nullclaw.log
101
  stderr_logfile=/tmp/nullclaw.err.log
102
  environment=HOME="/root",NULLCLAW_CONFIG_PATH="/app/nullclaw.json",NULLCLAW_PORT="3000",NULLCLAW_BASE_PATH="/nullclaw"
103
+
104
+ [program:hermes-agent]
105
+ command=/bin/sh -lc "if [ \"${HERMES_AGENT_ENABLED:-1}\" = \"1\" ]; then ${HERMES_AGENT_CMD} ${HERMES_AGENT_ARGS}; else echo '[hermes-agent] disabled'; sleep infinity; fi"
106
+ autorestart=true
107
+ startsecs=5
108
+ startretries=10
109
+ stopasgroup=true
110
+ killasgroup=true
111
+ stdout_logfile=/tmp/hermes-agent.log
112
+ stderr_logfile=/tmp/hermes-agent.err.log
113
+ environment=HOME="/root",HERMES_AGENT_CONFIG_PATH="/app/hermes-agent.json",HERMES_AGENT_PORT="18794",HERMES_AGENT_BASE_PATH="/hermes-agent"