Repository navigation
11 Cross OS Notes.fr
Mise à jour : 2026-09-29
🌐 English · Français
Version condensée. La page anglaise, plus complète, fait référence : en cas d'écart, c'est elle qui compte.
Nokido supporte Linux · macOS · Windows. Cette page liste comportements OS-spécifiques, pièges, et le chemin que chaque sous-système prend par plateforme.
| Sous-système | Linux | macOS | Windows | Notes |
|---|---|---|---|---|
Hub MCP :8766
|
✅ | ✅ | ✅ | Python pur, Starlette. |
| RAG (FTS5 + FAISS) | ✅ | ✅ | ✅ | SQLite + faiss-cpu cross-platform. |
brain_worker (BGE-M3) |
✅ | ✅ | ✅ | Rust + ONNX. Backend par OS. |
| Vault | ✅ | ✅ | ✅ | DPAPI / Keychain / libsecret. |
forge_semantic_firewall |
✅ | ✅ | ✅ | Python pur. |
| MCP clients | ✅ | ✅ | ✅ | OS-agnostique. |
| TUI (Textual) | ✅ | ✅ | ✅ | Windows Terminal recommandé (pas cmd.exe). |
| Docker compose | ✅ | ✅ | ✅ | Docker Desktop sur Win/macOS. |
tools/restart_claude.py |
❌ | ❌ | ✅ | Windows-only (NSSM + PowerShell). |
| NSSM services | — | — | ✅ | Win-only. |
| Comptes sandbox | — | — | ✅ |
LaForgeSbxOnline/Offline Win-spécifiques. |
| netcfg-agent | ✅ | ✅ | ✅ | asyncssh marche partout. |
Nokido requiert Python 3.12+. Recommandations :
-
Linux : distro Python ≥ 3.12 ou
pyenv install 3.12.8. Venv :python3 -m venv .venv. -
macOS : Homebrew
brew install python@3.12. -
Windows : miniforge3. Memory
python_toolchain:~/miniforge3/python.exe= canonique.
install.sh / install.ps1 détectent automatiquement. Override : LAFORGE_PYTHON env var.
⚠ Jamais python brut dans script touchant Nokido — toujours absolute venv path. CLAUDE.md règle #11.
Nokido utilise :
ROOT = Path(__file__).resolve().parent.parent-
os.environ.get("LAFORGE_ROOT", str(...))pour override. Pas de paths hardcodés~/dans le code tracké (audit Phase 4 pre-public).
- Python : forward slashes ou
Pathobjects. Fonctionne partout. -
install.sh:/.install.ps1:\(PowerShell native) ou/aussi OK.
- Linux/macOS :
~ouPath.home(). - Windows :
%USERPROFILE%, mappé par Python àPath.home().
Vault store :
- Linux :
~/.local/share/nokido/machine_vault.datou<repo>/data/machine_vault.dat. - macOS : Keychain (pas de fichier).
- Windows :
<repo>/data/machine_vault.dat(DPAPI machine-scope).
⚠️ brain_worker(:5557) est coupé depuis le 2026-06-03 (BGE-M3 ONNX, bad allocation). L'embedder vivant estNokidoLlamaEmbed(:8099), atteint parforge_embed_router. La section ci-dessous vaut archive, si :5557 est un jour réparé.
Auto-détection :
| Plateforme | Backend défaut | Alternatives |
|---|---|---|
| Windows | DirectML (Radeon 780M, Intel Arc, NVIDIA) | Vulkan, CPU |
| Linux | OpenVINO (Intel), ROCm (AMD), CUDA (NVIDIA) | Vulkan, CPU |
| macOS | CoreML (M1+) | Metal, CPU |
Override : BRAIN_WORKER_BACKEND=cpu|directml|vulkan|openvino|coreml|cuda.
Memory npu_xdna1_limits : AMD NPU XDNA1 = ops-light only. Pas BGE-M3 batch ni LLM inference. Utiliser iGPU via DirectML/Vulkan.
Voir 08 — Vault & secrets.
-
Windows : DPAPI machine-scope. Multi-account readable. Pure
ctypes, zéro dep. -
macOS : Keychain via
keyring. Per-user, hardware-attested sur Apple Silicon. -
Linux : libsecret / Secret Service via
keyring. Requiertlibsecret-1-0+ daemon keyring (GNOME ou KWallet).- Debian/Ubuntu :
sudo apt install libsecret-1-0 gnome-keyring - Fedora :
sudo dnf install libsecret - Arch :
sudo pacman -S libsecret gnome-keyring
- Debian/Ubuntu :
Headless Linux : keyring fallback chain → WCM → .env → os.environ. Pour headless prod, .env chmod 600 OU Docker secret.
| OS | Tool | Config |
|---|---|---|
| Windows | NSSM |
LaForge-Master, LaForgeMCP, etc. Voir tools/forge_nssm_hardening.py. |
| Linux | systemd |
deploy/*.service. Install : sudo cp deploy/*.service /etc/systemd/system/. |
| macOS | launchd |
deploy/com.nokido.master.plist. Install : cp ... ~/Library/LaunchAgents/. |
Tous OS : lancer hub direct (no service manager) pour dev : laforge-hub.
- Windows : Docker Desktop WSL2 backend (pas Hyper-V) pour perf + faiss.
-
macOS : Apple Silicon :
linux/amd64images via Rosetta 2 (lent). Build local sur M1+ = arch-native auto.
-
libsecretnécessaire pour vault. - ML extras : CUDA wheels assument NVIDIA. ROCm ou CPU-only torch via
--extra-index-url. - Unit files systemd : review user/group avant enable.
- M1/M2/M3 : torch CPU + MPS marchent. CUDA n'existe pas — skip
mlsi besoin que d'inférence. - Brew
python@3.12recommandé over system Python.
- PowerShell 7+ requis (pas PS 5.1).
- Long paths : activer Win10/11 long path support (
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled = 1). - Antivirus : exclure le dir Nokido du real-time scan.
CI matrix sur ubuntu-latest, macos-latest, windows-latest avec Python 3.12. Voir .github/workflows/ci.yml.
-
Normalisation CRLF : Git auto-normalise sur Windows.
.gitattributesgère la plupart des cas. -
SQLite WAL Windows :
.db-walne release pas toujours sur process exit. Hub force-checkpoint sur shutdown. -
NTFS chars réservés :
:?|cassent sous mounts WSL.
- Toujours
PYTHONIOENCODING=utf-8+PYTHONUTF8=1. Dockerfile +install.shle font auto. - Sur Windows, console
cp1252par défaut → emoji et non-ASCII en logs cassent.forge_vault_seed_agent_tokens.pyutilise ASCII-only pour cette raison. - Commentaires source français/anglais coexistent. Docs publiques (wiki, MANIFESTO, README) bilingue ou anglais.
Nokido-labs/nokido · AGPL-3.0 (licence commerciale disponible) · wiki genere depuis docs/wiki de v0.20.12 (5fbcdc8) — corrections : ouvrir une issue ou une PR sur le depot.
Nokido
English
- 01 — Installation
- 02 — Quick Start
- 03 — Architecture overview
- 04 — MCP clients setup
- 05 — LLM providers
- 06 — Hub API reference
- 07 — Security model
- 08 — Vault & secrets
- 09 — TUI reference
- 10 — Docker profiles
- 11 — Cross-OS notes
- 12 — AMI cognitive stack
- 13 — Hardware roadmap
- 14 — Troubleshooting
- 15 — Glossary
- 16 — FAQ
- 17 — First launch
- 18 — Launchers & service files
- 19 — Knowledge Pack
- 20 — Modules Reference
- 21 — SSoT Cross-CLI
- 22 — Governance, cognition & self-safety
- 23 — Orchestration & Workflows
- 24 — Cloud peers (claude.ai, ChatGPT)
- OpenAI Gateway souverain
- Nokido — Wiki
- SearXNG Keeper
- Web Egress Gateway —
:7779
Français
- Accueil
- 01 — Installation
- 02 — Démarrage rapide
- 03 — Aperçu architecture
- 04 — Configuration clients MCP
- 05 — Providers LLM
- 06 — Référence API hub
- 07 — Modèle de sécurité
- 08 — Vault & secrets
- 09 — Référence TUI
- 10 — Profils Docker
- 11 — Notes multi-OS
- 12 — Pile cognitive AMI
- 13 — Roadmap matérielle
- 14 — Troubleshooting
- 15 — Glossaire
- 16 — FAQ
- 17 — Premier lancement
- 18 — Lanceurs & fichiers services
- 19 — Knowledge Pack
- 20 — Référence des modules
- 21 — SSoT Cross-CLI
- 22 — Gouvernance, cognition & auto-sûreté
- 23 — Orchestration & workflows
- 24 — Pairs cloud (claude.ai, ChatGPT)