Utiliser Hermes Agent sur Android avec Termux
Cette page fait partie du guide pratique francophone consacré à Hermes Agent. Elle répond à l'intention de recherche : installer sur Android.
Le contenu s'appuie sur la documentation officielle Hermes Agent associée à cette page. L'objectif n'est pas de remplacer la documentation de Nous Research, mais de fournir une lecture claire en français, structurée pour aller vite, avec un maillage logique vers les pages complémentaires du même site.
À retenir
- Sujet principal : hermes agent android termux.
- Type de page : spoke.
- Cluster : guides.
- Source canonique : documentation officielle Hermes Agent.
- Aucun lien vers l'autre domaine n'est utilisé dans cette page.
Quand utiliser cette page
Utilisez cette page quand vous voulez installer sur Android. Elle part du principe que Hermes Agent est déjà identifié comme l'outil à mettre en place ou à comprendre, puis détaille les points importants issus de la documentation officielle.
Si vous découvrez seulement l'outil, revenez d'abord au hub parent puis suivez les liens internes proposés en fin de page.
Base officielle
Termux (Android) is a Tier 2 platform. The installer script and documentation here are maintained on a best-effort basis only. Commits to main may break these packages at any point in time.
Hermes Agent can run directly on an Android phone through Termux.
It gives you a working local CLI on the phone, plus the core extras that are currently known to install cleanly on Android.
What is supported in the tested path?
The tested Termux bundle installs:
- the Hermes CLI
- cron support
- PTY/background terminal support
- Telegram gateway support (manual / best-effort background runs)
- MCP support
- Honcho memory support
- ACP support
Concretely, it maps to:
python -m pip install -e '.[termux]' -c constraints-termux.txt
What is not part of the tested path yet?
A few features still need desktop/server-style dependencies that are not published for Android, or have not been validated on phones yet:
.[all]is not supported on Android today- the
voiceextra is blocked byfaster-whisper -> ctranslate2, andctranslate2does not publish Android wheels - automatic browser / Playwright bootstrap is skipped in the Termux installer
- Docker-based terminal isolation is not available inside Termux
- Android may still suspend Termux background jobs, so gateway persistence is best-effort rather than a normal managed service
That does not stop Hermes from working well as a phone-native CLI agent — it just means the recommended mobile install is intentionally narrower than the desktop/server install.
---
Option 1: One-line installer
Hermes now ships a Termux-aware installer path:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
On Termux, the installer automatically:
- uses
pkgfor system packages - creates the venv with
python -m venv - attempts the broad
.[termux-all]extra first and falls back to the smaller.[termux]extra (then a base install) — the curl installer matches this order automatically - links
hermesinto$PREFIX/binso it stays on your Termux PATH - skips the untested browser / WhatsApp bootstrap
If you want the explicit commands or need to debug a failed install, use the manual path below.
---
Option 2: Manual install (fully explicit)
1. Update Termux and install system packages
pkg update
pkg install -y git python clang rust make pkg-config libffi openssl nodejs ripgrep ffmpeg
Why these packages?
python— runtime + venv supportgit— clone/update the repoclang,rust,make,pkg-config,libffi,openssl— needed to build a few Python dependencies on Androidnodejs— optional Node runtime for experiments beyond the tested core pathripgrep— fast file searchffmpeg— media / TTS conversions
2. Clone Hermes
git clone https://github.com/NousResearch/hermes-agent.git
cd hermes-agent
3. Create a virtual environment
python -m venv venv
source venv/bin/activate
export ANDROID_API_LEVEL="$(getprop ro.build.version.sdk)"
python -m pip install --upgrade pip setuptools wheel
ANDROID_API_LEVEL is important for Rust / maturin-based packages such as jiter.
4. Install the tested Termux bundle
python -m pip install -e '.[termux]' -c constraints-termux.txt
If you only want the minimal core agent, this also works:
python -m pip install -e '.' -c constraints-termux.txt
5. Put hermes on your Termux PATH
ln -sf "$PWD/venv/bin/hermes" "$PREFIX/bin/hermes"
$PREFIX/bin is already on PATH in Termux, so this makes the hermes command persist across new shells without re-activating the venv every time.
6. Verify the install
hermes version
hermes doctor
7. Start Hermes
hermes
---
Recommended follow-up setup
Configure a model
hermes model
Or set keys directly in ~/.hermes/.env.
Re-run the full interactive setup wizard later
hermes setup
Install optional Node dependencies manually
The tested Termux path skips Node/browser bootstrap on purpose. If you want to experiment with browser tooling later:
pkg install nodejs-lts
npm install
The browser tool automatically includes Termux directories (/data/data/com.termux/files/usr/bin) in its PATH search, so agent-browser and npx are discovered without any extra PATH configuration.
Treat browser / WhatsApp tooling on Android as experimental until documented otherwise.
---
Troubleshooting
No solution found when installing .[all]
Use the tested Termux bundle instead:
python -m pip install -e '.[termux]' -c constraints-termux.txt
The blocker is currently the voice extra:
voicepullsfaster-whisperfaster-whisperdepends onctranslate2ctranslate2does not publish Android wheels
uv pip install fails on Android
Use the Termux path with the stdlib venv + pip instead:
python -m venv venv
source venv/bin/activate
export ANDROID_API_LEVEL="$(getprop ro.build.version.sdk)"
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e '.[termux]' -c constraints-termux.txt
jiter / maturin complains about ANDROID_API_LEVEL
Set the API level explicitly before installing:
export ANDROID_API_LEVEL="$(getprop ro.build.version.sdk)"
python -m pip install -e '.[termux]' -c constraints-termux.txt
hermes doctor says ripgrep or Node is missing
Install them with Termux packages:
pkg install ripgrep nodejs
Build failures while installing Python packages
Make sure the build toolchain is installed:
pkg install clang rust make pkg-config libffi openssl
Then retry:
python -m pip install -e '.[termux]' -c constraints-termux.txt
---
Known limitations on phones
- Docker backend is unavailable
- local voice transcription via
faster-whisperis unavailable in the tested path - browser automation setup is intentionally skipped by the installer
- some optional extras may work, but only
.[termux]and.[termux-all]are currently documented as the tested Android bundles
If you hit a new Android-specific issue, please open a GitHub issue with:
- your Android version
termux-infopython --versionhermes doctor- the exact install command and full error output
---
Points de vigilance
- Vérifiez toujours la version active de Hermes Agent avant d'appliquer une commande ou une configuration.
- Ne collez pas de clé API dans un chat public ou dans une page visible.
- Gardez les secrets dans les fichiers ou gestionnaires prévus pour cela.
- Si une fonctionnalité dépend d'un provider, d'un plugin ou d'une plateforme de messagerie, vérifiez que le composant est bien activé dans votre profil.
- Pour une installation de production, testez d'abord le flux complet sur une machine ou un profil isolé.
Exemple de parcours logique
- Lire la page courante pour comprendre hermes agent android termux.
- Ouvrir le hub parent du cluster guides.
- Passer ensuite aux pages complémentaires proposées dans « À lire ensuite ».
- Revenir à la documentation officielle si vous avez besoin du détail exact ou d'une commande récemment modifiée.
FAQ rapide
Cette page remplace-t-elle la documentation officielle ?
Non. Elle sert de guide francophone structuré. Le lien vers la source officielle est disponible en bas de page.
Les commandes sont-elles garanties à jour ?
Elles sont basées sur la documentation officielle récupérée au moment de la génération. Pour un usage critique, vérifiez toujours la page officielle liée en bas.
Pourquoi autant de liens internes ?
Hermes Agent est un système modulaire. L'installation, les providers, les outils, la mémoire, les skills, la sécurité et les plateformes se répondent. Le maillage interne aide à suivre ce chemin sans tomber sur des pages orphelines.