Minihits2142 commited on
Commit
c1ce5ff
Β·
verified Β·
1 Parent(s): 870beeb

Hermes Agent backup - 2026-05-03 04:50:04

Browse files
Files changed (6) hide show
  1. config/.env +2 -0
  2. config/config.yaml +25 -25
  3. logs/agent.log +50 -0
  4. logs/errors.log +13 -0
  5. logs/gateway.log +38 -0
  6. metadata.json +1 -1
config/.env CHANGED
@@ -3,4 +3,6 @@ API_SERVER_HOST=127.0.0.1
3
  API_SERVER_PORT=8642
4
  GATEWAY_ALLOW_ALL_USERS=true
5
  HERMES_MODEL=moonshotai/kimi-k2-thinking
 
 
6
  TELEGRAM_BOT_TOKEN=8741452770:AAE2IzlOALVnpXeRKRM66sAvYPQVEuioQlw
 
3
  API_SERVER_PORT=8642
4
  GATEWAY_ALLOW_ALL_USERS=true
5
  HERMES_MODEL=moonshotai/kimi-k2-thinking
6
+ NVIDIA_API_KEY=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
7
+ NVIDIA_BASE_URL=https://integrate.api.nvidia.com/v1
8
  TELEGRAM_BOT_TOKEN=8741452770:AAE2IzlOALVnpXeRKRM66sAvYPQVEuioQlw
config/config.yaml CHANGED
@@ -1,39 +1,22 @@
1
- api_server:
2
- enabled: true
3
- port: 8642
4
- host: 127.0.0.1
5
- terminal:
6
- backend: local
7
- timeout: 300
8
- shell: /bin/bash
9
- compression:
10
- enabled: true
11
- threshold: 0.5
12
  model:
13
  default: moonshotai/kimi-k2-thinking
14
  provider: nvidia
15
  base_url: https://integrate.api.nvidia.com/v1
16
- display:
17
- skin: default
18
- show_tool_progress: true
19
- show_resume: true
20
- spinner: dots
21
- cron:
22
  enabled: true
23
- tick_interval: 60
24
- delegation:
25
- model: ''
26
- provider: nvidia
27
- max_iterations: 50
28
- reasoning_effort: medium
29
- memory:
30
  enabled: true
31
- provider: local
 
32
  agent:
33
  max_iterations: 50
34
  approval_mode: ask
35
  dangerous_command_approval: ask
36
  gateway_timeout: 300
 
 
 
37
  auxiliary:
38
  vision:
39
  provider: nvidia
@@ -72,3 +55,20 @@ auxiliary:
72
  provider: auto
73
  model: ''
74
  timeout: 30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  model:
2
  default: moonshotai/kimi-k2-thinking
3
  provider: nvidia
4
  base_url: https://integrate.api.nvidia.com/v1
5
+ compression:
 
 
 
 
 
6
  enabled: true
7
+ threshold: 0.5
8
+ api_server:
 
 
 
 
 
9
  enabled: true
10
+ port: 8642
11
+ host: 127.0.0.1
12
  agent:
13
  max_iterations: 50
14
  approval_mode: ask
15
  dangerous_command_approval: ask
16
  gateway_timeout: 300
17
+ memory:
18
+ enabled: true
19
+ provider: local
20
  auxiliary:
21
  vision:
22
  provider: nvidia
 
55
  provider: auto
56
  model: ''
57
  timeout: 30
58
+ display:
59
+ skin: default
60
+ show_tool_progress: true
61
+ show_resume: true
62
+ spinner: dots
63
+ delegation:
64
+ model: ''
65
+ provider: nvidia
66
+ max_iterations: 50
67
+ reasoning_effort: medium
68
+ terminal:
69
+ backend: local
70
+ timeout: 300
71
+ shell: /bin/bash
72
+ cron:
73
+ enabled: true
74
+ tick_interval: 60
logs/agent.log CHANGED
@@ -124,3 +124,53 @@ RuntimeError: Provider 'nvidia' is set in config.yaml but no API key was found.
124
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
125
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
126
  2026-05-03 04:34:02,002 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:34:02 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
125
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
126
  2026-05-03 04:34:02,002 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:34:02 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
127
+ 2026-05-03 04:45:06,304 INFO tools.tirith_security: tirith not found β€” downloading latest release for x86_64-unknown-linux-gnu...
128
+ 2026-05-03 04:45:06,314 INFO gateway.run: Starting Hermes Gateway...
129
+ 2026-05-03 04:45:06,314 INFO gateway.run: Session storage: /data/.hermes/sessions
130
+ 2026-05-03 04:45:06,314 INFO gateway.run: Agent budget: max_iterations=90 (agent.max_turns from config.yaml, or HERMES_MAX_ITERATIONS from .env, or default 90)
131
+ 2026-05-03 04:45:06,401 INFO gateway.run: Connecting to api_server...
132
+ 2026-05-03 04:45:06,408 WARNING gateway.platforms.api_server: [Api_Server] ⚠️ No API key configured (API_SERVER_KEY / platforms.api_server.key). All requests will be accepted without authentication. Set an API key for production deployments to prevent unauthorized access to sessions, responses, and cron jobs.
133
+ 2026-05-03 04:45:06,408 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8642 (model: hermes-agent)
134
+ 2026-05-03 04:45:06,412 INFO gateway.run: βœ“ api_server connected
135
+ 2026-05-03 04:45:06,576 INFO gateway.run: Connecting to telegram...
136
+ 2026-05-03 04:45:06,623 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:45:06 +0000] "GET /health HTTP/1.1" 200 266 "-" "curl/8.14.1"
137
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
138
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
139
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
140
+ 2026-05-03 04:45:06,694 INFO tools.tirith_security: cosign not on PATH β€” installing tirith with SHA-256 verification only (install cosign for full supply chain verification)
141
+ 2026-05-03 04:45:06,830 INFO tools.tirith_security: tirith installed to /data/.hermes/bin/tirith (SHA-256 only)
142
+ 2026-05-03 04:45:07,175 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:45:07 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
143
+ 2026-05-03 04:45:10,643 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:45:10 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
144
+ 2026-05-03 04:45:10,910 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:45:10 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
145
+ 2026-05-03 04:45:16,767 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
146
+ 2026-05-03 04:45:17,148 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:45:17 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
147
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
148
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
149
+ 2026-05-03 04:45:36,589 ERROR gateway.run: βœ— telegram error: telegram connect timed out after 30s
150
+ 2026-05-03 04:45:36,614 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
151
+ 2026-05-03 04:45:36,623 INFO gateway.run: Gateway running with 1 platform(s)
152
+ 2026-05-03 04:45:36,627 INFO gateway.run: Channel directory built: 0 target(s)
153
+ 2026-05-03 04:45:36,627 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): telegram
154
+ 2026-05-03 04:45:36,627 INFO gateway.run: Press Ctrl+C to stop
155
+ 2026-05-03 04:45:36,632 INFO gateway.run: Cron ticker started (interval=60s)
156
+ 2026-05-03 04:45:41,633 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s)
157
+ 2026-05-03 04:46:06,656 INFO gateway.run: Reconnecting telegram (attempt 2/20)...
158
+ 2026-05-03 04:46:06,683 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
159
+ 2026-05-03 04:46:06,684 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
160
+ 2026-05-03 04:46:06,684 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
161
+ 2026-05-03 04:46:16,798 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
162
+ 2026-05-03 04:46:17,122 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:46:17 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
163
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
164
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
165
+ 2026-05-03 04:46:36,661 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 60s
166
+ 2026-05-03 04:47:17,534 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:47:17 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
167
+ 2026-05-03 04:47:36,732 INFO gateway.run: Reconnecting telegram (attempt 3/20)...
168
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
169
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
170
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
171
+ 2026-05-03 04:47:46,883 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
172
+ 2026-05-03 04:47:56,965 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
173
+ 2026-05-03 04:47:56,967 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
174
+ 2026-05-03 04:48:06,737 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 120s
175
+ 2026-05-03 04:48:17,346 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:48:17 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
176
+ 2026-05-03 04:49:17,242 INFO aiohttp.access: 127.0.0.1 [03/May/2026:04:49:17 +0000] "GET /health HTTP/1.1" 200 266 "-" "node"
logs/errors.log CHANGED
@@ -31,3 +31,16 @@ RuntimeError: Provider 'nvidia' is set in config.yaml but no API key was found.
31
  2026-05-03 04:33:41,062 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
32
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
33
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  2026-05-03 04:33:41,062 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
32
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
33
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
34
+ 2026-05-03 04:45:06,408 WARNING gateway.platforms.api_server: [Api_Server] ⚠️ No API key configured (API_SERVER_KEY / platforms.api_server.key). All requests will be accepted without authentication. Set an API key for production deployments to prevent unauthorized access to sessions, responses, and cron jobs.
35
+ 2026-05-03 04:45:16,767 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
36
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
37
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
38
+ 2026-05-03 04:45:36,589 ERROR gateway.run: βœ— telegram error: telegram connect timed out after 30s
39
+ 2026-05-03 04:46:16,798 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
40
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
41
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
42
+ 2026-05-03 04:46:36,661 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 60s
43
+ 2026-05-03 04:47:46,883 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
44
+ 2026-05-03 04:47:56,965 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
45
+ 2026-05-03 04:47:56,967 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
46
+ 2026-05-03 04:48:06,737 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 120s
logs/gateway.log CHANGED
@@ -75,3 +75,41 @@ RuntimeError: Provider 'nvidia' is set in config.yaml but no API key was found.
75
  2026-05-03 04:33:41,062 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
76
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
77
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  2026-05-03 04:33:41,062 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
76
  2026-05-03 04:33:41,063 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
77
  2026-05-03 04:33:50,840 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 300s
78
+ 2026-05-03 04:45:06,314 INFO gateway.run: Starting Hermes Gateway...
79
+ 2026-05-03 04:45:06,314 INFO gateway.run: Session storage: /data/.hermes/sessions
80
+ 2026-05-03 04:45:06,314 INFO gateway.run: Agent budget: max_iterations=90 (agent.max_turns from config.yaml, or HERMES_MAX_ITERATIONS from .env, or default 90)
81
+ 2026-05-03 04:45:06,401 INFO gateway.run: Connecting to api_server...
82
+ 2026-05-03 04:45:06,408 WARNING gateway.platforms.api_server: [Api_Server] ⚠️ No API key configured (API_SERVER_KEY / platforms.api_server.key). All requests will be accepted without authentication. Set an API key for production deployments to prevent unauthorized access to sessions, responses, and cron jobs.
83
+ 2026-05-03 04:45:06,408 INFO gateway.platforms.api_server: [Api_Server] API server listening on http://127.0.0.1:8642 (model: hermes-agent)
84
+ 2026-05-03 04:45:06,412 INFO gateway.run: βœ“ api_server connected
85
+ 2026-05-03 04:45:06,576 INFO gateway.run: Connecting to telegram...
86
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
87
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
88
+ 2026-05-03 04:45:06,647 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
89
+ 2026-05-03 04:45:16,767 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
90
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
91
+ 2026-05-03 04:45:26,855 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
92
+ 2026-05-03 04:45:36,589 ERROR gateway.run: βœ— telegram error: telegram connect timed out after 30s
93
+ 2026-05-03 04:45:36,614 INFO gateway.platforms.telegram: [Telegram] Disconnected from Telegram
94
+ 2026-05-03 04:45:36,623 INFO gateway.run: Gateway running with 1 platform(s)
95
+ 2026-05-03 04:45:36,627 INFO gateway.run: Channel directory built: 0 target(s)
96
+ 2026-05-03 04:45:36,627 INFO gateway.run: Starting reconnection watcher for 1 failed platform(s): telegram
97
+ 2026-05-03 04:45:36,627 INFO gateway.run: Press Ctrl+C to stop
98
+ 2026-05-03 04:45:36,632 INFO gateway.run: Cron ticker started (interval=60s)
99
+ 2026-05-03 04:45:41,633 INFO gateway.run: kanban dispatcher: embedded in gateway (interval=60.0s)
100
+ 2026-05-03 04:46:06,656 INFO gateway.run: Reconnecting telegram (attempt 2/20)...
101
+ 2026-05-03 04:46:06,683 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
102
+ 2026-05-03 04:46:06,684 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
103
+ 2026-05-03 04:46:06,684 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
104
+ 2026-05-03 04:46:16,798 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
105
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
106
+ 2026-05-03 04:46:26,881 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
107
+ 2026-05-03 04:46:36,661 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 60s
108
+ 2026-05-03 04:47:36,732 INFO gateway.run: Reconnecting telegram (attempt 3/20)...
109
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram_network: DoH discovery yielded no new IPs (system DNS: 149.154.166.110); using seed fallback IPs 149.154.167.220
110
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram: [Telegram] Auto-discovered Telegram fallback IPs: 149.154.167.220
111
+ 2026-05-03 04:47:36,765 INFO gateway.platforms.telegram: [Telegram] Telegram fallback IPs active: 149.154.167.220
112
+ 2026-05-03 04:47:46,883 WARNING gateway.platforms.telegram_network: [Telegram] Primary api.telegram.org connection failed (); trying fallback IPs 149.154.167.220
113
+ 2026-05-03 04:47:56,965 WARNING gateway.platforms.telegram_network: [Telegram] Fallback IP 149.154.167.220 failed:
114
+ 2026-05-03 04:47:56,967 WARNING gateway.platforms.telegram: [Telegram] Connect attempt 1/8 failed: Timed out β€” retrying in 1s
115
+ 2026-05-03 04:48:06,737 WARNING gateway.run: Reconnect telegram error: telegram connect timed out after 30s, next retry in 120s
metadata.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "timestamp": "2026-05-03T04:34:04.114155",
3
  "version": "0.10.0",
4
  "hermes_home": "/data/.hermes"
5
  }
 
1
  {
2
+ "timestamp": "2026-05-03T04:50:04.431094",
3
  "version": "0.10.0",
4
  "hermes_home": "/data/.hermes"
5
  }