hermes - ✅(Solved) Fix [Setup]: Termux [3 pull requests, 1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities 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

Loading…
GitHub stats
NousResearch/hermes-agent#17009Fetched 2026-04-29 06:37:54
View on GitHub
Comments
1
Participants
1
Timeline
9
Reactions
0
Timeline (top)
labeled ×4cross-referenced ×3commented ×1renamed ×1

Error Message

~ $ hermes update ⚕ Updating Hermes Agent...

→ Fetching updates... → Found 540 new commit(s) → Pulling updates... ✓ Cleared 16 stale pycache directories → Updating Python dependencies... error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [214 lines of output] Updating git repository https://github.com/apache/arrow-rs-object-store Updating crates.io index Updating git repository https://github.com/alex/pyo3-file warning: patch object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1) was not used in the crate graph help: Check that the patched package version and available features are compatible with the dependency requirements. If the patch has a different version from what is locked in the Cargo.lock file, run cargo update to use the new version. This may also occur with an optional dependency that is not enabled. Downloading crates ... Downloaded android-tzdata v0.1.1 Downloaded android_system_properties v0.1.5 Downloaded const-random v0.1.18 Downloaded const-random-macro v0.1.16 Downloaded cfg-if v1.0.1 Downloaded portable-atomic-util v0.2.4 Downloaded pyo3-async-runtimes v0.26.0 Downloaded windows-interface v0.59.1 Downloaded skeptic v0.13.7 Downloaded pyo3-bytes v0.4.0 Downloaded siphasher v1.0.1 Downloaded futures-sink v0.3.31 Downloaded crypto-common v0.1.6 Downloaded futures-io v0.3.31 Downloaded tower-service v0.3.3 Downloaded form_urlencoded v1.2.1 Downloaded tower-layer v0.3.3 Downloaded serde_urlencoded v0.7.1 Downloaded sync_wrapper v1.0.2 Downloaded errno v0.3.13 Downloaded windows-targets v0.53.2 Downloaded tinyvec_macros v0.1.1 Downloaded windows-implement v0.60.0 Downloaded wasm-bindgen-futures v0.4.50 Downloaded windows-strings v0.4.2 Downloaded windows-link v0.1.3 Downloaded want v0.3.1 Downloaded windows-result v0.3.4 Downloaded try-lock v0.2.5 Downloaded lru-slab v0.1.2 Downloaded iana-time-zone-haiku v0.1.2 Downloaded num-iter v0.1.45 Downloaded yoke-derive v0.8.0 Downloaded openssl-probe v0.1.6 Downloaded tokio-macros v2.5.0 Downloaded quinn-udp v0.5.13 Downloaded md-5 v0.10.6 Downloaded rustls-pemfile v2.2.0 Downloaded zerovec-derive v0.11.1 Downloaded simdutf8 v0.1.5 Downloaded unicase v2.8.1 Downloaded tinystr v0.8.1 Downloaded thiserror v2.0.12 Downloaded rustc-demangle v0.1.25 Downloaded rawpointer v0.2.1 Downloaded security-framework-sys v2.14.0 Downloaded num v0.4.3 Downloaded redox_syscall v0.5.13 Downloaded zeroize v1.8.1 Downloaded thiserror-impl v2.0.12 Downloaded tiny-keccak v2.0.2 Downloaded writeable v0.6.1 Downloaded slab v0.4.10 Downloaded atomic-waker v1.1.2 Downloaded rustls-native-certs v0.8.1 Downloaded async-trait v0.1.88 Downloaded potential_utf v0.1.2 Downloaded rand_core v0.9.3 Downloaded phf_shared v0.12.1 Downloaded itoa v1.0.15 Downloaded yoke v0.8.0 Downloaded bytecount v0.6.9 Downloaded futures-executor v0.3.31 Downloaded quote v1.0.40 Downloaded glob v0.3.2 Downloaded http-body-util v0.1.3 Downloaded windows-core v0.61.2 Downloaded tokio-rustls v0.26.2 Downloaded rustversion v1.0.21 Downloaded num-rational v0.4.2 Downloaded tempfile v3.20.0 Downloaded ipnet v2.11.0 Downloaded tracing-attributes v0.1.30 Downloaded http-body v1.0.1 Downloaded flatbuffers v25.2.10 Downloaded csv-core v0.1.12 Downloaded ryu v1.0.20 Downloaded wasm-streams v0.4.2 Downloaded lock_api v0.4.13 Downloaded phf v0.12.1 Downloaded humantime v2.2.0 Downloaded pyo3-arrow v0.12.0 Downloaded percent-encoding v2.3.1 Downloaded socket2 v0.5.10 Downloaded tinyvec v1.9.0 Downloaded rustls-pki-types v1.12.0 Downloaded tracing-core v0.1.34 Downloaded lexical-core v1.0.5 Downloaded semver v1.0.26 Downloaded unicode-ident v1.0.18 Downloaded serde_derive v1.0.219 Downloaded addr2line v0.24.2 Downloaded cargo_metadata v0.14.2 Downloaded atoi v2.0.0 Downloaded quinn v0.11.8 Downloaded arrow-row v56.0.0 Downloaded schannel v0.1.27 Downloaded pulldown-cmark v0.9.6 Downloaded error-chain v0.12.4 Downloaded url v2.5.4 Downloaded getrandom v0.2.16 Downloaded futures-channel v0.3.31 Downloaded arrow-string v56.0.0 Downloaded hyper-rustls v0.27.7 Downloaded num-complex v0.4.6 Downloaded rand v0.9.1 Downloaded serde v1.0.219 Downloaded rustls-webpki v0.103.4 Downloaded zerocopy-derive v0.8.26 Downloaded security-framework v3.2.0 Downloaded typenum v1.18.0 Downloaded litemap v0.8.0 Downloaded zerotrie v0.2.2 Downloaded parking_lot_core v0.9.11 Downloaded indoc v2.0.6 Downloaded iana-time-zone v0.1.63 Downloaded parking_lot v0.12.4 Downloaded arrow-arith v56.0.0 Downloaded arrow-csv v56.0.0 Downloaded arrow-data v56.0.0 Downloaded tower v0.5.2 Downloaded tracing v0.1.41 Downloaded matrixmultiply v0.3.10 Downloaded icu_properties v2.0.1 Downloaded futures v0.3.31 Downloaded half v2.6.0 Downloaded camino v1.1.10 Downloaded arrow-ord v56.0.0 Downloaded zerovec v0.11.2 Downloaded tower-http v0.6.6 Downloaded tokio-util v0.7.15 Downloaded arrow-buffer v56.0.0 Downloaded proc-macro2 v1.0.95 Downloaded lexical-write-integer v1.0.5 Downloaded serde_json v1.0.140 Downloaded icu_normalizer v2.0.0 Downloaded icu_provider v2.0.0 Downloaded icu_normalizer_data v2.0.0 Downloaded icu_locale_core v2.0.0 Downloaded arrow v56.0.0 Downloaded comfy-table v7.1.4 Downloaded bytes v1.10.1 Downloaded arrow-schema v56.0.0 Downloaded arrow-select v56.0.0 Downloaded arrow-json v56.0.0 Downloaded icu_collections v2.0.0 Downloaded quick-xml v0.38.0 Downloaded winnow v0.7.12 Downloaded memchr v2.7.5 Downloaded reqwest v0.12.22 Downloaded indexmap v2.10.0 Downloaded arrow-cast v56.0.0 Downloaded http v1.3.1 Downloaded mio v1.0.4 Downloaded io-uring v0.7.8 Downloaded numpy v0.26.0 Downloaded lexical-write-float v1.0.5 Downloaded hyper-util v0.1.15 Downloaded quinn-proto v0.11.12 Downloaded arrow-ipc v56.0.0 Downloaded cc v1.2.29 Downloaded backtrace v0.3.75 Downloaded zerocopy v0.8.26 Downloaded iri-string v0.7.8 Downloaded idna v1.0.3 Downloaded regex v1.11.1 Downloaded icu_properties_data v2.0.1 Downloaded hyper v1.6.0 Downloaded libm v0.2.15 Downloaded syn v2.0.104 Downloaded unicode-width v0.2.1 Downloaded h2 v0.4.11 Downloaded hashbrown v0.15.4 Downloaded chrono v0.4.41 Downloaded arrow-array v56.0.0 Downloaded ndarray v0.16.1 Downloaded object_store v0.12.3 Downloaded gimli v0.31.1 Downloaded object v0.36.7 Downloaded rustls v0.23.29 Downloaded rustix v1.0.8 Downloaded chrono-tz v0.10.4 Downloaded libc v0.2.174 Downloaded csv v1.3.1 Downloaded web-sys v0.3.77 Downloaded regex-automata v0.4.9 Downloaded linux-raw-sys v0.9.4 Downloaded windows_x86_64_gnullvm v0.53.0 Downloaded windows_aarch64_gnullvm v0.53.0 Downloaded windows_x86_64_msvc v0.53.0 Downloaded windows_aarch64_msvc v0.53.0 Downloaded windows_i686_gnullvm v0.53.0 Downloaded windows_i686_gnu v0.53.0 Downloaded windows_x86_64_gnu v0.53.0 Downloaded windows_i686_msvc v0.53.0 Downloaded tokio v1.46.1 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> obstore

note: This is an issue with the package mentioned above, not pip. hint: See above for details. ⚠ Optional extras failed, reinstalling base dependencies and retrying extras individually... error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [10 lines of output] 📦 Including license file LICENSE 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options bindings from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> watchfiles

note: This is an issue with the package mentioned above, not pip. hint: See above for details. error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] warning: patch object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1) was not used in the crate graph help: Check that the patched package version and available features are compatible with the dependency requirements. If the patch has a different version from what is locked in the Cargo.lock file, run cargo update to use the new version. This may also occur with an optional dependency that is not enabled. 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> obstore

note: This is an issue with the package mentioned above, not pip. hint: See above for details. error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [128 lines of output] Updating crates.io index Downloading crates ... Downloaded base16ct v0.2.0 Downloaded base64ct v1.8.3 Downloaded aead v0.5.2 Downloaded cipher v0.4.4 Downloaded scrypt v0.11.0 Downloaded wasm-bindgen-futures v0.4.65 Downloaded futures-macro v0.3.32 Downloaded futures-io v0.3.32 Downloaded spki v0.7.3 Downloaded wasm-bindgen-macro v0.2.115 Downloaded curve25519-dalek-derive v0.1.1 Downloaded zeroize_derive v1.4.3 Downloaded wasm-bindgen-shared v0.2.115 Downloaded universal-hash v0.5.1 Downloaded tls_codec v0.4.2 Downloaded tls_codec_derive v0.4.2 Downloaded libcrux-curve25519 v0.0.6 Downloaded hex-literal v0.3.4 Downloaded instant v0.1.13 Downloaded opaque-debug v0.3.1 Downloaded inout v0.1.4 Downloaded x25519-dalek v2.0.1 Downloaded zerocopy-derive v0.8.47 Downloaded wasm-bindgen-macro-support v0.2.115 Downloaded proc-macro-error-attr2 v2.0.0 Downloaded rfc6979 v0.4.0 Downloaded openmls_traits v0.5.0 Downloaded libcrux-platform v0.0.3 Downloaded libcrux-macros v0.0.3 Downloaded libcrux-aead v0.0.7 Downloaded rand_chacha v0.3.1 Downloaded hpke-rs-libcrux v0.6.1 Downloaded hax-lib-macros-types v0.3.6 Downloaded hpke-rs-crypto v0.6.1 Downloaded libcrux-intrinsics v0.0.6 Downloaded wasm-bindgen v0.2.115 Downloaded libcrux-kem v0.0.7 Downloaded ghash v0.5.1 Downloaded futures-task v0.3.32 Downloaded futures-core v0.3.32 Downloaded futures-sink v0.3.32 Downloaded zerocopy v0.8.47 Downloaded num-derive v0.4.2 Downloaded openmls_memory_storage v0.5.0 Downloaded salsa20 v0.10.2 Downloaded libcrux-hkdf v0.0.6 Downloaded pyo3-macros v0.25.1 Downloaded pastey v0.2.1 Downloaded openmls_basic_credential v0.5.0 Downloaded web-sys v0.3.92 Downloaded libcrux-hmac v0.0.6 Downloaded const-oid v0.9.6 Downloaded pbkdf2 v0.12.2 Downloaded libcrux-poly1305 v0.0.5 Downloaded chacha20 v0.9.1 Downloaded serde_bytes v0.11.19 Downloaded signature v2.2.0 Downloaded futures-executor v0.3.32 Downloaded ecdsa v0.16.9 Downloaded ctr v0.9.2 Downloaded redox_syscall v0.2.16 Downloaded poly1305 v0.8.0 Downloaded libcrux-secrets v0.0.5 Downloaded rand_core v0.10.0 Downloaded pkcs8 v0.10.2 Downloaded pem-rfc7468 v0.7.0 Downloaded libcrux-p256 v0.0.6 Downloaded sec1 v0.7.3 Downloaded primeorder v0.13.6 Downloaded hpke-rs-rust-crypto v0.6.1 Downloaded polyval v0.6.2 Downloaded libcrux-sha2 v0.0.6 Downloaded group v0.13.0 Downloaded rand_chacha v0.10.0 Downloaded openmls_rust_crypto v0.5.1 Downloaded libcrux-traits v0.0.6 Downloaded hax-lib-macros v0.3.6 Downloaded fluvio-wasm-timer v0.2.5 Downloaded futures-channel v0.3.32 Downloaded ff v0.13.1 Downloaded ed25519 v2.2.3 Downloaded core-models v0.0.5 Downloaded proc-macro-error2 v2.0.1 Downloaded libcrux-chacha20poly1305 v0.0.7 Downloaded pyo3-build-config v0.25.1 Downloaded libcrux-aesgcm v0.0.7 Downloaded libcrux-sha3 v0.0.8 Downloaded pin-project-lite v0.2.17 Downloaded parking_lot_core v0.8.6 Downloaded elliptic-curve v0.13.8 Downloaded hmac v0.12.1 Downloaded p256 v0.13.2 Downloaded libcrux-hacl-rs v0.0.4 Downloaded hpke-rs v0.6.1 Downloaded chacha20poly1305 v0.10.1 Downloaded futures v0.3.32 Downloaded pyo3-ffi v0.25.1 Downloaded parking_lot v0.11.2 Downloaded libcrux-ecdh v0.0.6 Downloaded der v0.7.10 Downloaded crypto-bigint v0.5.5 Downloaded pyo3-macros-backend v0.25.1 Downloaded k256 v0.13.4 Downloaded ed25519-dalek v2.2.0 Downloaded rand v0.10.0 Downloaded js-sys v0.3.92 Downloaded aes v0.8.4 Downloaded libcrux-ml-kem v0.0.8 Downloaded aes-gcm v0.10.3 Downloaded futures-util v0.3.32 Downloaded hkdf v0.12.4 Downloaded p384 v0.13.1 Downloaded hax-lib v0.3.6 Downloaded curve25519-dalek v4.1.3 Downloaded fiat-crypto v0.2.9 Downloaded openmls v0.8.1 Downloaded libc v0.2.183 Downloaded pyo3 v0.25.1 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> davey

note: This is an issue with the package mentioned above, not pip. hint: See above for details. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [70 lines of output] CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.

    Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
      main()
      ~~~~^^
    File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
                               ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
      self.run_setup()
      ~~~~~~~~~~~~~~^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
      ~~~~^^^^^^^^^^^^^^^^
    File "<string>", line 4, in <module>
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)  # type: ignore[return-value]
             ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 148, in setup
      _setup_distribution = dist = klass(attrs)
                                   ~~~~~^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 321, in __init__
      _Distribution.__init__(self, dist_attrs)
      ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 307, in __init__
      self.finalize_options()
      ~~~~~~~~~~~~~~~~~~~~~^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 790, in finalize_options
      ep(self)
      ~~^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 810, in _finalize_setup_keywords
      ep.load()(self, ep.name, value)
      ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 229, in cffi_modules
      add_cffi_module(dist, cffi_module)
      ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 50, in add_cffi_module
      execfile(build_file_name, mod_vars)
      ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 26, in execfile
      exec(code, glob, glob)
      ~~~~^^^^^^^^^^^^^^^^^^
    File "olm_build.py", line 35, in <module>
      subprocess.run(
      ~~~~~~~~~~~~~~^
          ["cmake", ".", "-Bbuild", "-DBUILD_SHARED_LIBS=NO"],
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          cwd="libolm", check=True,
          ^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 577, in run
      raise CalledProcessError(retcode, process.args,
                               output=stdout, stderr=stderr)
  subprocess.CalledProcessError: Command '['cmake', '.', '-Bbuild', '-DBUILD_SHARED_LIBS=NO']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'python-olm' when getting requirements to build wheel

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [181 lines of output] Updating crates.io index Updating git repository https://github.com/salsa-rs/salsa.git Updating git repository https://github.com/astral-sh/lsp-types.git Downloading crates ... Downloaded anstyle-query v1.1.4 Downloaded anstyle-lossy v1.1.4 Downloaded serde_repr v0.1.20 Downloaded quote-use-macros v0.8.4 Downloaded anstyle-wincon v3.0.10 Downloaded collection_literals v1.0.2 Downloaded cpufeatures v0.3.0 Downloaded cfg-if v1.0.3 Downloaded quote-use v0.8.4 Downloaded ctrlc v3.5.2 Downloaded countme v3.0.1 Downloaded crossbeam v0.8.4 Downloaded supports-hyperlinks v3.2.0 Downloaded crossbeam-queue v0.3.12 Downloaded get-size-derive2 v0.7.4 Downloaded darling_macro v0.21.3 Downloaded tracing-flame v0.2.0 Downloaded etcetera v0.11.0 Downloaded unicode_names2_generator v1.3.0 Downloaded unic-char-range v0.9.0 Downloaded windows-targets v0.53.3 Downloaded escape8259 v0.5.3 Downloaded attribute-derive-macro v0.10.3 Downloaded castaway v0.2.4 Downloaded utf8-width v0.1.7 Downloaded unic-ucd-version v0.9.0 Downloaded windows-link v0.2.0 Downloaded bit-set v0.8.0 Downloaded anstream v1.0.0 Downloaded windows-result v0.4.0 Downloaded unic-char-property v0.9.0 Downloaded wasm-bindgen-macro v0.2.105 Downloaded unic-common v0.9.0 Downloaded tryfn v1.0.0 Downloaded argfile v1.0.0 Downloaded strip-ansi-escapes v0.2.1 Downloaded is-macro v0.3.7 Downloaded is_executable v1.0.5 Downloaded typeid v1.0.3 Downloaded potential_utf v0.1.3 Downloaded anstyle-parse v1.0.0 Downloaded libredox v0.1.10 Downloaded is_terminal_polyfill v1.70.1 Downloaded manyhow-macros v0.11.4 Downloaded jiff-tzdb-platform v0.1.3 Downloaded ident_case v1.0.1 Downloaded matches v0.1.10 Downloaded jod-thread v1.0.0 Downloaded os_pipe v1.2.2 Downloaded unit-prefix v0.5.1 Downloaded once_cell_polyfill v1.70.1 Downloaded phf_codegen v0.11.3 Downloaded windows-strings v0.5.0 Downloaded rustc-stable-hash v0.1.2 Downloaded quickcheck_macros v1.2.0 Downloaded num_cpus v1.17.0 Downloaded escargot v0.5.15 Downloaded attribute-derive v0.10.3 Downloaded anstyle-svg v0.1.11 Downloaded clap_lex v1.0.0 Downloaded test-case-macros v3.3.1 Downloaded test-case-core v3.3.1 Downloaded drop_bomb v0.1.5 Downloaded snapbox-macros v1.0.0 Downloaded tikv-jemallocator v0.6.1 Downloaded html-escape v0.2.13 Downloaded getopts v0.2.24 Downloaded wasm-bindgen-shared v0.2.105 Downloaded threadpool v1.8.1 Downloaded fs-err v3.3.0 Downloaded test-case v3.3.1 Downloaded hashlink v0.10.0 Downloaded get-size2 v0.7.4 Downloaded bit-vec v0.8.0 Downloaded serde_test v1.0.177 Downloaded dashmap v6.1.0 Downloaded find-msvc-tools v0.1.2 Downloaded kqueue v1.1.1 Downloaded manyhow v0.11.4 Downloaded insta-cmd v0.6.0 Downloaded lsp-server v0.7.9 Downloaded inventory v0.3.21 Downloaded version-ranges v0.1.1 Downloaded objc2-encode v4.1.0 Downloaded nu-ansi-term v0.50.1 Downloaded pest_generator v2.8.2 Downloaded zstd-safe v5.0.2+zstd.1.5.2 Downloaded toml_datetime v1.0.0+spec-1.1.0 Downloaded shellexpand v3.1.1 Downloaded os_str_bytes v7.1.1 Downloaded quickcheck v1.1.0 Downloaded unic-ucd-category v0.9.0 Downloaded proc-macro-utils v0.10.0 Downloaded clap_complete v4.5.58 Downloaded libtest-mimic v0.8.1 Downloaded block2 v0.6.2 Downloaded console v0.16.1 Downloaded chacha20 v0.10.0 Downloaded colored v3.1.1 Downloaded datatest-stable v0.3.3 Downloaded thin-vec v0.2.14 Downloaded tempfile v3.25.0 Downloaded libtest-mimic v0.7.3 Downloaded pest_derive v2.8.2 Downloaded zstd v0.11.2+zstd.1.5.2 Downloaded wasm-bindgen v0.2.105 Downloaded pest_meta v2.8.2 Downloaded jiff-tzdb v0.1.4 Downloaded intrusive-collections v0.9.7 Downloaded quick-junit v0.5.2 Downloaded compact_str v0.9.0 Downloaded vte v0.14.1 Downloaded getrandom v0.4.1 Downloaded darling_core v0.21.3 Downloaded seahash v4.1.0 Downloaded flate2 v1.1.2 Downloaded fancy-regex v0.14.0 Downloaded windows-core v0.62.0 Downloaded ucd-trie v0.1.7 Downloaded js-sys v0.3.82 Downloaded minimal-lexical v0.2.1 Downloaded jiff-static v0.2.21 Downloaded tinyvec v1.10.0 Downloaded toml v1.0.3+spec-1.1.0 Downloaded pest v2.8.2 Downloaded zip v0.6.6 Downloaded wasm-bindgen-macro-support v0.2.105 Downloaded terminfo v0.9.0 Downloaded clap_builder v4.5.60 Downloaded hashbrown v0.14.5 Downloaded clearscreen v4.0.5 Downloaded uuid v1.21.0 Downloaded objc2 v0.6.3 Downloaded zerocopy-derive v0.8.27 Downloaded snapbox v1.0.0 Downloaded chrono v0.4.42 Downloaded wit-bindgen v0.46.0 Downloaded nom v7.1.3 Downloaded cc v1.2.38 Downloaded ordermap v1.1.0 Downloaded zerovec v0.11.4 Downloaded unicode-normalization v0.1.24 Downloaded wasip2 v1.0.1+wasi-0.2.4 Downloaded indicatif v0.18.4 Downloaded arc-swap v1.8.2 Downloaded ron v0.12.0 Downloaded iana-time-zone v0.1.64 Downloaded redox_syscall v0.5.17 Downloaded derive-where v1.6.0 Downloaded winnow v0.7.13 Downloaded serde_with v3.16.1 Downloaded quick-xml v0.38.4 Downloaded darling v0.21.3 Downloaded zerocopy v0.8.27 Downloaded clap_complete_nushell v4.5.8 Downloaded clap v4.5.60 Downloaded zmij v1.0.10 Downloaded toml_parser v1.0.9+spec-1.1.0 Downloaded serde_with_macros v3.16.1 Downloaded unicode_names2 v1.3.0 Downloaded jiff v0.2.21 Downloaded notify v8.2.0 Downloaded newtype-uuid v1.2.4 Downloaded matchit v0.9.1 Downloaded dispatch2 v0.3.0 Downloaded interpolator v0.5.0 Downloaded tikv-jemalloc-sys v0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 Downloaded windows-sys v0.61.0 📦 Including license file LICENSE 🍹 Building a mixed python/rust project 🔗 Found bin bindings 📡 Using build options bindings from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> ty

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

Root Cause

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [214 lines of output] Updating git repository https://github.com/apache/arrow-rs-object-store Updating crates.io index Updating git repository https://github.com/alex/pyo3-file warning: patch object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1) was not used in the crate graph help: Check that the patched package version and available features are compatible with the dependency requirements. If the patch has a different version from what is locked in the Cargo.lock file, run cargo update to use the new version. This may also occur with an optional dependency that is not enabled. Downloading crates ... Downloaded android-tzdata v0.1.1 Downloaded android_system_properties v0.1.5 Downloaded const-random v0.1.18 Downloaded const-random-macro v0.1.16 Downloaded cfg-if v1.0.1 Downloaded portable-atomic-util v0.2.4 Downloaded pyo3-async-runtimes v0.26.0 Downloaded windows-interface v0.59.1 Downloaded skeptic v0.13.7 Downloaded pyo3-bytes v0.4.0 Downloaded siphasher v1.0.1 Downloaded futures-sink v0.3.31 Downloaded crypto-common v0.1.6 Downloaded futures-io v0.3.31 Downloaded tower-service v0.3.3 Downloaded form_urlencoded v1.2.1 Downloaded tower-layer v0.3.3 Downloaded serde_urlencoded v0.7.1 Downloaded sync_wrapper v1.0.2 Downloaded errno v0.3.13 Downloaded windows-targets v0.53.2 Downloaded tinyvec_macros v0.1.1 Downloaded windows-implement v0.60.0 Downloaded wasm-bindgen-futures v0.4.50 Downloaded windows-strings v0.4.2 Downloaded windows-link v0.1.3 Downloaded want v0.3.1 Downloaded windows-result v0.3.4 Downloaded try-lock v0.2.5 Downloaded lru-slab v0.1.2 Downloaded iana-time-zone-haiku v0.1.2 Downloaded num-iter v0.1.45 Downloaded yoke-derive v0.8.0 Downloaded openssl-probe v0.1.6 Downloaded tokio-macros v2.5.0 Downloaded quinn-udp v0.5.13 Downloaded md-5 v0.10.6 Downloaded rustls-pemfile v2.2.0 Downloaded zerovec-derive v0.11.1 Downloaded simdutf8 v0.1.5 Downloaded unicase v2.8.1 Downloaded tinystr v0.8.1 Downloaded thiserror v2.0.12 Downloaded rustc-demangle v0.1.25 Downloaded rawpointer v0.2.1 Downloaded security-framework-sys v2.14.0 Downloaded num v0.4.3 Downloaded redox_syscall v0.5.13 Downloaded zeroize v1.8.1 Downloaded thiserror-impl v2.0.12 Downloaded tiny-keccak v2.0.2 Downloaded writeable v0.6.1 Downloaded slab v0.4.10 Downloaded atomic-waker v1.1.2 Downloaded rustls-native-certs v0.8.1 Downloaded async-trait v0.1.88 Downloaded potential_utf v0.1.2 Downloaded rand_core v0.9.3 Downloaded phf_shared v0.12.1 Downloaded itoa v1.0.15 Downloaded yoke v0.8.0 Downloaded bytecount v0.6.9 Downloaded futures-executor v0.3.31 Downloaded quote v1.0.40 Downloaded glob v0.3.2 Downloaded http-body-util v0.1.3 Downloaded windows-core v0.61.2 Downloaded tokio-rustls v0.26.2 Downloaded rustversion v1.0.21 Downloaded num-rational v0.4.2 Downloaded tempfile v3.20.0 Downloaded ipnet v2.11.0 Downloaded tracing-attributes v0.1.30 Downloaded http-body v1.0.1 Downloaded flatbuffers v25.2.10 Downloaded csv-core v0.1.12 Downloaded ryu v1.0.20 Downloaded wasm-streams v0.4.2 Downloaded lock_api v0.4.13 Downloaded phf v0.12.1 Downloaded humantime v2.2.0 Downloaded pyo3-arrow v0.12.0 Downloaded percent-encoding v2.3.1 Downloaded socket2 v0.5.10 Downloaded tinyvec v1.9.0 Downloaded rustls-pki-types v1.12.0 Downloaded tracing-core v0.1.34 Downloaded lexical-core v1.0.5 Downloaded semver v1.0.26 Downloaded unicode-ident v1.0.18 Downloaded serde_derive v1.0.219 Downloaded addr2line v0.24.2 Downloaded cargo_metadata v0.14.2 Downloaded atoi v2.0.0 Downloaded quinn v0.11.8 Downloaded arrow-row v56.0.0 Downloaded schannel v0.1.27 Downloaded pulldown-cmark v0.9.6 Downloaded error-chain v0.12.4 Downloaded url v2.5.4 Downloaded getrandom v0.2.16 Downloaded futures-channel v0.3.31 Downloaded arrow-string v56.0.0 Downloaded hyper-rustls v0.27.7 Downloaded num-complex v0.4.6 Downloaded rand v0.9.1 Downloaded serde v1.0.219 Downloaded rustls-webpki v0.103.4 Downloaded zerocopy-derive v0.8.26 Downloaded security-framework v3.2.0 Downloaded typenum v1.18.0 Downloaded litemap v0.8.0 Downloaded zerotrie v0.2.2 Downloaded parking_lot_core v0.9.11 Downloaded indoc v2.0.6 Downloaded iana-time-zone v0.1.63 Downloaded parking_lot v0.12.4 Downloaded arrow-arith v56.0.0 Downloaded arrow-csv v56.0.0 Downloaded arrow-data v56.0.0 Downloaded tower v0.5.2 Downloaded tracing v0.1.41 Downloaded matrixmultiply v0.3.10 Downloaded icu_properties v2.0.1 Downloaded futures v0.3.31 Downloaded half v2.6.0 Downloaded camino v1.1.10 Downloaded arrow-ord v56.0.0 Downloaded zerovec v0.11.2 Downloaded tower-http v0.6.6 Downloaded tokio-util v0.7.15 Downloaded arrow-buffer v56.0.0 Downloaded proc-macro2 v1.0.95 Downloaded lexical-write-integer v1.0.5 Downloaded serde_json v1.0.140 Downloaded icu_normalizer v2.0.0 Downloaded icu_provider v2.0.0 Downloaded icu_normalizer_data v2.0.0 Downloaded icu_locale_core v2.0.0 Downloaded arrow v56.0.0 Downloaded comfy-table v7.1.4 Downloaded bytes v1.10.1 Downloaded arrow-schema v56.0.0 Downloaded arrow-select v56.0.0 Downloaded arrow-json v56.0.0 Downloaded icu_collections v2.0.0 Downloaded quick-xml v0.38.0 Downloaded winnow v0.7.12 Downloaded memchr v2.7.5 Downloaded reqwest v0.12.22 Downloaded indexmap v2.10.0 Downloaded arrow-cast v56.0.0 Downloaded http v1.3.1 Downloaded mio v1.0.4 Downloaded io-uring v0.7.8 Downloaded numpy v0.26.0 Downloaded lexical-write-float v1.0.5 Downloaded hyper-util v0.1.15 Downloaded quinn-proto v0.11.12 Downloaded arrow-ipc v56.0.0 Downloaded cc v1.2.29 Downloaded backtrace v0.3.75 Downloaded zerocopy v0.8.26 Downloaded iri-string v0.7.8 Downloaded idna v1.0.3 Downloaded regex v1.11.1 Downloaded icu_properties_data v2.0.1 Downloaded hyper v1.6.0 Downloaded libm v0.2.15 Downloaded syn v2.0.104 Downloaded unicode-width v0.2.1 Downloaded h2 v0.4.11 Downloaded hashbrown v0.15.4 Downloaded chrono v0.4.41 Downloaded arrow-array v56.0.0 Downloaded ndarray v0.16.1 Downloaded object_store v0.12.3 Downloaded gimli v0.31.1 Downloaded object v0.36.7 Downloaded rustls v0.23.29 Downloaded rustix v1.0.8 Downloaded chrono-tz v0.10.4 Downloaded libc v0.2.174 Downloaded csv v1.3.1 Downloaded web-sys v0.3.77 Downloaded regex-automata v0.4.9 Downloaded linux-raw-sys v0.9.4 Downloaded windows_x86_64_gnullvm v0.53.0 Downloaded windows_aarch64_gnullvm v0.53.0 Downloaded windows_x86_64_msvc v0.53.0 Downloaded windows_aarch64_msvc v0.53.0 Downloaded windows_i686_gnullvm v0.53.0 Downloaded windows_i686_gnu v0.53.0 Downloaded windows_x86_64_gnu v0.53.0 Downloaded windows_i686_msvc v0.53.0 Downloaded tokio v1.46.1 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

Fix Action

Fix / Workaround

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [214 lines of output] Updating git repository https://github.com/apache/arrow-rs-object-store Updating crates.io index Updating git repository https://github.com/alex/pyo3-file warning: patch object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1) was not used in the crate graph help: Check that the patched package version and available features are compatible with the dependency requirements. If the patch has a different version from what is locked in the Cargo.lock file, run cargo update to use the new version. This may also occur with an optional dependency that is not enabled. Downloading crates ... Downloaded android-tzdata v0.1.1 Downloaded android_system_properties v0.1.5 Downloaded const-random v0.1.18 Downloaded const-random-macro v0.1.16 Downloaded cfg-if v1.0.1 Downloaded portable-atomic-util v0.2.4 Downloaded pyo3-async-runtimes v0.26.0 Downloaded windows-interface v0.59.1 Downloaded skeptic v0.13.7 Downloaded pyo3-bytes v0.4.0 Downloaded siphasher v1.0.1 Downloaded futures-sink v0.3.31 Downloaded crypto-common v0.1.6 Downloaded futures-io v0.3.31 Downloaded tower-service v0.3.3 Downloaded form_urlencoded v1.2.1 Downloaded tower-layer v0.3.3 Downloaded serde_urlencoded v0.7.1 Downloaded sync_wrapper v1.0.2 Downloaded errno v0.3.13 Downloaded windows-targets v0.53.2 Downloaded tinyvec_macros v0.1.1 Downloaded windows-implement v0.60.0 Downloaded wasm-bindgen-futures v0.4.50 Downloaded windows-strings v0.4.2 Downloaded windows-link v0.1.3 Downloaded want v0.3.1 Downloaded windows-result v0.3.4 Downloaded try-lock v0.2.5 Downloaded lru-slab v0.1.2 Downloaded iana-time-zone-haiku v0.1.2 Downloaded num-iter v0.1.45 Downloaded yoke-derive v0.8.0 Downloaded openssl-probe v0.1.6 Downloaded tokio-macros v2.5.0 Downloaded quinn-udp v0.5.13 Downloaded md-5 v0.10.6 Downloaded rustls-pemfile v2.2.0 Downloaded zerovec-derive v0.11.1 Downloaded simdutf8 v0.1.5 Downloaded unicase v2.8.1 Downloaded tinystr v0.8.1 Downloaded thiserror v2.0.12 Downloaded rustc-demangle v0.1.25 Downloaded rawpointer v0.2.1 Downloaded security-framework-sys v2.14.0 Downloaded num v0.4.3 Downloaded redox_syscall v0.5.13 Downloaded zeroize v1.8.1 Downloaded thiserror-impl v2.0.12 Downloaded tiny-keccak v2.0.2 Downloaded writeable v0.6.1 Downloaded slab v0.4.10 Downloaded atomic-waker v1.1.2 Downloaded rustls-native-certs v0.8.1 Downloaded async-trait v0.1.88 Downloaded potential_utf v0.1.2 Downloaded rand_core v0.9.3 Downloaded phf_shared v0.12.1 Downloaded itoa v1.0.15 Downloaded yoke v0.8.0 Downloaded bytecount v0.6.9 Downloaded futures-executor v0.3.31 Downloaded quote v1.0.40 Downloaded glob v0.3.2 Downloaded http-body-util v0.1.3 Downloaded windows-core v0.61.2 Downloaded tokio-rustls v0.26.2 Downloaded rustversion v1.0.21 Downloaded num-rational v0.4.2 Downloaded tempfile v3.20.0 Downloaded ipnet v2.11.0 Downloaded tracing-attributes v0.1.30 Downloaded http-body v1.0.1 Downloaded flatbuffers v25.2.10 Downloaded csv-core v0.1.12 Downloaded ryu v1.0.20 Downloaded wasm-streams v0.4.2 Downloaded lock_api v0.4.13 Downloaded phf v0.12.1 Downloaded humantime v2.2.0 Downloaded pyo3-arrow v0.12.0 Downloaded percent-encoding v2.3.1 Downloaded socket2 v0.5.10 Downloaded tinyvec v1.9.0 Downloaded rustls-pki-types v1.12.0 Downloaded tracing-core v0.1.34 Downloaded lexical-core v1.0.5 Downloaded semver v1.0.26 Downloaded unicode-ident v1.0.18 Downloaded serde_derive v1.0.219 Downloaded addr2line v0.24.2 Downloaded cargo_metadata v0.14.2 Downloaded atoi v2.0.0 Downloaded quinn v0.11.8 Downloaded arrow-row v56.0.0 Downloaded schannel v0.1.27 Downloaded pulldown-cmark v0.9.6 Downloaded error-chain v0.12.4 Downloaded url v2.5.4 Downloaded getrandom v0.2.16 Downloaded futures-channel v0.3.31 Downloaded arrow-string v56.0.0 Downloaded hyper-rustls v0.27.7 Downloaded num-complex v0.4.6 Downloaded rand v0.9.1 Downloaded serde v1.0.219 Downloaded rustls-webpki v0.103.4 Downloaded zerocopy-derive v0.8.26 Downloaded security-framework v3.2.0 Downloaded typenum v1.18.0 Downloaded litemap v0.8.0 Downloaded zerotrie v0.2.2 Downloaded parking_lot_core v0.9.11 Downloaded indoc v2.0.6 Downloaded iana-time-zone v0.1.63 Downloaded parking_lot v0.12.4 Downloaded arrow-arith v56.0.0 Downloaded arrow-csv v56.0.0 Downloaded arrow-data v56.0.0 Downloaded tower v0.5.2 Downloaded tracing v0.1.41 Downloaded matrixmultiply v0.3.10 Downloaded icu_properties v2.0.1 Downloaded futures v0.3.31 Downloaded half v2.6.0 Downloaded camino v1.1.10 Downloaded arrow-ord v56.0.0 Downloaded zerovec v0.11.2 Downloaded tower-http v0.6.6 Downloaded tokio-util v0.7.15 Downloaded arrow-buffer v56.0.0 Downloaded proc-macro2 v1.0.95 Downloaded lexical-write-integer v1.0.5 Downloaded serde_json v1.0.140 Downloaded icu_normalizer v2.0.0 Downloaded icu_provider v2.0.0 Downloaded icu_normalizer_data v2.0.0 Downloaded icu_locale_core v2.0.0 Downloaded arrow v56.0.0 Downloaded comfy-table v7.1.4 Downloaded bytes v1.10.1 Downloaded arrow-schema v56.0.0 Downloaded arrow-select v56.0.0 Downloaded arrow-json v56.0.0 Downloaded icu_collections v2.0.0 Downloaded quick-xml v0.38.0 Downloaded winnow v0.7.12 Downloaded memchr v2.7.5 Downloaded reqwest v0.12.22 Downloaded indexmap v2.10.0 Downloaded arrow-cast v56.0.0 Downloaded http v1.3.1 Downloaded mio v1.0.4 Downloaded io-uring v0.7.8 Downloaded numpy v0.26.0 Downloaded lexical-write-float v1.0.5 Downloaded hyper-util v0.1.15 Downloaded quinn-proto v0.11.12 Downloaded arrow-ipc v56.0.0 Downloaded cc v1.2.29 Downloaded backtrace v0.3.75 Downloaded zerocopy v0.8.26 Downloaded iri-string v0.7.8 Downloaded idna v1.0.3 Downloaded regex v1.11.1 Downloaded icu_properties_data v2.0.1 Downloaded hyper v1.6.0 Downloaded libm v0.2.15 Downloaded syn v2.0.104 Downloaded unicode-width v0.2.1 Downloaded h2 v0.4.11 Downloaded hashbrown v0.15.4 Downloaded chrono v0.4.41 Downloaded arrow-array v56.0.0 Downloaded ndarray v0.16.1 Downloaded object_store v0.12.3 Downloaded gimli v0.31.1 Downloaded object v0.36.7 Downloaded rustls v0.23.29 Downloaded rustix v1.0.8 Downloaded chrono-tz v0.10.4 Downloaded libc v0.2.174 Downloaded csv v1.3.1 Downloaded web-sys v0.3.77 Downloaded regex-automata v0.4.9 Downloaded linux-raw-sys v0.9.4 Downloaded windows_x86_64_gnullvm v0.53.0 Downloaded windows_aarch64_gnullvm v0.53.0 Downloaded windows_x86_64_msvc v0.53.0 Downloaded windows_aarch64_msvc v0.53.0 Downloaded windows_i686_gnullvm v0.53.0 Downloaded windows_i686_gnu v0.53.0 Downloaded windows_x86_64_gnu v0.53.0 Downloaded windows_i686_msvc v0.53.0 Downloaded tokio v1.46.1 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [14 lines of output] warning: patch object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1) was not used in the crate graph help: Check that the patched package version and available features are compatible with the dependency requirements. If the patch has a different version from what is locked in the Cargo.lock file, run cargo update to use the new version. This may also occur with an optional dependency that is not enabled. 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python 📡 Using build options features from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [181 lines of output] Updating crates.io index Updating git repository https://github.com/salsa-rs/salsa.git Updating git repository https://github.com/astral-sh/lsp-types.git Downloading crates ... Downloaded anstyle-query v1.1.4 Downloaded anstyle-lossy v1.1.4 Downloaded serde_repr v0.1.20 Downloaded quote-use-macros v0.8.4 Downloaded anstyle-wincon v3.0.10 Downloaded collection_literals v1.0.2 Downloaded cpufeatures v0.3.0 Downloaded cfg-if v1.0.3 Downloaded quote-use v0.8.4 Downloaded ctrlc v3.5.2 Downloaded countme v3.0.1 Downloaded crossbeam v0.8.4 Downloaded supports-hyperlinks v3.2.0 Downloaded crossbeam-queue v0.3.12 Downloaded get-size-derive2 v0.7.4 Downloaded darling_macro v0.21.3 Downloaded tracing-flame v0.2.0 Downloaded etcetera v0.11.0 Downloaded unicode_names2_generator v1.3.0 Downloaded unic-char-range v0.9.0 Downloaded windows-targets v0.53.3 Downloaded escape8259 v0.5.3 Downloaded attribute-derive-macro v0.10.3 Downloaded castaway v0.2.4 Downloaded utf8-width v0.1.7 Downloaded unic-ucd-version v0.9.0 Downloaded windows-link v0.2.0 Downloaded bit-set v0.8.0 Downloaded anstream v1.0.0 Downloaded windows-result v0.4.0 Downloaded unic-char-property v0.9.0 Downloaded wasm-bindgen-macro v0.2.105 Downloaded unic-common v0.9.0 Downloaded tryfn v1.0.0 Downloaded argfile v1.0.0 Downloaded strip-ansi-escapes v0.2.1 Downloaded is-macro v0.3.7 Downloaded is_executable v1.0.5 Downloaded typeid v1.0.3 Downloaded potential_utf v0.1.3 Downloaded anstyle-parse v1.0.0 Downloaded libredox v0.1.10 Downloaded is_terminal_polyfill v1.70.1 Downloaded manyhow-macros v0.11.4 Downloaded jiff-tzdb-platform v0.1.3 Downloaded ident_case v1.0.1 Downloaded matches v0.1.10 Downloaded jod-thread v1.0.0 Downloaded os_pipe v1.2.2 Downloaded unit-prefix v0.5.1 Downloaded once_cell_polyfill v1.70.1 Downloaded phf_codegen v0.11.3 Downloaded windows-strings v0.5.0 Downloaded rustc-stable-hash v0.1.2 Downloaded quickcheck_macros v1.2.0 Downloaded num_cpus v1.17.0 Downloaded escargot v0.5.15 Downloaded attribute-derive v0.10.3 Downloaded anstyle-svg v0.1.11 Downloaded clap_lex v1.0.0 Downloaded test-case-macros v3.3.1 Downloaded test-case-core v3.3.1 Downloaded drop_bomb v0.1.5 Downloaded snapbox-macros v1.0.0 Downloaded tikv-jemallocator v0.6.1 Downloaded html-escape v0.2.13 Downloaded getopts v0.2.24 Downloaded wasm-bindgen-shared v0.2.105 Downloaded threadpool v1.8.1 Downloaded fs-err v3.3.0 Downloaded test-case v3.3.1 Downloaded hashlink v0.10.0 Downloaded get-size2 v0.7.4 Downloaded bit-vec v0.8.0 Downloaded serde_test v1.0.177 Downloaded dashmap v6.1.0 Downloaded find-msvc-tools v0.1.2 Downloaded kqueue v1.1.1 Downloaded manyhow v0.11.4 Downloaded insta-cmd v0.6.0 Downloaded lsp-server v0.7.9 Downloaded inventory v0.3.21 Downloaded version-ranges v0.1.1 Downloaded objc2-encode v4.1.0 Downloaded nu-ansi-term v0.50.1 Downloaded pest_generator v2.8.2 Downloaded zstd-safe v5.0.2+zstd.1.5.2 Downloaded toml_datetime v1.0.0+spec-1.1.0 Downloaded shellexpand v3.1.1 Downloaded os_str_bytes v7.1.1 Downloaded quickcheck v1.1.0 Downloaded unic-ucd-category v0.9.0 Downloaded proc-macro-utils v0.10.0 Downloaded clap_complete v4.5.58 Downloaded libtest-mimic v0.8.1 Downloaded block2 v0.6.2 Downloaded console v0.16.1 Downloaded chacha20 v0.10.0 Downloaded colored v3.1.1 Downloaded datatest-stable v0.3.3 Downloaded thin-vec v0.2.14 Downloaded tempfile v3.25.0 Downloaded libtest-mimic v0.7.3 Downloaded pest_derive v2.8.2 Downloaded zstd v0.11.2+zstd.1.5.2 Downloaded wasm-bindgen v0.2.105 Downloaded pest_meta v2.8.2 Downloaded jiff-tzdb v0.1.4 Downloaded intrusive-collections v0.9.7 Downloaded quick-junit v0.5.2 Downloaded compact_str v0.9.0 Downloaded vte v0.14.1 Downloaded getrandom v0.4.1 Downloaded darling_core v0.21.3 Downloaded seahash v4.1.0 Downloaded flate2 v1.1.2 Downloaded fancy-regex v0.14.0 Downloaded windows-core v0.62.0 Downloaded ucd-trie v0.1.7 Downloaded js-sys v0.3.82 Downloaded minimal-lexical v0.2.1 Downloaded jiff-static v0.2.21 Downloaded tinyvec v1.10.0 Downloaded toml v1.0.3+spec-1.1.0 Downloaded pest v2.8.2 Downloaded zip v0.6.6 Downloaded wasm-bindgen-macro-support v0.2.105 Downloaded terminfo v0.9.0 Downloaded clap_builder v4.5.60 Downloaded hashbrown v0.14.5 Downloaded clearscreen v4.0.5 Downloaded uuid v1.21.0 Downloaded objc2 v0.6.3 Downloaded zerocopy-derive v0.8.27 Downloaded snapbox v1.0.0 Downloaded chrono v0.4.42 Downloaded wit-bindgen v0.46.0 Downloaded nom v7.1.3 Downloaded cc v1.2.38 Downloaded ordermap v1.1.0 Downloaded zerovec v0.11.4 Downloaded unicode-normalization v0.1.24 Downloaded wasip2 v1.0.1+wasi-0.2.4 Downloaded indicatif v0.18.4 Downloaded arc-swap v1.8.2 Downloaded ron v0.12.0 Downloaded iana-time-zone v0.1.64 Downloaded redox_syscall v0.5.17 Downloaded derive-where v1.6.0 Downloaded winnow v0.7.13 Downloaded serde_with v3.16.1 Downloaded quick-xml v0.38.4 Downloaded darling v0.21.3 Downloaded zerocopy v0.8.27 Downloaded clap_complete_nushell v4.5.8 Downloaded clap v4.5.60 Downloaded zmij v1.0.10 Downloaded toml_parser v1.0.9+spec-1.1.0 Downloaded serde_with_macros v3.16.1 Downloaded unicode_names2 v1.3.0 Downloaded jiff v0.2.21 Downloaded notify v8.2.0 Downloaded newtype-uuid v1.2.4 Downloaded matchit v0.9.1 Downloaded dispatch2 v0.3.0 Downloaded interpolator v0.5.0 Downloaded tikv-jemalloc-sys v0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 Downloaded windows-sys v0.61.0 📦 Including license file LICENSE 🍹 Building a mixed python/rust project 🔗 Found bin bindings 📡 Using build options bindings from pyproject.toml 💥 maturin failed Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable. Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1. Checking for Rust toolchain.... Running maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python [end of output]

PR fix notes

PR #2: fix: resolve 7 identified issues [automated]

Description (problem / solution / changelog)

Summary

This PR resolves 7 identified issues in the Hermes Agent codebase.

Issues Fixed

1. #17076 - kimi-coding vision broken (HTTP 404)

File: agent/auxiliary_client.py Problem: The kimi-coding provider was missing from _PROVIDER_VISION_MODELS, causing the vision auto-detect to fail with HTTP 404 when using image inputs. Fix: Added kimi-coding and kimi-coding-cn to _PROVIDER_VISION_MODELS dict. Commit: 82b920ff

2. #16970 - Model Picker ignores model_catalog.enabled=false

File: hermes_cli/model_switch.py Problem: The list_authenticated_providers() function ignored model_catalog.enabled=false config, showing built-in providers even when the catalog was disabled. Fix: Added catalog_enabled check that skips sections 1-3 (built-in provider enumeration) when model_catalog.enabled=false. Commit: b6b6fbbe

3. #16830 - Credential pool rotation counts toward api_max_retries

File: run_agent.py Problem: When a credential pool rotation occurred, retry_count was not reset, causing premature exhaustion of retries. Fix: Reset retry_count = 0 when _recover_with_credential_pool() succeeds. Commit: 366582d4

4. #16979 - QQ Bot file attachments silently dropped on download failure

File: gateway/platforms/qqbot/adapter.py Problem: When CDN download failed for file attachments, they were silently discarded with no indication to the agent. Fix: Added fallback text (download failed) to attachment_info when download fails. Commit: f956da73

5. #16875 - kimi-k2.6 HTTP 400 via OpenCode Go

Files: hermes_cli/setup.py, hermes_cli/models.py Problem: kimi-k2.6 was listed as an available model for opencode-go provider but returns HTTP 400 on all requests. Fix: Removed kimi-k2.6 from the opencode-go model list in both files. Commit: 5a77400d

6. #16951 - WeChat clips right-side content when scrolling Markdown tables

File: gateway/platforms/weixin.py Problem: WeChat's WebView CSS clips tables with many columns, making rightmost columns invisible. Fix: Added _truncate_wide_table_row() helper that limits table rows to 6 columns and appends ... for overflow indication. Commit: d3e43e10

7. #17009 - Termux hermes update fails with "Failed to determine Android API level"

File: hermes_cli/main.py Problem: Native extension builds (maturin) fail in Termux because ANDROID_API_LEVEL is not set. Fix: In _install_python_dependencies_with_optional_fallback(), detect Termux environment and set ANDROID_API_LEVEL=29 as a safe default. Commit: 096a80b9

Files Modified

  • agent/auxiliary_client.py (1 change)
  • hermes_cli/model_switch.py (1 change)
  • run_agent.py (1 change)
  • gateway/platforms/qqbot/adapter.py (1 change)
  • hermes_cli/setup.py (1 change)
  • hermes_cli/models.py (1 change)
  • gateway/platforms/weixin.py (2 changes)
  • hermes_cli/main.py (1 change)

Testing

All changes were validated with python3 -m py_compile to ensure no syntax errors.

Changed files

  • .gitignore (modified, +1/-0)
  • AGENTS.md (modified, +1/-1)
  • Dockerfile (modified, +6/-2)
  • acp_adapter/entry.py (modified, +11/-0)
  • acp_adapter/server.py (modified, +28/-1)
  • agent/anthropic_adapter.py (modified, +155/-78)
  • agent/auxiliary_client.py (modified, +342/-55)
  • agent/bedrock_adapter.py (modified, +41/-3)
  • agent/context_compressor.py (modified, +113/-5)
  • agent/credential_pool.py (modified, +82/-4)
  • agent/credential_sources.py (modified, +0/-1)
  • agent/error_classifier.py (modified, +32/-0)
  • agent/gemini_cloudcode_adapter.py (modified, +0/-2)
  • agent/gemini_schema.py (modified, +1/-1)
  • agent/google_code_assist.py (modified, +0/-1)
  • agent/google_oauth.py (modified, +3/-3)
  • agent/image_routing.py (added, +236/-0)
  • agent/memory_manager.py (modified, +113/-5)
  • agent/model_metadata.py (modified, +56/-21)
  • agent/nous_rate_guard.py (modified, +144/-1)
  • agent/onboarding.py (added, +191/-0)
  • agent/prompt_builder.py (modified, +38/-0)
  • agent/redact.py (modified, +7/-3)
  • agent/shell_hooks.py (modified, +7/-2)
  • agent/skill_commands.py (modified, +2/-2)
  • agent/title_generator.py (modified, +39/-5)
  • agent/transports/anthropic.py (modified, +1/-7)
  • agent/transports/chat_completions.py (modified, +74/-0)
  • agent/transports/codex.py (modified, +1/-3)
  • cli-config.yaml.example (modified, +28/-8)
  • cli.py (modified, +527/-196)
  • cron/jobs.py (modified, +34/-5)
  • cron/scheduler.py (modified, +39/-5)
  • docker/entrypoint.sh (modified, +9/-7)
  • flake.nix (modified, +1/-0)
  • gateway/builtin_hooks/boot_md.py (removed, +0/-85)
  • gateway/channel_directory.py (modified, +67/-14)
  • gateway/config.py (modified, +84/-3)
  • gateway/display_config.py (modified, +3/-1)
  • gateway/hooks.py (modified, +7/-13)
  • gateway/mirror.py (modified, +57/-11)
  • gateway/pairing.py (modified, +2/-1)
  • gateway/platforms/__init__.py (modified, +2/-0)
  • gateway/platforms/base.py (modified, +233/-16)
  • gateway/platforms/discord.py (modified, +18/-24)
  • gateway/platforms/email.py (modified, +3/-0)
  • gateway/platforms/feishu_comment.py (modified, +0/-1)
  • gateway/platforms/helpers.py (modified, +11/-2)
  • gateway/platforms/matrix.py (modified, +493/-47)
  • gateway/platforms/mattermost.py (modified, +0/-1)
  • gateway/platforms/qqbot/adapter.py (modified, +7/-7)
  • gateway/platforms/slack.py (modified, +753/-70)
  • gateway/platforms/telegram.py (modified, +138/-14)
  • gateway/platforms/weixin.py (modified, +47/-3)
  • gateway/platforms/yuanbao.py (added, +4754/-0)
  • gateway/platforms/yuanbao_media.py (added, +645/-0)
  • gateway/platforms/yuanbao_proto.py (added, +1209/-0)
  • gateway/platforms/yuanbao_sticker.py (added, +558/-0)
  • gateway/run.py (modified, +1139/-279)
  • gateway/runtime_footer.py (added, +150/-0)
  • gateway/session.py (modified, +16/-21)
  • gateway/stream_consumer.py (modified, +110/-0)
  • gateway/whatsapp_identity.py (modified, +21/-1)
  • hermes_cli/auth.py (modified, +40/-4)
  • hermes_cli/azure_detect.py (modified, +1/-1)
  • hermes_cli/backup.py (modified, +272/-1)
  • hermes_cli/banner.py (modified, +0/-1)
  • hermes_cli/claw.py (modified, +67/-6)
  • hermes_cli/commands.py (modified, +116/-5)
  • hermes_cli/config.py (modified, +322/-29)
  • hermes_cli/debug.py (modified, +13/-7)
  • hermes_cli/dingtalk_auth.py (modified, +0/-1)
  • hermes_cli/doctor.py (modified, +11/-1)
  • hermes_cli/env_loader.py (modified, +2/-1)
  • hermes_cli/fallback_cmd.py (added, +361/-0)
  • hermes_cli/gateway.py (modified, +25/-4)
  • hermes_cli/hooks.py (modified, +1/-2)
  • hermes_cli/main.py (modified, +689/-58)
  • hermes_cli/model_catalog.py (added, +329/-0)
  • hermes_cli/model_switch.py (modified, +366/-306)
  • hermes_cli/models.py (modified, +251/-44)
  • hermes_cli/nous_subscription.py (modified, +16/-8)
  • hermes_cli/oneshot.py (modified, +28/-11)
  • hermes_cli/platforms.py (modified, +1/-0)
  • hermes_cli/plugins.py (modified, +14/-0)
  • hermes_cli/plugins_cmd.py (modified, +0/-1)
  • hermes_cli/profiles.py (modified, +58/-2)
  • hermes_cli/providers.py (modified, +26/-0)
  • hermes_cli/runtime_provider.py (modified, +100/-14)
  • hermes_cli/setup.py (modified, +70/-17)
  • hermes_cli/skills_hub.py (modified, +230/-20)
  • hermes_cli/slack_cli.py (added, +152/-0)
  • hermes_cli/status.py (modified, +3/-2)
  • hermes_cli/timeouts.py (modified, +4/-4)
  • hermes_cli/tips.py (modified, +2/-4)
  • hermes_cli/tools_config.py (modified, +173/-4)
  • hermes_cli/web_server.py (modified, +11/-14)
  • hermes_cli/webhook.py (modified, +2/-2)
  • hermes_logging.py (modified, +3/-4)
  • hermes_state.py (modified, +578/-164)

PR #17108: fix: resolve 7 identified issues [automated]

Description (problem / solution / changelog)

Summary

This PR resolves 7 identified issues in the Hermes Agent codebase. All issues were identified from open GitHub issues in NousResearch/hermes-agent.

Issues Fixed

1. #17076 - kimi-coding vision broken (HTTP 404)

File: agent/auxiliary_client.py Problem: The kimi-coding provider was missing from _PROVIDER_VISION_MODELS, causing the vision auto-detect to fail with HTTP 404 when using image inputs. Fix: Added kimi-coding and kimi-coding-cn to _PROVIDER_VISION_MODELS dict. Commit: 82b920ff

2. #16970 - Model Picker ignores model_catalog.enabled=false

File: hermes_cli/model_switch.py Problem: The list_authenticated_providers() function ignored model_catalog.enabled=false config, showing built-in providers even when the catalog was disabled. Fix: Added catalog_enabled check that skips sections 1-3 (built-in provider enumeration) when model_catalog.enabled=false. Commit: b6b6fbbe

3. #16830 - Credential pool rotation counts toward api_max_retries

File: run_agent.py Problem: When a credential pool rotation occurred, retry_count was not reset, causing premature exhaustion of retries. Fix: Reset retry_count = 0 when _recover_with_credential_pool() succeeds. Commit: 366582d4

4. #16979 - QQ Bot file attachments silently dropped on download failure

File: gateway/platforms/qqbot/adapter.py Problem: When CDN download failed for file attachments, they were silently discarded with no indication to the agent. Fix: Added fallback text (download failed) to attachment_info when download fails. Commit: f956da73

5. #16875 - kimi-k2.6 HTTP 400 via OpenCode Go

Files: hermes_cli/setup.py, hermes_cli/models.py Problem: kimi-k2.6 was listed as an available model for opencode-go provider but returns HTTP 400 on all requests. Fix: Removed kimi-k2.6 from the opencode-go model list in both files. Commit: 5a77400d

6. #16951 - WeChat clips right-side content when scrolling Markdown tables

File: gateway/platforms/weixin.py Problem: WeChat's WebView CSS clips tables with many columns, making rightmost columns invisible. Fix: Added _truncate_wide_table_row() helper that limits table rows to 6 columns and appends ... for overflow indication. Commit: d3e43e10

7. #17009 - Termux hermes update fails with "Failed to determine Android API level"

File: hermes_cli/main.py Problem: Native extension builds (maturin) fail in Termux because ANDROID_API_LEVEL is not set. Fix: In _install_python_dependencies_with_optional_fallback(), detect Termux environment and set ANDROID_API_LEVEL=29 as a safe default. Commit: 096a80b9

Files Modified

  • agent/auxiliary_client.py
  • hermes_cli/model_switch.py
  • run_agent.py
  • gateway/platforms/qqbot/adapter.py
  • hermes_cli/setup.py
  • hermes_cli/models.py
  • gateway/platforms/weixin.py
  • hermes_cli/main.py

Commits (7 total)

  • 82b920ff - fix(vision): add kimi-coding provider to _PROVIDER_VISION_MODELS
  • b6b6fbbe - fix(model_picker): respect model_catalog.enabled=false config
  • 366582d4 - fix(credential_pool): reset retry_count on credential rotation
  • f956da73 - fix(qqbot): add fallback text when attachment download fails
  • 5a77400d - fix(setup): remove kimi-k2.6 from opencode-go model list
  • d3e43e10 - fix(weixin): truncate wide tables to prevent viewport clipping
  • 096a80b9 - fix(termux): set ANDROID_API_LEVEL default during update

Changed files

  • agent/auxiliary_client.py (modified, +4/-0)
  • gateway/platforms/qqbot/adapter.py (modified, +5/-0)
  • gateway/platforms/weixin.py (modified, +21/-0)
  • hermes_cli/main.py (modified, +9/-0)
  • hermes_cli/model_switch.py (modified, +355/-344)
  • hermes_cli/models.py (modified, +0/-1)
  • hermes_cli/setup.py (modified, +1/-1)
  • run_agent.py (modified, +1/-0)

PR #17134: fix: resolve 4 identified issues [automated]

Description (problem / solution / changelog)

Fixes #16974, #17091, #17009, #17049

Changed files

  • Dockerfile (modified, +2/-1)
  • agent/context_compressor.py (modified, +462/-51)
  • agent/transports/chat_completions.py (modified, +11/-0)
  • cli.py (modified, +13/-2)
  • cron/scheduler.py (modified, +5/-6)
  • gateway/platforms/discord.py (modified, +20/-7)
  • gateway/platforms/feishu.py (modified, +26/-7)
  • gateway/run.py (modified, +90/-31)
  • gateway/status.py (modified, +8/-1)
  • hermes_cli/commands.py (modified, +22/-1)
  • hermes_cli/config.py (modified, +1/-1)
  • hermes_cli/copilot_auth.py (modified, +1/-1)
  • hermes_cli/gateway.py (modified, +4/-0)
  • hermes_cli/main.py (modified, +94/-5)
  • hermes_cli/web_server.py (modified, +1/-1)
  • model_tools.py (modified, +44/-13)
  • run_agent.py (modified, +326/-55)
  • skills/red-teaming/godmode/scripts/load_godmode.py (modified, +9/-8)
  • tests/agent/test_context_compressor.py (modified, +389/-0)
  • tests/gateway/test_compress_command.py (modified, +49/-0)
  • tests/run_agent/test_413_compression.py (modified, +81/-1)
  • tests/run_agent/test_compression_boundary_hook.py (modified, +42/-0)
  • tests/run_agent/test_run_agent.py (modified, +100/-13)
  • tools/session_search_tool.py (modified, +2/-2)
  • tui_gateway/server.py (modified, +4/-3)
  • ui-tui/src/app/turnController.ts (modified, +1/-1)

Code Example

Welcome to Termux!


~ $ hermes doctor

┌─────────────────────────────────────────────────────────┐
│                 🩺 Hermes Doctor└─────────────────────────────────────────────────────────┘

Python Environment
Python 3.13.13
Virtual environment active

Required Packages
OpenAI SDK
Rich (terminal UI)
  ✓ python-dotenv
PyYAML
HTTPX
Croniter (cron expressions) (optional)
  ✓ python-telegram-bot (optional)
  ⚠ discord.py (optional, not installed)

Configuration Files
~/.hermes/.env file exists
API key or custom endpoint configured
~/.hermes/config.yaml exists
Config version up to date (v22)

Auth Providers
Nous Portal auth (not logged in)
OpenAI Codex auth (not logged in)
No Codex credentials stored. Run `hermes auth` to aut
henticate.
   Google Gemini OAuth (not logged in)
  ⚠ codex CLI not found (required for openai-codex login)

Directory Structure
~/.hermes directory exists
~/.hermes/cron/ exists
~/.hermes/sessions/ exists
~/.hermes/logs/ exists
~/.hermes/skills/ exists
~/.hermes/memories/ exists
~/.hermes/SOUL.md exists (persona configured)
~/.hermes/memories/ directory exists
MEMORY.md not created yet (will be created when the a
gent first writes a memory)
USER.md not created yet (will be created when the age
nt first writes a memory)
~/.hermes/state.db exists (4 sessions)

Command Installation
Venv entry point exists (venv/bin/hermes)
  ✓ $PREFIX/bin/hermes → correct target

External Tools
  ✓ git
ripgrep (rg) (faster file search)
Docker backend is not available inside Termux (expect
ed on Android)
Node.js
    → agent-browser is not installed (expected in the teste
d Termux path)
Install it manually later with: npm install -g agent-
browser && agent-browser install
Termux browser setup:
1) npm install -g agent-browser
2) agent-browser install

API Connectivity
OpenRouter API
Hugging Face

Submodules
  ⚠ tinker-atropos not found (run: git submodule update --i
nit --recursive)

Tool Availability
  ✓ clarify
  ✓ code_execution
  ✓ cronjob
  ✓ terminal
  ✓ delegation
  ✓ file
  ✓ memory
  ✓ moa
  ✓ session_search
  ✓ skills
  ✓ todo
  ✓ tts
  ✓ vision
  ⚠ browser-cdp (system dependency not met)
browser (system dependency not met)
discord (missing DISCORD_BOT_TOKEN)
discord_admin (missing DISCORD_BOT_TOKEN)
feishu_doc (system dependency not met)
feishu_drive (system dependency not met)
homeassistant (system dependency not met)
image_gen (system dependency not met)
rl (missing TINKER_API_KEY, WANDB_API_KEY)
messaging (system dependency not met)
web (missing EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_
KEY, FIRECRAWL_API_KEY, FIRECRAWL_API_URL)
spotify (system dependency not met)

Skills Hub
Skills Hub directory not initialized (run: hermes skill
s list)
No GITHUB_TOKEN (60 req/hr rate limit — set in ~/.herme
s/.env for better rates)

Memory Provider
Built-in memory active (no external provider configured
this is fine)

───────────────────────────────────────────────────────────
  Found 1 issue(s) to address:

  1. Run 'hermes setup' to configure missing API keys for f
ull tool access

  Tip: run 'hermes doctor --fix' to auto-fix what's possibl
e.

~ $ hermes skills list
                     Installed Skills
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┓
NameCategorySourceTrust┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━┩
│ dogfood          │                  │ builtin │ builtin │
│ claude-code      │ autonomous-ai-a… │ builtin │ builtin │
│ codex            │ autonomous-ai-a… │ builtin │ builtin │
│ hermes-agent     │ autonomous-ai-a… │ builtin │ builtin │
│ opencode         │ autonomous-ai-a… │ builtin │ builtin │
│ architecture-di… │ creative         │ builtin │ builtin │
│ ascii-art        │ creative         │ builtin │ builtin │
│ ascii-video      │ creative         │ builtin │ builtin │
│ baoyu-comic      │ creative         │ builtin │ builtin │
│ baoyu-infograph… │ creative         │ builtin │ builtin │
│ design-md        │ creative         │ builtin │ builtin │
│ excalidraw       │ creative         │ builtin │ builtin │
│ ideation         │ creative         │ builtin │ builtin │
│ manim-video      │ creative         │ builtin │ builtin │
│ p5js             │ creative         │ builtin │ builtin │
│ pixel-art        │ creative         │ builtin │ builtin │
│ popular-web-des… │ creative         │ builtin │ builtin │
│ songwriting-and… │ creative         │ builtin │ builtin │
│ jupyter-live-ke… │ data-science     │ builtin │ builtin │
│ webhook-subscri… │ devops           │ builtin │ builtin │
│ himalaya         │ email            │ builtin │ builtin │
│ minecraft-modpa… │ gaming           │ builtin │ builtin │
│ pokemon-player   │ gaming           │ builtin │ builtin │
│ codebase-inspec… │ github           │ builtin │ builtin │
│ github-auth      │ github           │ builtin │ builtin │
│ github-code-rev… │ github           │ builtin │ builtin │
│ github-issues    │ github           │ builtin │ builtin │
│ github-pr-workf… │ github           │ builtin │ builtin │
│ github-repo-man… │ github           │ builtin │ builtin │
│ native-mcp       │ mcp              │ builtin │ builtin │
│ gif-search       │ media            │ builtin │ builtin │
│ heartmula        │ media            │ builtin │ builtin │
│ songsee          │ media            │ builtin │ builtin │
│ spotify          │ media            │ builtin │ builtin │
│ youtube-content  │ media            │ builtin │ builtin │
│ audiocraft-audi… │ mlops            │ builtin │ builtin │
│ axolotl          │ mlops            │ builtin │ builtin │
│ dspy             │ mlops            │ builtin │ builtin │
│ evaluating-llms… │ mlops            │ builtin │ builtin │
│ fine-tuning-wit… │ mlops            │ builtin │ builtin │
│ huggingface-hub  │ mlops            │ builtin │ builtin │
│ llama-cpp        │ mlops            │ builtin │ builtin │
│ obliteratus      │ mlops            │ builtin │ builtin │
│ outlines         │ mlops            │ builtin │ builtin │
│ segment-anythin… │ mlops            │ builtin │ builtin │
│ serving-llms-vl… │ mlops            │ builtin │ builtin │
│ unsloth          │ mlops            │ builtin │ builtin │
│ weights-and-bia… │ mlops            │ builtin │ builtin │
│ obsidian         │ note-taking      │ builtin │ builtin │
│ google-workspace │ productivity     │ builtin │ builtin │
│ linear           │ productivity     │ builtin │ builtin │
│ maps             │ productivity     │ builtin │ builtin │
│ nano-pdf         │ productivity     │ builtin │ builtin │
│ notion           │ productivity     │ builtin │ builtin │
│ ocr-and-documen… │ productivity     │ builtin │ builtin │
│ powerpoint       │ productivity     │ builtin │ builtin │
│ godmode          │ red-teaming      │ builtin │ builtin │
│ arxiv            │ research         │ builtin │ builtin │
│ blogwatcher      │ research         │ builtin │ builtin │
│ llm-wiki         │ research         │ builtin │ builtin │
│ polymarket       │ research         │ builtin │ builtin │
│ openhue          │ smart-home       │ builtin │ builtin │
│ plan             │ software-develo… │ builtin │ builtin │
│ requesting-code… │ software-develo… │ builtin │ builtin │
│ subagent-driven… │ software-develo… │ builtin │ builtin │
│ systematic-debu… │ software-develo… │ builtin │ builtin │
│ test-driven-dev… │ software-develo… │ builtin │ builtin │
│ writing-plans    │ software-develo… │ builtin │ builtin │
└──────────────────┴──────────────────┴─────────┴─────────┘
0 hub-installed, 68 builtin, 0 local

~ $

---

Debug report uploaded:
  Report     https://paste.rs/t0dig
  agent.log  https://paste.rs/TZepD

---

~ $ hermes debug share
⚠️  This will upload the following to a public paste service:
System info (OS, Python version, Hermes version, provider, which API keys
    are configured — NOT the actual keys)
Recent log lines (agent.log, errors.log, gateway.log — may contain
    conversation fragments and file paths)
Full agent.log and gateway.log (up to 512 KB each — likely contains
    conversation content, tool outputs, and file paths)

Pastes auto-delete after 6 hours.

Collecting debug report...
Uploading...

Debug report uploaded:
  Report     https://paste.rs/t0dig
  agent.log  https://paste.rs/TZepD

Pastes will auto-delete in 6 hours.
To delete now:  hermes debug delete <url>

Share these links with the Hermes team for support.
~ $

---

~ $ hermes update
Updating Hermes Agent...

Fetching updates...
Found 540 new commit(s)
Pulling updates...
Cleared 16 stale __pycache__ directories
Updating Python dependencies...
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [214 lines of output]
          Updating git repository `https://github.com/apache/arrow-rs-object-store`
          Updating crates.io index
          Updating git repository `https://github.com/alex/pyo3-file`
      warning: patch `object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1)` was not used in the crate graph
      help: Check that the patched package version and available features are compatible
            with the dependency requirements. If the patch has a different version from
            what is locked in the Cargo.lock file, run `cargo update` to use the new
            version. This may also occur with an optional dependency that is not enabled.
       Downloading crates ...
        Downloaded android-tzdata v0.1.1
        Downloaded android_system_properties v0.1.5
        Downloaded const-random v0.1.18
        Downloaded const-random-macro v0.1.16
        Downloaded cfg-if v1.0.1
        Downloaded portable-atomic-util v0.2.4
        Downloaded pyo3-async-runtimes v0.26.0
        Downloaded windows-interface v0.59.1
        Downloaded skeptic v0.13.7
        Downloaded pyo3-bytes v0.4.0
        Downloaded siphasher v1.0.1
        Downloaded futures-sink v0.3.31
        Downloaded crypto-common v0.1.6
        Downloaded futures-io v0.3.31
        Downloaded tower-service v0.3.3
        Downloaded form_urlencoded v1.2.1
        Downloaded tower-layer v0.3.3
        Downloaded serde_urlencoded v0.7.1
        Downloaded sync_wrapper v1.0.2
        Downloaded errno v0.3.13
        Downloaded windows-targets v0.53.2
        Downloaded tinyvec_macros v0.1.1
        Downloaded windows-implement v0.60.0
        Downloaded wasm-bindgen-futures v0.4.50
        Downloaded windows-strings v0.4.2
        Downloaded windows-link v0.1.3
        Downloaded want v0.3.1
        Downloaded windows-result v0.3.4
        Downloaded try-lock v0.2.5
        Downloaded lru-slab v0.1.2
        Downloaded iana-time-zone-haiku v0.1.2
        Downloaded num-iter v0.1.45
        Downloaded yoke-derive v0.8.0
        Downloaded openssl-probe v0.1.6
        Downloaded tokio-macros v2.5.0
        Downloaded quinn-udp v0.5.13
        Downloaded md-5 v0.10.6
        Downloaded rustls-pemfile v2.2.0
        Downloaded zerovec-derive v0.11.1
        Downloaded simdutf8 v0.1.5
        Downloaded unicase v2.8.1
        Downloaded tinystr v0.8.1
        Downloaded thiserror v2.0.12
        Downloaded rustc-demangle v0.1.25
        Downloaded rawpointer v0.2.1
        Downloaded security-framework-sys v2.14.0
        Downloaded num v0.4.3
        Downloaded redox_syscall v0.5.13
        Downloaded zeroize v1.8.1
        Downloaded thiserror-impl v2.0.12
        Downloaded tiny-keccak v2.0.2
        Downloaded writeable v0.6.1
        Downloaded slab v0.4.10
        Downloaded atomic-waker v1.1.2
        Downloaded rustls-native-certs v0.8.1
        Downloaded async-trait v0.1.88
        Downloaded potential_utf v0.1.2
        Downloaded rand_core v0.9.3
        Downloaded phf_shared v0.12.1
        Downloaded itoa v1.0.15
        Downloaded yoke v0.8.0
        Downloaded bytecount v0.6.9
        Downloaded futures-executor v0.3.31
        Downloaded quote v1.0.40
        Downloaded glob v0.3.2
        Downloaded http-body-util v0.1.3
        Downloaded windows-core v0.61.2
        Downloaded tokio-rustls v0.26.2
        Downloaded rustversion v1.0.21
        Downloaded num-rational v0.4.2
        Downloaded tempfile v3.20.0
        Downloaded ipnet v2.11.0
        Downloaded tracing-attributes v0.1.30
        Downloaded http-body v1.0.1
        Downloaded flatbuffers v25.2.10
        Downloaded csv-core v0.1.12
        Downloaded ryu v1.0.20
        Downloaded wasm-streams v0.4.2
        Downloaded lock_api v0.4.13
        Downloaded phf v0.12.1
        Downloaded humantime v2.2.0
        Downloaded pyo3-arrow v0.12.0
        Downloaded percent-encoding v2.3.1
        Downloaded socket2 v0.5.10
        Downloaded tinyvec v1.9.0
        Downloaded rustls-pki-types v1.12.0
        Downloaded tracing-core v0.1.34
        Downloaded lexical-core v1.0.5
        Downloaded semver v1.0.26
        Downloaded unicode-ident v1.0.18
        Downloaded serde_derive v1.0.219
        Downloaded addr2line v0.24.2
        Downloaded cargo_metadata v0.14.2
        Downloaded atoi v2.0.0
        Downloaded quinn v0.11.8
        Downloaded arrow-row v56.0.0
        Downloaded schannel v0.1.27
        Downloaded pulldown-cmark v0.9.6
        Downloaded error-chain v0.12.4
        Downloaded url v2.5.4
        Downloaded getrandom v0.2.16
        Downloaded futures-channel v0.3.31
        Downloaded arrow-string v56.0.0
        Downloaded hyper-rustls v0.27.7
        Downloaded num-complex v0.4.6
        Downloaded rand v0.9.1
        Downloaded serde v1.0.219
        Downloaded rustls-webpki v0.103.4
        Downloaded zerocopy-derive v0.8.26
        Downloaded security-framework v3.2.0
        Downloaded typenum v1.18.0
        Downloaded litemap v0.8.0
        Downloaded zerotrie v0.2.2
        Downloaded parking_lot_core v0.9.11
        Downloaded indoc v2.0.6
        Downloaded iana-time-zone v0.1.63
        Downloaded parking_lot v0.12.4
        Downloaded arrow-arith v56.0.0
        Downloaded arrow-csv v56.0.0
        Downloaded arrow-data v56.0.0
        Downloaded tower v0.5.2
        Downloaded tracing v0.1.41
        Downloaded matrixmultiply v0.3.10
        Downloaded icu_properties v2.0.1
        Downloaded futures v0.3.31
        Downloaded half v2.6.0
        Downloaded camino v1.1.10
        Downloaded arrow-ord v56.0.0
        Downloaded zerovec v0.11.2
        Downloaded tower-http v0.6.6
        Downloaded tokio-util v0.7.15
        Downloaded arrow-buffer v56.0.0
        Downloaded proc-macro2 v1.0.95
        Downloaded lexical-write-integer v1.0.5
        Downloaded serde_json v1.0.140
        Downloaded icu_normalizer v2.0.0
        Downloaded icu_provider v2.0.0
        Downloaded icu_normalizer_data v2.0.0
        Downloaded icu_locale_core v2.0.0
        Downloaded arrow v56.0.0
        Downloaded comfy-table v7.1.4
        Downloaded bytes v1.10.1
        Downloaded arrow-schema v56.0.0
        Downloaded arrow-select v56.0.0
        Downloaded arrow-json v56.0.0
        Downloaded icu_collections v2.0.0
        Downloaded quick-xml v0.38.0
        Downloaded winnow v0.7.12
        Downloaded memchr v2.7.5
        Downloaded reqwest v0.12.22
        Downloaded indexmap v2.10.0
        Downloaded arrow-cast v56.0.0
        Downloaded http v1.3.1
        Downloaded mio v1.0.4
        Downloaded io-uring v0.7.8
        Downloaded numpy v0.26.0
        Downloaded lexical-write-float v1.0.5
        Downloaded hyper-util v0.1.15
        Downloaded quinn-proto v0.11.12
        Downloaded arrow-ipc v56.0.0
        Downloaded cc v1.2.29
        Downloaded backtrace v0.3.75
        Downloaded zerocopy v0.8.26
        Downloaded iri-string v0.7.8
        Downloaded idna v1.0.3
        Downloaded regex v1.11.1
        Downloaded icu_properties_data v2.0.1
        Downloaded hyper v1.6.0
        Downloaded libm v0.2.15
        Downloaded syn v2.0.104
        Downloaded unicode-width v0.2.1
        Downloaded h2 v0.4.11
        Downloaded hashbrown v0.15.4
        Downloaded chrono v0.4.41
        Downloaded arrow-array v56.0.0
        Downloaded ndarray v0.16.1
        Downloaded object_store v0.12.3
        Downloaded gimli v0.31.1
        Downloaded object v0.36.7
        Downloaded rustls v0.23.29
        Downloaded rustix v1.0.8
        Downloaded chrono-tz v0.10.4
        Downloaded libc v0.2.174
        Downloaded csv v1.3.1
        Downloaded web-sys v0.3.77
        Downloaded regex-automata v0.4.9
        Downloaded linux-raw-sys v0.9.4
        Downloaded windows_x86_64_gnullvm v0.53.0
        Downloaded windows_aarch64_gnullvm v0.53.0
        Downloaded windows_x86_64_msvc v0.53.0
        Downloaded windows_aarch64_msvc v0.53.0
        Downloaded windows_i686_gnullvm v0.53.0
        Downloaded windows_i686_gnu v0.53.0
        Downloaded windows_x86_64_gnu v0.53.0
        Downloaded windows_i686_msvc v0.53.0
        Downloaded tokio v1.46.1
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> obstore

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
   Optional extras failed, reinstalling base dependencies and retrying extras individually...
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [10 lines of output]
      📦 Including license file `LICENSE`
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options bindings from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> watchfiles

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [14 lines of output]
      warning: patch `object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1)` was not used in the crate graph
      help: Check that the patched package version and available features are compatible
            with the dependency requirements. If the patch has a different version from
            what is locked in the Cargo.lock file, run `cargo update` to use the new
            version. This may also occur with an optional dependency that is not enabled.
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> obstore

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [128 lines of output]
          Updating crates.io index
       Downloading crates ...
        Downloaded base16ct v0.2.0
        Downloaded base64ct v1.8.3
        Downloaded aead v0.5.2
        Downloaded cipher v0.4.4
        Downloaded scrypt v0.11.0
        Downloaded wasm-bindgen-futures v0.4.65
        Downloaded futures-macro v0.3.32
        Downloaded futures-io v0.3.32
        Downloaded spki v0.7.3
        Downloaded wasm-bindgen-macro v0.2.115
        Downloaded curve25519-dalek-derive v0.1.1
        Downloaded zeroize_derive v1.4.3
        Downloaded wasm-bindgen-shared v0.2.115
        Downloaded universal-hash v0.5.1
        Downloaded tls_codec v0.4.2
        Downloaded tls_codec_derive v0.4.2
        Downloaded libcrux-curve25519 v0.0.6
        Downloaded hex-literal v0.3.4
        Downloaded instant v0.1.13
        Downloaded opaque-debug v0.3.1
        Downloaded inout v0.1.4
        Downloaded x25519-dalek v2.0.1
        Downloaded zerocopy-derive v0.8.47
        Downloaded wasm-bindgen-macro-support v0.2.115
        Downloaded proc-macro-error-attr2 v2.0.0
        Downloaded rfc6979 v0.4.0
        Downloaded openmls_traits v0.5.0
        Downloaded libcrux-platform v0.0.3
        Downloaded libcrux-macros v0.0.3
        Downloaded libcrux-aead v0.0.7
        Downloaded rand_chacha v0.3.1
        Downloaded hpke-rs-libcrux v0.6.1
        Downloaded hax-lib-macros-types v0.3.6
        Downloaded hpke-rs-crypto v0.6.1
        Downloaded libcrux-intrinsics v0.0.6
        Downloaded wasm-bindgen v0.2.115
        Downloaded libcrux-kem v0.0.7
        Downloaded ghash v0.5.1
        Downloaded futures-task v0.3.32
        Downloaded futures-core v0.3.32
        Downloaded futures-sink v0.3.32
        Downloaded zerocopy v0.8.47
        Downloaded num-derive v0.4.2
        Downloaded openmls_memory_storage v0.5.0
        Downloaded salsa20 v0.10.2
        Downloaded libcrux-hkdf v0.0.6
        Downloaded pyo3-macros v0.25.1
        Downloaded pastey v0.2.1
        Downloaded openmls_basic_credential v0.5.0
        Downloaded web-sys v0.3.92
        Downloaded libcrux-hmac v0.0.6
        Downloaded const-oid v0.9.6
        Downloaded pbkdf2 v0.12.2
        Downloaded libcrux-poly1305 v0.0.5
        Downloaded chacha20 v0.9.1
        Downloaded serde_bytes v0.11.19
        Downloaded signature v2.2.0
        Downloaded futures-executor v0.3.32
        Downloaded ecdsa v0.16.9
        Downloaded ctr v0.9.2
        Downloaded redox_syscall v0.2.16
        Downloaded poly1305 v0.8.0
        Downloaded libcrux-secrets v0.0.5
        Downloaded rand_core v0.10.0
        Downloaded pkcs8 v0.10.2
        Downloaded pem-rfc7468 v0.7.0
        Downloaded libcrux-p256 v0.0.6
        Downloaded sec1 v0.7.3
        Downloaded primeorder v0.13.6
        Downloaded hpke-rs-rust-crypto v0.6.1
        Downloaded polyval v0.6.2
        Downloaded libcrux-sha2 v0.0.6
        Downloaded group v0.13.0
        Downloaded rand_chacha v0.10.0
        Downloaded openmls_rust_crypto v0.5.1
        Downloaded libcrux-traits v0.0.6
        Downloaded hax-lib-macros v0.3.6
        Downloaded fluvio-wasm-timer v0.2.5
        Downloaded futures-channel v0.3.32
        Downloaded ff v0.13.1
        Downloaded ed25519 v2.2.3
        Downloaded core-models v0.0.5
        Downloaded proc-macro-error2 v2.0.1
        Downloaded libcrux-chacha20poly1305 v0.0.7
        Downloaded pyo3-build-config v0.25.1
        Downloaded libcrux-aesgcm v0.0.7
        Downloaded libcrux-sha3 v0.0.8
        Downloaded pin-project-lite v0.2.17
        Downloaded parking_lot_core v0.8.6
        Downloaded elliptic-curve v0.13.8
        Downloaded hmac v0.12.1
        Downloaded p256 v0.13.2
        Downloaded libcrux-hacl-rs v0.0.4
        Downloaded hpke-rs v0.6.1
        Downloaded chacha20poly1305 v0.10.1
        Downloaded futures v0.3.32
        Downloaded pyo3-ffi v0.25.1
        Downloaded parking_lot v0.11.2
        Downloaded libcrux-ecdh v0.0.6
        Downloaded der v0.7.10
        Downloaded crypto-bigint v0.5.5
        Downloaded pyo3-macros-backend v0.25.1
        Downloaded k256 v0.13.4
        Downloaded ed25519-dalek v2.2.0
        Downloaded rand v0.10.0
        Downloaded js-sys v0.3.92
        Downloaded aes v0.8.4
        Downloaded libcrux-ml-kem v0.0.8
        Downloaded aes-gcm v0.10.3
        Downloaded futures-util v0.3.32
        Downloaded hkdf v0.12.4
        Downloaded p384 v0.13.1
        Downloaded hax-lib v0.3.6
        Downloaded curve25519-dalek v4.1.3
        Downloaded fiat-crypto v0.2.9
        Downloaded openmls v0.8.1
        Downloaded libc v0.2.183
        Downloaded pyo3 v0.25.1
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> davey

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
   exit code: 1
  ╰─> [70 lines of output]
      CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 has been removed from CMake.

        Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.

        Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 4, in <module>
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)  # type: ignore[return-value]
                 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 148, in setup
          _setup_distribution = dist = klass(attrs)
                                       ~~~~~^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 321, in __init__
          _Distribution.__init__(self, dist_attrs)
          ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 307, in __init__
          self.finalize_options()
          ~~~~~~~~~~~~~~~~~~~~~^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 790, in finalize_options
          ep(self)
          ~~^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 810, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
          ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 229, in cffi_modules
          add_cffi_module(dist, cffi_module)
          ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 50, in add_cffi_module
          execfile(build_file_name, mod_vars)
          ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 26, in execfile
          exec(code, glob, glob)
          ~~~~^^^^^^^^^^^^^^^^^^
        File "olm_build.py", line 35, in <module>
          subprocess.run(
          ~~~~~~~~~~~~~~^
              ["cmake", ".", "-Bbuild", "-DBUILD_SHARED_LIBS=NO"],
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              cwd="libolm", check=True,
              ^^^^^^^^^^^^^^^^^^^^^^^^^
          )
          ^
        File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 577, in run
          raise CalledProcessError(retcode, process.args,
                                   output=stdout, stderr=stderr)
      subprocess.CalledProcessError: Command '['cmake', '.', '-Bbuild', '-DBUILD_SHARED_LIBS=NO']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'python-olm' when getting requirements to build wheel


  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [181 lines of output]
          Updating crates.io index
          Updating git repository `https://github.com/salsa-rs/salsa.git`
          Updating git repository `https://github.com/astral-sh/lsp-types.git`
       Downloading crates ...
        Downloaded anstyle-query v1.1.4
        Downloaded anstyle-lossy v1.1.4
        Downloaded serde_repr v0.1.20
        Downloaded quote-use-macros v0.8.4
        Downloaded anstyle-wincon v3.0.10
        Downloaded collection_literals v1.0.2
        Downloaded cpufeatures v0.3.0
        Downloaded cfg-if v1.0.3
        Downloaded quote-use v0.8.4
        Downloaded ctrlc v3.5.2
        Downloaded countme v3.0.1
        Downloaded crossbeam v0.8.4
        Downloaded supports-hyperlinks v3.2.0
        Downloaded crossbeam-queue v0.3.12
        Downloaded get-size-derive2 v0.7.4
        Downloaded darling_macro v0.21.3
        Downloaded tracing-flame v0.2.0
        Downloaded etcetera v0.11.0
        Downloaded unicode_names2_generator v1.3.0
        Downloaded unic-char-range v0.9.0
        Downloaded windows-targets v0.53.3
        Downloaded escape8259 v0.5.3
        Downloaded attribute-derive-macro v0.10.3
        Downloaded castaway v0.2.4
        Downloaded utf8-width v0.1.7
        Downloaded unic-ucd-version v0.9.0
        Downloaded windows-link v0.2.0
        Downloaded bit-set v0.8.0
        Downloaded anstream v1.0.0
        Downloaded windows-result v0.4.0
        Downloaded unic-char-property v0.9.0
        Downloaded wasm-bindgen-macro v0.2.105
        Downloaded unic-common v0.9.0
        Downloaded tryfn v1.0.0
        Downloaded argfile v1.0.0
        Downloaded strip-ansi-escapes v0.2.1
        Downloaded is-macro v0.3.7
        Downloaded is_executable v1.0.5
        Downloaded typeid v1.0.3
        Downloaded potential_utf v0.1.3
        Downloaded anstyle-parse v1.0.0
        Downloaded libredox v0.1.10
        Downloaded is_terminal_polyfill v1.70.1
        Downloaded manyhow-macros v0.11.4
        Downloaded jiff-tzdb-platform v0.1.3
        Downloaded ident_case v1.0.1
        Downloaded matches v0.1.10
        Downloaded jod-thread v1.0.0
        Downloaded os_pipe v1.2.2
        Downloaded unit-prefix v0.5.1
        Downloaded once_cell_polyfill v1.70.1
        Downloaded phf_codegen v0.11.3
        Downloaded windows-strings v0.5.0
        Downloaded rustc-stable-hash v0.1.2
        Downloaded quickcheck_macros v1.2.0
        Downloaded num_cpus v1.17.0
        Downloaded escargot v0.5.15
        Downloaded attribute-derive v0.10.3
        Downloaded anstyle-svg v0.1.11
        Downloaded clap_lex v1.0.0
        Downloaded test-case-macros v3.3.1
        Downloaded test-case-core v3.3.1
        Downloaded drop_bomb v0.1.5
        Downloaded snapbox-macros v1.0.0
        Downloaded tikv-jemallocator v0.6.1
        Downloaded html-escape v0.2.13
        Downloaded getopts v0.2.24
        Downloaded wasm-bindgen-shared v0.2.105
        Downloaded threadpool v1.8.1
        Downloaded fs-err v3.3.0
        Downloaded test-case v3.3.1
        Downloaded hashlink v0.10.0
        Downloaded get-size2 v0.7.4
        Downloaded bit-vec v0.8.0
        Downloaded serde_test v1.0.177
        Downloaded dashmap v6.1.0
        Downloaded find-msvc-tools v0.1.2
        Downloaded kqueue v1.1.1
        Downloaded manyhow v0.11.4
        Downloaded insta-cmd v0.6.0
        Downloaded lsp-server v0.7.9
        Downloaded inventory v0.3.21
        Downloaded version-ranges v0.1.1
        Downloaded objc2-encode v4.1.0
        Downloaded nu-ansi-term v0.50.1
        Downloaded pest_generator v2.8.2
        Downloaded zstd-safe v5.0.2+zstd.1.5.2
        Downloaded toml_datetime v1.0.0+spec-1.1.0
        Downloaded shellexpand v3.1.1
        Downloaded os_str_bytes v7.1.1
        Downloaded quickcheck v1.1.0
        Downloaded unic-ucd-category v0.9.0
        Downloaded proc-macro-utils v0.10.0
        Downloaded clap_complete v4.5.58
        Downloaded libtest-mimic v0.8.1
        Downloaded block2 v0.6.2
        Downloaded console v0.16.1
        Downloaded chacha20 v0.10.0
        Downloaded colored v3.1.1
        Downloaded datatest-stable v0.3.3
        Downloaded thin-vec v0.2.14
        Downloaded tempfile v3.25.0
        Downloaded libtest-mimic v0.7.3
        Downloaded pest_derive v2.8.2
        Downloaded zstd v0.11.2+zstd.1.5.2
        Downloaded wasm-bindgen v0.2.105
        Downloaded pest_meta v2.8.2
        Downloaded jiff-tzdb v0.1.4
        Downloaded intrusive-collections v0.9.7
        Downloaded quick-junit v0.5.2
        Downloaded compact_str v0.9.0
        Downloaded vte v0.14.1
        Downloaded getrandom v0.4.1
        Downloaded darling_core v0.21.3
        Downloaded seahash v4.1.0
        Downloaded flate2 v1.1.2
        Downloaded fancy-regex v0.14.0
        Downloaded windows-core v0.62.0
        Downloaded ucd-trie v0.1.7
        Downloaded js-sys v0.3.82
        Downloaded minimal-lexical v0.2.1
        Downloaded jiff-static v0.2.21
        Downloaded tinyvec v1.10.0
        Downloaded toml v1.0.3+spec-1.1.0
        Downloaded pest v2.8.2
        Downloaded zip v0.6.6
        Downloaded wasm-bindgen-macro-support v0.2.105
        Downloaded terminfo v0.9.0
        Downloaded clap_builder v4.5.60
        Downloaded hashbrown v0.14.5
        Downloaded clearscreen v4.0.5
        Downloaded uuid v1.21.0
        Downloaded objc2 v0.6.3
        Downloaded zerocopy-derive v0.8.27
        Downloaded snapbox v1.0.0
        Downloaded chrono v0.4.42
        Downloaded wit-bindgen v0.46.0
        Downloaded nom v7.1.3
        Downloaded cc v1.2.38
        Downloaded ordermap v1.1.0
        Downloaded zerovec v0.11.4
        Downloaded unicode-normalization v0.1.24
        Downloaded wasip2 v1.0.1+wasi-0.2.4
        Downloaded indicatif v0.18.4
        Downloaded arc-swap v1.8.2
        Downloaded ron v0.12.0
        Downloaded iana-time-zone v0.1.64
        Downloaded redox_syscall v0.5.17
        Downloaded derive-where v1.6.0
        Downloaded winnow v0.7.13
        Downloaded serde_with v3.16.1
        Downloaded quick-xml v0.38.4
        Downloaded darling v0.21.3
        Downloaded zerocopy v0.8.27
        Downloaded clap_complete_nushell v4.5.8
        Downloaded clap v4.5.60
        Downloaded zmij v1.0.10
        Downloaded toml_parser v1.0.9+spec-1.1.0
        Downloaded serde_with_macros v3.16.1
        Downloaded unicode_names2 v1.3.0
        Downloaded jiff v0.2.21
        Downloaded notify v8.2.0
        Downloaded newtype-uuid v1.2.4
        Downloaded matchit v0.9.1
        Downloaded dispatch2 v0.3.0
        Downloaded interpolator v0.5.0
        Downloaded tikv-jemalloc-sys v0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
        Downloaded windows-sys v0.61.0
      📦 Including license file `LICENSE`
      🍹 Building a mixed python/rust project
      🔗 Found bin bindings
      📡 Using build options bindings from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> ty

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

---

^CERROR: Operation cancelled by user
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/hermes", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 9173, in main
    plugins_command(args)
    ^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5592, in cmd_update
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5852, in _cmd_update_impl
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5342, in _install_python_dependencies_with_optional_fallback
    if not os.path.isdir(extracted):
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
                extracted = candidate

  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 556, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 1214, in communicate
    self.wait()
    ~~~~~~~~~^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 1280, in wait
    return self._wait(timeout=timeout)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 2083, in _wait
    (pid, sts) = self._try_wait(0)
                 ~~~~~~~~~~~~~~^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 2041, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
                 ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

~ $

---

~ $ npm install -g agent-browser && agent-browser install

> agent-browser@0.26.0 postinstall
> node scripts/postinstall.js

Downloading native binary for android-arm64...
URL: https://github.com/vercel-labs/agent-browser/releases/download/v0.26.0/agent-browser-android-arm64
Could not download native binary: Failed to download: HTTP 404

To build the native binary locally:
  1. Install Rust: https://rustup.rs
  2. Run: npm run build:native
Optimized: symlink points to native binary (zero overhead)

No Chrome installation detected.
  If you plan to use a local browser, run:

    agent-browser install

  You can skip this if you use --cdp, --provider, --engine, or --executable-path.


added 1 package in 12s
bash: /data/data/com.termux/files/usr/bin/agent-browser: Permission denied
~ $
RAW_BUFFERClick to expand / collapse

What's Going Wrong?

Hermes fails to interact with the filesystem. Produces commands with no results.

Steps Taken

Welcome to Termux!


~ $ hermes doctor

┌─────────────────────────────────────────────────────────┐
│                 🩺 Hermes Doctor                        │
└─────────────────────────────────────────────────────────┘

◆ Python Environment
  ✓ Python 3.13.13
  ✓ Virtual environment active

◆ Required Packages
  ✓ OpenAI SDK
  ✓ Rich (terminal UI)
  ✓ python-dotenv
  ✓ PyYAML
  ✓ HTTPX
  ✓ Croniter (cron expressions) (optional)
  ✓ python-telegram-bot (optional)
  ⚠ discord.py (optional, not installed)

◆ Configuration Files
  ✓ ~/.hermes/.env file exists
  ✓ API key or custom endpoint configured
  ✓ ~/.hermes/config.yaml exists
  ✓ Config version up to date (v22)

◆ Auth Providers
  ⚠ Nous Portal auth (not logged in)
  ⚠ OpenAI Codex auth (not logged in)
    → No Codex credentials stored. Run `hermes auth` to aut
henticate.
  ⚠ Google Gemini OAuth (not logged in)
  ⚠ codex CLI not found (required for openai-codex login)

◆ Directory Structure
  ✓ ~/.hermes directory exists
  ✓ ~/.hermes/cron/ exists
  ✓ ~/.hermes/sessions/ exists
  ✓ ~/.hermes/logs/ exists
  ✓ ~/.hermes/skills/ exists
  ✓ ~/.hermes/memories/ exists
  ✓ ~/.hermes/SOUL.md exists (persona configured)
  ✓ ~/.hermes/memories/ directory exists
    → MEMORY.md not created yet (will be created when the a
gent first writes a memory)
    → USER.md not created yet (will be created when the age
nt first writes a memory)
  ✓ ~/.hermes/state.db exists (4 sessions)

◆ Command Installation
  ✓ Venv entry point exists (venv/bin/hermes)
  ✓ $PREFIX/bin/hermes → correct target

◆ External Tools
  ✓ git
  ✓ ripgrep (rg) (faster file search)
    → Docker backend is not available inside Termux (expect
ed on Android)
  ✓ Node.js
    → agent-browser is not installed (expected in the teste
d Termux path)
    → Install it manually later with: npm install -g agent-
browser && agent-browser install
    → Termux browser setup:
    → 1) npm install -g agent-browser
    → 2) agent-browser install

◆ API Connectivity
  ✓ OpenRouter API
  ✓ Hugging Face

◆ Submodules
  ⚠ tinker-atropos not found (run: git submodule update --i
nit --recursive)

◆ Tool Availability
  ✓ clarify
  ✓ code_execution
  ✓ cronjob
  ✓ terminal
  ✓ delegation
  ✓ file
  ✓ memory
  ✓ moa
  ✓ session_search
  ✓ skills
  ✓ todo
  ✓ tts
  ✓ vision
  ⚠ browser-cdp (system dependency not met)
  ⚠ browser (system dependency not met)
  ⚠ discord (missing DISCORD_BOT_TOKEN)
  ⚠ discord_admin (missing DISCORD_BOT_TOKEN)
  ⚠ feishu_doc (system dependency not met)
  ⚠ feishu_drive (system dependency not met)
  ⚠ homeassistant (system dependency not met)
  ⚠ image_gen (system dependency not met)
  ⚠ rl (missing TINKER_API_KEY, WANDB_API_KEY)
  ⚠ messaging (system dependency not met)
  ⚠ web (missing EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_
KEY, FIRECRAWL_API_KEY, FIRECRAWL_API_URL)
  ⚠ spotify (system dependency not met)

◆ Skills Hub
  ⚠ Skills Hub directory not initialized (run: hermes skill
s list)
  ⚠ No GITHUB_TOKEN (60 req/hr rate limit — set in ~/.herme
s/.env for better rates)

◆ Memory Provider
  ✓ Built-in memory active (no external provider configured
 — this is fine)

───────────────────────────────────────────────────────────
  Found 1 issue(s) to address:

  1. Run 'hermes setup' to configure missing API keys for f
ull tool access

  Tip: run 'hermes doctor --fix' to auto-fix what's possibl
e.

~ $ hermes skills list
                     Installed Skills
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┓
┃ Name             ┃ Category         ┃ Source  ┃ Trust   ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━┩
│ dogfood          │                  │ builtin │ builtin │
│ claude-code      │ autonomous-ai-a… │ builtin │ builtin │
│ codex            │ autonomous-ai-a… │ builtin │ builtin │
│ hermes-agent     │ autonomous-ai-a… │ builtin │ builtin │
│ opencode         │ autonomous-ai-a… │ builtin │ builtin │
│ architecture-di… │ creative         │ builtin │ builtin │
│ ascii-art        │ creative         │ builtin │ builtin │
│ ascii-video      │ creative         │ builtin │ builtin │
│ baoyu-comic      │ creative         │ builtin │ builtin │
│ baoyu-infograph… │ creative         │ builtin │ builtin │
│ design-md        │ creative         │ builtin │ builtin │
│ excalidraw       │ creative         │ builtin │ builtin │
│ ideation         │ creative         │ builtin │ builtin │
│ manim-video      │ creative         │ builtin │ builtin │
│ p5js             │ creative         │ builtin │ builtin │
│ pixel-art        │ creative         │ builtin │ builtin │
│ popular-web-des… │ creative         │ builtin │ builtin │
│ songwriting-and… │ creative         │ builtin │ builtin │
│ jupyter-live-ke… │ data-science     │ builtin │ builtin │
│ webhook-subscri… │ devops           │ builtin │ builtin │
│ himalaya         │ email            │ builtin │ builtin │
│ minecraft-modpa… │ gaming           │ builtin │ builtin │
│ pokemon-player   │ gaming           │ builtin │ builtin │
│ codebase-inspec… │ github           │ builtin │ builtin │
│ github-auth      │ github           │ builtin │ builtin │
│ github-code-rev… │ github           │ builtin │ builtin │
│ github-issues    │ github           │ builtin │ builtin │
│ github-pr-workf… │ github           │ builtin │ builtin │
│ github-repo-man… │ github           │ builtin │ builtin │
│ native-mcp       │ mcp              │ builtin │ builtin │
│ gif-search       │ media            │ builtin │ builtin │
│ heartmula        │ media            │ builtin │ builtin │
│ songsee          │ media            │ builtin │ builtin │
│ spotify          │ media            │ builtin │ builtin │
│ youtube-content  │ media            │ builtin │ builtin │
│ audiocraft-audi… │ mlops            │ builtin │ builtin │
│ axolotl          │ mlops            │ builtin │ builtin │
│ dspy             │ mlops            │ builtin │ builtin │
│ evaluating-llms… │ mlops            │ builtin │ builtin │
│ fine-tuning-wit… │ mlops            │ builtin │ builtin │
│ huggingface-hub  │ mlops            │ builtin │ builtin │
│ llama-cpp        │ mlops            │ builtin │ builtin │
│ obliteratus      │ mlops            │ builtin │ builtin │
│ outlines         │ mlops            │ builtin │ builtin │
│ segment-anythin… │ mlops            │ builtin │ builtin │
│ serving-llms-vl… │ mlops            │ builtin │ builtin │
│ unsloth          │ mlops            │ builtin │ builtin │
│ weights-and-bia… │ mlops            │ builtin │ builtin │
│ obsidian         │ note-taking      │ builtin │ builtin │
│ google-workspace │ productivity     │ builtin │ builtin │
│ linear           │ productivity     │ builtin │ builtin │
│ maps             │ productivity     │ builtin │ builtin │
│ nano-pdf         │ productivity     │ builtin │ builtin │
│ notion           │ productivity     │ builtin │ builtin │
│ ocr-and-documen… │ productivity     │ builtin │ builtin │
│ powerpoint       │ productivity     │ builtin │ builtin │
│ godmode          │ red-teaming      │ builtin │ builtin │
│ arxiv            │ research         │ builtin │ builtin │
│ blogwatcher      │ research         │ builtin │ builtin │
│ llm-wiki         │ research         │ builtin │ builtin │
│ polymarket       │ research         │ builtin │ builtin │
│ openhue          │ smart-home       │ builtin │ builtin │
│ plan             │ software-develo… │ builtin │ builtin │
│ requesting-code… │ software-develo… │ builtin │ builtin │
│ subagent-driven… │ software-develo… │ builtin │ builtin │
│ systematic-debu… │ software-develo… │ builtin │ builtin │
│ test-driven-dev… │ software-develo… │ builtin │ builtin │
│ writing-plans    │ software-develo… │ builtin │ builtin │
└──────────────────┴──────────────────┴─────────┴─────────┘
0 hub-installed, 68 builtin, 0 local

~ $

Installation Method

Install script (curl | bash)

Operating System

Android Termux

Python Version

No response

Hermes Version

No response

Debug Report

Debug report uploaded:
  Report     https://paste.rs/t0dig
  agent.log  https://paste.rs/TZepD

Full Error Output

~ $ hermes debug share
⚠️  This will upload the following to a public paste service:
  • System info (OS, Python version, Hermes version, provider, which API keys
    are configured — NOT the actual keys)
  • Recent log lines (agent.log, errors.log, gateway.log — may contain
    conversation fragments and file paths)
  • Full agent.log and gateway.log (up to 512 KB each — likely contains
    conversation content, tool outputs, and file paths)

Pastes auto-delete after 6 hours.

Collecting debug report...
Uploading...

Debug report uploaded:
  Report     https://paste.rs/t0dig
  agent.log  https://paste.rs/TZepD

⏱  Pastes will auto-delete in 6 hours.
To delete now:  hermes debug delete <url>

Share these links with the Hermes team for support.
~ $

What I've Already Tried

No response

Maturin Failure found (used the single line Setup)

~ $ hermes update
⚕ Updating Hermes Agent...

→ Fetching updates...
→ Found 540 new commit(s)
→ Pulling updates...
  ✓ Cleared 16 stale __pycache__ directories
→ Updating Python dependencies...
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [214 lines of output]
          Updating git repository `https://github.com/apache/arrow-rs-object-store`
          Updating crates.io index
          Updating git repository `https://github.com/alex/pyo3-file`
      warning: patch `object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1)` was not used in the crate graph
      help: Check that the patched package version and available features are compatible
            with the dependency requirements. If the patch has a different version from
            what is locked in the Cargo.lock file, run `cargo update` to use the new
            version. This may also occur with an optional dependency that is not enabled.
       Downloading crates ...
        Downloaded android-tzdata v0.1.1
        Downloaded android_system_properties v0.1.5
        Downloaded const-random v0.1.18
        Downloaded const-random-macro v0.1.16
        Downloaded cfg-if v1.0.1
        Downloaded portable-atomic-util v0.2.4
        Downloaded pyo3-async-runtimes v0.26.0
        Downloaded windows-interface v0.59.1
        Downloaded skeptic v0.13.7
        Downloaded pyo3-bytes v0.4.0
        Downloaded siphasher v1.0.1
        Downloaded futures-sink v0.3.31
        Downloaded crypto-common v0.1.6
        Downloaded futures-io v0.3.31
        Downloaded tower-service v0.3.3
        Downloaded form_urlencoded v1.2.1
        Downloaded tower-layer v0.3.3
        Downloaded serde_urlencoded v0.7.1
        Downloaded sync_wrapper v1.0.2
        Downloaded errno v0.3.13
        Downloaded windows-targets v0.53.2
        Downloaded tinyvec_macros v0.1.1
        Downloaded windows-implement v0.60.0
        Downloaded wasm-bindgen-futures v0.4.50
        Downloaded windows-strings v0.4.2
        Downloaded windows-link v0.1.3
        Downloaded want v0.3.1
        Downloaded windows-result v0.3.4
        Downloaded try-lock v0.2.5
        Downloaded lru-slab v0.1.2
        Downloaded iana-time-zone-haiku v0.1.2
        Downloaded num-iter v0.1.45
        Downloaded yoke-derive v0.8.0
        Downloaded openssl-probe v0.1.6
        Downloaded tokio-macros v2.5.0
        Downloaded quinn-udp v0.5.13
        Downloaded md-5 v0.10.6
        Downloaded rustls-pemfile v2.2.0
        Downloaded zerovec-derive v0.11.1
        Downloaded simdutf8 v0.1.5
        Downloaded unicase v2.8.1
        Downloaded tinystr v0.8.1
        Downloaded thiserror v2.0.12
        Downloaded rustc-demangle v0.1.25
        Downloaded rawpointer v0.2.1
        Downloaded security-framework-sys v2.14.0
        Downloaded num v0.4.3
        Downloaded redox_syscall v0.5.13
        Downloaded zeroize v1.8.1
        Downloaded thiserror-impl v2.0.12
        Downloaded tiny-keccak v2.0.2
        Downloaded writeable v0.6.1
        Downloaded slab v0.4.10
        Downloaded atomic-waker v1.1.2
        Downloaded rustls-native-certs v0.8.1
        Downloaded async-trait v0.1.88
        Downloaded potential_utf v0.1.2
        Downloaded rand_core v0.9.3
        Downloaded phf_shared v0.12.1
        Downloaded itoa v1.0.15
        Downloaded yoke v0.8.0
        Downloaded bytecount v0.6.9
        Downloaded futures-executor v0.3.31
        Downloaded quote v1.0.40
        Downloaded glob v0.3.2
        Downloaded http-body-util v0.1.3
        Downloaded windows-core v0.61.2
        Downloaded tokio-rustls v0.26.2
        Downloaded rustversion v1.0.21
        Downloaded num-rational v0.4.2
        Downloaded tempfile v3.20.0
        Downloaded ipnet v2.11.0
        Downloaded tracing-attributes v0.1.30
        Downloaded http-body v1.0.1
        Downloaded flatbuffers v25.2.10
        Downloaded csv-core v0.1.12
        Downloaded ryu v1.0.20
        Downloaded wasm-streams v0.4.2
        Downloaded lock_api v0.4.13
        Downloaded phf v0.12.1
        Downloaded humantime v2.2.0
        Downloaded pyo3-arrow v0.12.0
        Downloaded percent-encoding v2.3.1
        Downloaded socket2 v0.5.10
        Downloaded tinyvec v1.9.0
        Downloaded rustls-pki-types v1.12.0
        Downloaded tracing-core v0.1.34
        Downloaded lexical-core v1.0.5
        Downloaded semver v1.0.26
        Downloaded unicode-ident v1.0.18
        Downloaded serde_derive v1.0.219
        Downloaded addr2line v0.24.2
        Downloaded cargo_metadata v0.14.2
        Downloaded atoi v2.0.0
        Downloaded quinn v0.11.8
        Downloaded arrow-row v56.0.0
        Downloaded schannel v0.1.27
        Downloaded pulldown-cmark v0.9.6
        Downloaded error-chain v0.12.4
        Downloaded url v2.5.4
        Downloaded getrandom v0.2.16
        Downloaded futures-channel v0.3.31
        Downloaded arrow-string v56.0.0
        Downloaded hyper-rustls v0.27.7
        Downloaded num-complex v0.4.6
        Downloaded rand v0.9.1
        Downloaded serde v1.0.219
        Downloaded rustls-webpki v0.103.4
        Downloaded zerocopy-derive v0.8.26
        Downloaded security-framework v3.2.0
        Downloaded typenum v1.18.0
        Downloaded litemap v0.8.0
        Downloaded zerotrie v0.2.2
        Downloaded parking_lot_core v0.9.11
        Downloaded indoc v2.0.6
        Downloaded iana-time-zone v0.1.63
        Downloaded parking_lot v0.12.4
        Downloaded arrow-arith v56.0.0
        Downloaded arrow-csv v56.0.0
        Downloaded arrow-data v56.0.0
        Downloaded tower v0.5.2
        Downloaded tracing v0.1.41
        Downloaded matrixmultiply v0.3.10
        Downloaded icu_properties v2.0.1
        Downloaded futures v0.3.31
        Downloaded half v2.6.0
        Downloaded camino v1.1.10
        Downloaded arrow-ord v56.0.0
        Downloaded zerovec v0.11.2
        Downloaded tower-http v0.6.6
        Downloaded tokio-util v0.7.15
        Downloaded arrow-buffer v56.0.0
        Downloaded proc-macro2 v1.0.95
        Downloaded lexical-write-integer v1.0.5
        Downloaded serde_json v1.0.140
        Downloaded icu_normalizer v2.0.0
        Downloaded icu_provider v2.0.0
        Downloaded icu_normalizer_data v2.0.0
        Downloaded icu_locale_core v2.0.0
        Downloaded arrow v56.0.0
        Downloaded comfy-table v7.1.4
        Downloaded bytes v1.10.1
        Downloaded arrow-schema v56.0.0
        Downloaded arrow-select v56.0.0
        Downloaded arrow-json v56.0.0
        Downloaded icu_collections v2.0.0
        Downloaded quick-xml v0.38.0
        Downloaded winnow v0.7.12
        Downloaded memchr v2.7.5
        Downloaded reqwest v0.12.22
        Downloaded indexmap v2.10.0
        Downloaded arrow-cast v56.0.0
        Downloaded http v1.3.1
        Downloaded mio v1.0.4
        Downloaded io-uring v0.7.8
        Downloaded numpy v0.26.0
        Downloaded lexical-write-float v1.0.5
        Downloaded hyper-util v0.1.15
        Downloaded quinn-proto v0.11.12
        Downloaded arrow-ipc v56.0.0
        Downloaded cc v1.2.29
        Downloaded backtrace v0.3.75
        Downloaded zerocopy v0.8.26
        Downloaded iri-string v0.7.8
        Downloaded idna v1.0.3
        Downloaded regex v1.11.1
        Downloaded icu_properties_data v2.0.1
        Downloaded hyper v1.6.0
        Downloaded libm v0.2.15
        Downloaded syn v2.0.104
        Downloaded unicode-width v0.2.1
        Downloaded h2 v0.4.11
        Downloaded hashbrown v0.15.4
        Downloaded chrono v0.4.41
        Downloaded arrow-array v56.0.0
        Downloaded ndarray v0.16.1
        Downloaded object_store v0.12.3
        Downloaded gimli v0.31.1
        Downloaded object v0.36.7
        Downloaded rustls v0.23.29
        Downloaded rustix v1.0.8
        Downloaded chrono-tz v0.10.4
        Downloaded libc v0.2.174
        Downloaded csv v1.3.1
        Downloaded web-sys v0.3.77
        Downloaded regex-automata v0.4.9
        Downloaded linux-raw-sys v0.9.4
        Downloaded windows_x86_64_gnullvm v0.53.0
        Downloaded windows_aarch64_gnullvm v0.53.0
        Downloaded windows_x86_64_msvc v0.53.0
        Downloaded windows_aarch64_msvc v0.53.0
        Downloaded windows_i686_gnullvm v0.53.0
        Downloaded windows_i686_gnu v0.53.0
        Downloaded windows_x86_64_gnu v0.53.0
        Downloaded windows_i686_msvc v0.53.0
        Downloaded tokio v1.46.1
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-3ljixkzh --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> obstore

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  ⚠ Optional extras failed, reinstalling base dependencies and retrying extras individually...
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      📦 Including license file `LICENSE`
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options bindings from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-2_mh7t_8 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> watchfiles

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      warning: patch `object_store v0.12.2 (https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1)` was not used in the crate graph
      help: Check that the patched package version and available features are compatible
            with the dependency requirements. If the patch has a different version from
            what is locked in the Cargo.lock file, run `cargo update` to use the new
            version. This may also occur with an optional dependency that is not enabled.
      🍹 Building a mixed python/rust project
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-ky3gz30m --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> obstore

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [128 lines of output]
          Updating crates.io index
       Downloading crates ...
        Downloaded base16ct v0.2.0
        Downloaded base64ct v1.8.3
        Downloaded aead v0.5.2
        Downloaded cipher v0.4.4
        Downloaded scrypt v0.11.0
        Downloaded wasm-bindgen-futures v0.4.65
        Downloaded futures-macro v0.3.32
        Downloaded futures-io v0.3.32
        Downloaded spki v0.7.3
        Downloaded wasm-bindgen-macro v0.2.115
        Downloaded curve25519-dalek-derive v0.1.1
        Downloaded zeroize_derive v1.4.3
        Downloaded wasm-bindgen-shared v0.2.115
        Downloaded universal-hash v0.5.1
        Downloaded tls_codec v0.4.2
        Downloaded tls_codec_derive v0.4.2
        Downloaded libcrux-curve25519 v0.0.6
        Downloaded hex-literal v0.3.4
        Downloaded instant v0.1.13
        Downloaded opaque-debug v0.3.1
        Downloaded inout v0.1.4
        Downloaded x25519-dalek v2.0.1
        Downloaded zerocopy-derive v0.8.47
        Downloaded wasm-bindgen-macro-support v0.2.115
        Downloaded proc-macro-error-attr2 v2.0.0
        Downloaded rfc6979 v0.4.0
        Downloaded openmls_traits v0.5.0
        Downloaded libcrux-platform v0.0.3
        Downloaded libcrux-macros v0.0.3
        Downloaded libcrux-aead v0.0.7
        Downloaded rand_chacha v0.3.1
        Downloaded hpke-rs-libcrux v0.6.1
        Downloaded hax-lib-macros-types v0.3.6
        Downloaded hpke-rs-crypto v0.6.1
        Downloaded libcrux-intrinsics v0.0.6
        Downloaded wasm-bindgen v0.2.115
        Downloaded libcrux-kem v0.0.7
        Downloaded ghash v0.5.1
        Downloaded futures-task v0.3.32
        Downloaded futures-core v0.3.32
        Downloaded futures-sink v0.3.32
        Downloaded zerocopy v0.8.47
        Downloaded num-derive v0.4.2
        Downloaded openmls_memory_storage v0.5.0
        Downloaded salsa20 v0.10.2
        Downloaded libcrux-hkdf v0.0.6
        Downloaded pyo3-macros v0.25.1
        Downloaded pastey v0.2.1
        Downloaded openmls_basic_credential v0.5.0
        Downloaded web-sys v0.3.92
        Downloaded libcrux-hmac v0.0.6
        Downloaded const-oid v0.9.6
        Downloaded pbkdf2 v0.12.2
        Downloaded libcrux-poly1305 v0.0.5
        Downloaded chacha20 v0.9.1
        Downloaded serde_bytes v0.11.19
        Downloaded signature v2.2.0
        Downloaded futures-executor v0.3.32
        Downloaded ecdsa v0.16.9
        Downloaded ctr v0.9.2
        Downloaded redox_syscall v0.2.16
        Downloaded poly1305 v0.8.0
        Downloaded libcrux-secrets v0.0.5
        Downloaded rand_core v0.10.0
        Downloaded pkcs8 v0.10.2
        Downloaded pem-rfc7468 v0.7.0
        Downloaded libcrux-p256 v0.0.6
        Downloaded sec1 v0.7.3
        Downloaded primeorder v0.13.6
        Downloaded hpke-rs-rust-crypto v0.6.1
        Downloaded polyval v0.6.2
        Downloaded libcrux-sha2 v0.0.6
        Downloaded group v0.13.0
        Downloaded rand_chacha v0.10.0
        Downloaded openmls_rust_crypto v0.5.1
        Downloaded libcrux-traits v0.0.6
        Downloaded hax-lib-macros v0.3.6
        Downloaded fluvio-wasm-timer v0.2.5
        Downloaded futures-channel v0.3.32
        Downloaded ff v0.13.1
        Downloaded ed25519 v2.2.3
        Downloaded core-models v0.0.5
        Downloaded proc-macro-error2 v2.0.1
        Downloaded libcrux-chacha20poly1305 v0.0.7
        Downloaded pyo3-build-config v0.25.1
        Downloaded libcrux-aesgcm v0.0.7
        Downloaded libcrux-sha3 v0.0.8
        Downloaded pin-project-lite v0.2.17
        Downloaded parking_lot_core v0.8.6
        Downloaded elliptic-curve v0.13.8
        Downloaded hmac v0.12.1
        Downloaded p256 v0.13.2
        Downloaded libcrux-hacl-rs v0.0.4
        Downloaded hpke-rs v0.6.1
        Downloaded chacha20poly1305 v0.10.1
        Downloaded futures v0.3.32
        Downloaded pyo3-ffi v0.25.1
        Downloaded parking_lot v0.11.2
        Downloaded libcrux-ecdh v0.0.6
        Downloaded der v0.7.10
        Downloaded crypto-bigint v0.5.5
        Downloaded pyo3-macros-backend v0.25.1
        Downloaded k256 v0.13.4
        Downloaded ed25519-dalek v2.2.0
        Downloaded rand v0.10.0
        Downloaded js-sys v0.3.92
        Downloaded aes v0.8.4
        Downloaded libcrux-ml-kem v0.0.8
        Downloaded aes-gcm v0.10.3
        Downloaded futures-util v0.3.32
        Downloaded hkdf v0.12.4
        Downloaded p384 v0.13.1
        Downloaded hax-lib v0.3.6
        Downloaded curve25519-dalek v4.1.3
        Downloaded fiat-crypto v0.2.9
        Downloaded openmls v0.8.1
        Downloaded libc v0.2.183
        Downloaded pyo3 v0.25.1
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.13 at /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python
      📡 Using build options features from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-nkr97d40 --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> davey

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [70 lines of output]
      CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 has been removed from CMake.

        Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
        to tell CMake that the project requires at least <min> but has been updated
        to work with policies introduced by <max> or earlier.

        Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
          ~~~~^^
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/home/.hermes/hermes-agent/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 4, in <module>
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(**attrs)  # type: ignore[return-value]
                 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 148, in setup
          _setup_distribution = dist = klass(attrs)
                                       ~~~~~^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 321, in __init__
          _Distribution.__init__(self, dist_attrs)
          ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 307, in __init__
          self.finalize_options()
          ~~~~~~~~~~~~~~~~~~~~~^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 790, in finalize_options
          ep(self)
          ~~^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/setuptools/dist.py", line 810, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
          ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 229, in cffi_modules
          add_cffi_module(dist, cffi_module)
          ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 50, in add_cffi_module
          execfile(build_file_name, mod_vars)
          ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-y1je4wmi/overlay/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 26, in execfile
          exec(code, glob, glob)
          ~~~~^^^^^^^^^^^^^^^^^^
        File "olm_build.py", line 35, in <module>
          subprocess.run(
          ~~~~~~~~~~~~~~^
              ["cmake", ".", "-Bbuild", "-DBUILD_SHARED_LIBS=NO"],
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              cwd="libolm", check=True,
              ^^^^^^^^^^^^^^^^^^^^^^^^^
          )
          ^
        File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 577, in run
          raise CalledProcessError(retcode, process.args,
                                   output=stdout, stderr=stderr)
      subprocess.CalledProcessError: Command '['cmake', '.', '-Bbuild', '-DBUILD_SHARED_LIBS=NO']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'python-olm' when getting requirements to build wheel


  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [181 lines of output]
          Updating crates.io index
          Updating git repository `https://github.com/salsa-rs/salsa.git`
          Updating git repository `https://github.com/astral-sh/lsp-types.git`
       Downloading crates ...
        Downloaded anstyle-query v1.1.4
        Downloaded anstyle-lossy v1.1.4
        Downloaded serde_repr v0.1.20
        Downloaded quote-use-macros v0.8.4
        Downloaded anstyle-wincon v3.0.10
        Downloaded collection_literals v1.0.2
        Downloaded cpufeatures v0.3.0
        Downloaded cfg-if v1.0.3
        Downloaded quote-use v0.8.4
        Downloaded ctrlc v3.5.2
        Downloaded countme v3.0.1
        Downloaded crossbeam v0.8.4
        Downloaded supports-hyperlinks v3.2.0
        Downloaded crossbeam-queue v0.3.12
        Downloaded get-size-derive2 v0.7.4
        Downloaded darling_macro v0.21.3
        Downloaded tracing-flame v0.2.0
        Downloaded etcetera v0.11.0
        Downloaded unicode_names2_generator v1.3.0
        Downloaded unic-char-range v0.9.0
        Downloaded windows-targets v0.53.3
        Downloaded escape8259 v0.5.3
        Downloaded attribute-derive-macro v0.10.3
        Downloaded castaway v0.2.4
        Downloaded utf8-width v0.1.7
        Downloaded unic-ucd-version v0.9.0
        Downloaded windows-link v0.2.0
        Downloaded bit-set v0.8.0
        Downloaded anstream v1.0.0
        Downloaded windows-result v0.4.0
        Downloaded unic-char-property v0.9.0
        Downloaded wasm-bindgen-macro v0.2.105
        Downloaded unic-common v0.9.0
        Downloaded tryfn v1.0.0
        Downloaded argfile v1.0.0
        Downloaded strip-ansi-escapes v0.2.1
        Downloaded is-macro v0.3.7
        Downloaded is_executable v1.0.5
        Downloaded typeid v1.0.3
        Downloaded potential_utf v0.1.3
        Downloaded anstyle-parse v1.0.0
        Downloaded libredox v0.1.10
        Downloaded is_terminal_polyfill v1.70.1
        Downloaded manyhow-macros v0.11.4
        Downloaded jiff-tzdb-platform v0.1.3
        Downloaded ident_case v1.0.1
        Downloaded matches v0.1.10
        Downloaded jod-thread v1.0.0
        Downloaded os_pipe v1.2.2
        Downloaded unit-prefix v0.5.1
        Downloaded once_cell_polyfill v1.70.1
        Downloaded phf_codegen v0.11.3
        Downloaded windows-strings v0.5.0
        Downloaded rustc-stable-hash v0.1.2
        Downloaded quickcheck_macros v1.2.0
        Downloaded num_cpus v1.17.0
        Downloaded escargot v0.5.15
        Downloaded attribute-derive v0.10.3
        Downloaded anstyle-svg v0.1.11
        Downloaded clap_lex v1.0.0
        Downloaded test-case-macros v3.3.1
        Downloaded test-case-core v3.3.1
        Downloaded drop_bomb v0.1.5
        Downloaded snapbox-macros v1.0.0
        Downloaded tikv-jemallocator v0.6.1
        Downloaded html-escape v0.2.13
        Downloaded getopts v0.2.24
        Downloaded wasm-bindgen-shared v0.2.105
        Downloaded threadpool v1.8.1
        Downloaded fs-err v3.3.0
        Downloaded test-case v3.3.1
        Downloaded hashlink v0.10.0
        Downloaded get-size2 v0.7.4
        Downloaded bit-vec v0.8.0
        Downloaded serde_test v1.0.177
        Downloaded dashmap v6.1.0
        Downloaded find-msvc-tools v0.1.2
        Downloaded kqueue v1.1.1
        Downloaded manyhow v0.11.4
        Downloaded insta-cmd v0.6.0
        Downloaded lsp-server v0.7.9
        Downloaded inventory v0.3.21
        Downloaded version-ranges v0.1.1
        Downloaded objc2-encode v4.1.0
        Downloaded nu-ansi-term v0.50.1
        Downloaded pest_generator v2.8.2
        Downloaded zstd-safe v5.0.2+zstd.1.5.2
        Downloaded toml_datetime v1.0.0+spec-1.1.0
        Downloaded shellexpand v3.1.1
        Downloaded os_str_bytes v7.1.1
        Downloaded quickcheck v1.1.0
        Downloaded unic-ucd-category v0.9.0
        Downloaded proc-macro-utils v0.10.0
        Downloaded clap_complete v4.5.58
        Downloaded libtest-mimic v0.8.1
        Downloaded block2 v0.6.2
        Downloaded console v0.16.1
        Downloaded chacha20 v0.10.0
        Downloaded colored v3.1.1
        Downloaded datatest-stable v0.3.3
        Downloaded thin-vec v0.2.14
        Downloaded tempfile v3.25.0
        Downloaded libtest-mimic v0.7.3
        Downloaded pest_derive v2.8.2
        Downloaded zstd v0.11.2+zstd.1.5.2
        Downloaded wasm-bindgen v0.2.105
        Downloaded pest_meta v2.8.2
        Downloaded jiff-tzdb v0.1.4
        Downloaded intrusive-collections v0.9.7
        Downloaded quick-junit v0.5.2
        Downloaded compact_str v0.9.0
        Downloaded vte v0.14.1
        Downloaded getrandom v0.4.1
        Downloaded darling_core v0.21.3
        Downloaded seahash v4.1.0
        Downloaded flate2 v1.1.2
        Downloaded fancy-regex v0.14.0
        Downloaded windows-core v0.62.0
        Downloaded ucd-trie v0.1.7
        Downloaded js-sys v0.3.82
        Downloaded minimal-lexical v0.2.1
        Downloaded jiff-static v0.2.21
        Downloaded tinyvec v1.10.0
        Downloaded toml v1.0.3+spec-1.1.0
        Downloaded pest v2.8.2
        Downloaded zip v0.6.6
        Downloaded wasm-bindgen-macro-support v0.2.105
        Downloaded terminfo v0.9.0
        Downloaded clap_builder v4.5.60
        Downloaded hashbrown v0.14.5
        Downloaded clearscreen v4.0.5
        Downloaded uuid v1.21.0
        Downloaded objc2 v0.6.3
        Downloaded zerocopy-derive v0.8.27
        Downloaded snapbox v1.0.0
        Downloaded chrono v0.4.42
        Downloaded wit-bindgen v0.46.0
        Downloaded nom v7.1.3
        Downloaded cc v1.2.38
        Downloaded ordermap v1.1.0
        Downloaded zerovec v0.11.4
        Downloaded unicode-normalization v0.1.24
        Downloaded wasip2 v1.0.1+wasi-0.2.4
        Downloaded indicatif v0.18.4
        Downloaded arc-swap v1.8.2
        Downloaded ron v0.12.0
        Downloaded iana-time-zone v0.1.64
        Downloaded redox_syscall v0.5.17
        Downloaded derive-where v1.6.0
        Downloaded winnow v0.7.13
        Downloaded serde_with v3.16.1
        Downloaded quick-xml v0.38.4
        Downloaded darling v0.21.3
        Downloaded zerocopy v0.8.27
        Downloaded clap_complete_nushell v4.5.8
        Downloaded clap v4.5.60
        Downloaded zmij v1.0.10
        Downloaded toml_parser v1.0.9+spec-1.1.0
        Downloaded serde_with_macros v3.16.1
        Downloaded unicode_names2 v1.3.0
        Downloaded jiff v0.2.21
        Downloaded notify v8.2.0
        Downloaded newtype-uuid v1.2.4
        Downloaded matchit v0.9.1
        Downloaded dispatch2 v0.3.0
        Downloaded interpolator v0.5.0
        Downloaded tikv-jemalloc-sys v0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
        Downloaded windows-sys v0.61.0
      📦 Including license file `LICENSE`
      🍹 Building a mixed python/rust project
      🔗 Found bin bindings
      📡 Using build options bindings from pyproject.toml
      💥 maturin failed
        Caused by: Failed to determine Android API level. Please set the ANDROID_API_LEVEL environment variable.
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr', '--interpreter', '/data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-z2mai7gr --interpreter /data/data/com.termux/files/home/.hermes/hermes-agent/venv/bin/python`
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> ty

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

After nearly 10 minutes I CTRL+c


^CERROR: Operation cancelled by user
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/hermes", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 9173, in main
    plugins_command(args)
    ^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5592, in cmd_update
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5852, in _cmd_update_impl
  File "/data/data/com.termux/files/home/.hermes/hermes-agent/hermes_cli/main.py", line 5342, in _install_python_dependencies_with_optional_fallback
    if not os.path.isdir(extracted):
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
                extracted = candidate

  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 556, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 1214, in communicate
    self.wait()
    ~~~~~~~~~^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 1280, in wait
    return self._wait(timeout=timeout)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 2083, in _wait
    (pid, sts) = self._try_wait(0)
                 ~~~~~~~~~~~~~~^^^
  File "/data/data/com.termux/files/usr/lib/python3.13/subprocess.py", line 2041, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
                 ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

~ $

Agent Browser

~ $ npm install -g agent-browser && agent-browser install

> [email protected] postinstall
> node scripts/postinstall.js

Downloading native binary for android-arm64...
URL: https://github.com/vercel-labs/agent-browser/releases/download/v0.26.0/agent-browser-android-arm64
Could not download native binary: Failed to download: HTTP 404

To build the native binary locally:
  1. Install Rust: https://rustup.rs
  2. Run: npm run build:native
✓ Optimized: symlink points to native binary (zero overhead)

  ⚠ No Chrome installation detected.
  If you plan to use a local browser, run:

    agent-browser install

  You can skip this if you use --cdp, --provider, --engine, or --executable-path.


added 1 package in 12s
bash: /data/data/com.termux/files/usr/bin/agent-browser: Permission denied
~ $

extent analysis

TL;DR

The issue is likely caused by the failure to determine the Android API level during the hermes update process, which is required for building mixed Python and Rust projects.

Guidance

  1. Set the ANDROID_API_LEVEL environment variable: Before running hermes update, set the ANDROID_API_LEVEL environment variable to the correct value for your Android device. This can be done using the command export ANDROID_API_LEVEL=<api_level>, replacing <api_level> with the actual API level of your device.
  2. Check the Android API level: Ensure that the Android API level is correctly set and compatible with the Hermes agent. You can check the API level of your device by running getprop ro.build.version.sdk in the Termux terminal.
  3. Install the required dependencies: Make sure that all required dependencies, including Rust and the Android NDK, are installed and configured correctly.
  4. Run hermes update with the --fix flag: Try running hermes update with the --fix flag to automatically fix any issues that can be resolved.

Example

To set the ANDROID_API_LEVEL environment variable, you can use the following command:

export ANDROID_API_LEVEL=29

Replace 29 with the actual API level of your device.

Notes

  • The hermes update process may take some time to complete, and it's recommended to run it in a stable network environment.
  • If you're still encountering issues after setting the ANDROID_API_LEVEL environment variable, try checking the Hermes agent logs for more detailed error messages.

Recommendation

Apply the workaround by setting the ANDROID_API_LEVEL environment variable before running hermes update. This should resolve the issue caused by the failure to determine the Android API level.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING