2026-05-09 06:31:13,072 INFO hermes_cli.plugins: Plugin 'openai' registered image_gen provider: openai
2026-05-09 06:31:13,073 INFO hermes_cli.plugins: Plugin 'openai-codex' registered image_gen provider: openai-codex
2026-05-09 06:31:13,075 INFO hermes_cli.plugins: Plugin 'xai' registered image_gen provider: xai
2026-05-09 06:31:13,543 INFO hermes_cli.plugins: Plugin discovery complete: 9 found, 6 enabled
2026-05-09 06:31:17,678 INFO tools.mcp_tool: MCP server 'airtable' (stdio): registered 20 tool(s): mcp_airtable_list_records, mcp_airtable_search_records, mcp_airtable_list_bases, mcp_airtable_list_tables, mcp_airtable_describe_table, mcp_airtable_get_record, mcp_airtable_create_record, mcp_airtable_update_records, mcp_airtable_delete_records, mcp_airtable_create_table, mcp_airtable_update_table, mcp_airtable_create_field, mcp_airtable_update_field, mcp_airtable_create_comment, mcp_airtable_list_comments, mcp_airtable_upload_attachment, mcp_airtable_list_resources, mcp_airtable_read_resource, mcp_airtable_list_prompts, mcp_airtable_get_prompt
2026-05-09 06:31:17,678 INFO tools.mcp_tool: MCP: registered 20 tool(s) from 1 server(s)
2026-05-09 06:31:17,678 INFO tools.mcp_tool:   MCP: 20 tool(s) from 1 server(s)
2026-05-09 06:31:18,765 INFO run_agent: Loaded environment variables from /root/.hermes/profiles/rr/.env
2026-05-09 06:31:18,765 INFO run_agent: Loaded environment variables from /usr/local/lib/hermes-agent/.env
2026-05-09 06:31:23,593 INFO agent.curator_backup: Curator snapshot created: 2026-05-08T20-31-23Z (pre-curator-run)
2026-05-09 06:31:23,622 INFO tools.tirith_security: tirith not found — downloading latest release for x86_64-unknown-linux-gnu...
2026-05-09 06:31:24,824 INFO tools.tirith_security: cosign not on PATH — installing tirith with SHA-256 verification only (install cosign for full supply chain verification)
2026-05-09 06:31:25,040 INFO tools.tirith_security: tirith installed to /root/.hermes/profiles/rr/bin/tirith (SHA-256 only)
2026-05-09 06:31:27,269 INFO agent.auxiliary_client: Auxiliary auto-detect: using openrouter (google/gemini-3-flash-preview)
2026-05-09 06:31:28,513 INFO [20260509_063119_f6b749] root: Fallback activated: k2.6-thinking → deepseek-v4-flash (deepseek)
2026-05-09 06:31:29,243 WARNING [20260509_063119_f6b749] agent.auxiliary_client: resolve_provider_client: unknown provider 'openai'
2026-05-09 06:31:29,243 WARNING [20260509_063119_f6b749] root: Fallback to openai failed: provider not configured
2026-05-09 06:31:37,240 ERROR [20260509_063119_f6b749] root: API call failed after 3 retries. HTTP 402: Insufficient Balance | provider=deepseek model=deepseek-v4-flash msgs=2 tokens=~3,100
2026-05-09 06:32:39,412 ERROR asyncio: unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-11' coro=<Application.run_async() done, defined at /usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py:620> exception=OSError(5, 'Input/output error')>
Traceback (most recent call last):
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete
    self.run_forever()
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/asyncio/base_events.py", line 608, in run_forever
    self._run_once()
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/asyncio/base_events.py", line 1898, in _run_once
    event_list = self._selector.select(timeout)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/uv/python/cpython-3.11.15-linux-x86_64-gnu/lib/python3.11/selectors.py", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/hermes-agent/cli.py", line 12069, in _signal_handler
    raise KeyboardInterrupt()
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 746, in _run_async
    result = await f
             ^^^^^^^
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 751, in _run_async
    self._redraw(render_as_done=True)
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 543, in _redraw
    self.context.copy().run(run_in_context)
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 524, in run_in_context
    self.renderer.render(self, self.layout, is_done=render_as_done)
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/renderer.py", line 726, in render
    output.flush()
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/output/vt100.py", line 706, in flush
    flush_stdout(self.stdout, data)
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/output/flush_stdout.py", line 37, in flush_stdout
    stdout.flush()
OSError: [Errno 5] Input/output error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 886, in run_async
    return await _run_async(f)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 756, in _run_async
    self.renderer.reset()
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/renderer.py", line 429, in reset
    self.output.flush()
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/output/vt100.py", line 706, in flush
    flush_stdout(self.stdout, data)
  File "/usr/local/lib/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/output/flush_stdout.py", line 37, in flush_stdout
    stdout.flush()
OSError: [Errno 5] Input/output error
