Clone, link, download, enable
For a local plugin checkout
- the plugin, linked into ~/.hermes
- no
- you want the plugin tree in your own checkout
INDEX 02 / 14
A tool call's output becomes part of the model's context, so Aphrodite is installed where that output is produced.
Aphrodite is installed as a Hermes Agent plugin (recommended) or run as a standalone proxy for OpenAI-compatible APIs.
Two things to know first: the plugin never downloads anything on its own - you run one setup command, and it fetches the Aphrodite binary and library from GitHub Releases, verifies them with SHA-256, and stores them in ~/.hermes/aphrodite/. And you need no Rust toolchain for the two plugin routes: the catalog and the clone install prebuilt binaries. The Cargo and from-source routes do build with Rust, and need 1.88+.
Not sure which to choose? Use the plugin catalog (Option 1).
01 // POSITIONING // INSTALL // FOUR ROUTES
Four routes, one engine. They differ in what they fetch and who owns the files afterwards - and in how much of the plugin you get: Cargo installs the proxy and a hooks-only loader, not the plugin tree. What Aphrodite does once the full plugin is running is the same on all four.
The full host map, including the flavors still planned, is laid out on FLAVORS .
The four routes follow in full, command by command.
02 // DECISION MATRIX
Every card states the same three facts - what it installs, whether it needs Rust, and the situation it fits. The catalog is the card the page recommends.
Take the catalog sequence - it is the one selected in the workflow below.
Same engine, different owner of the files. Each is an anchored section, so a link can point at the route a reader needs.
For a local plugin checkout
For Cargo-managed installation
For development
03 // OPERATIONAL WORKFLOW // THE TRANSCRIPT // ROUTE BY ROUTE
Each route is self-contained: the commands, what they leave on disk, what makes them fail, and the one check that says the install is live. The recommended path is selected first; the other three are one pill away, in the same container.
Platform is an input, not a footnote. Every route ships two complete lanes - directory creation, discovery and linking, download, enable, verification - and every command block carries the shell it is written for. A Windows lane contains no POSIX command, and a macOS / Linux lane contains no PowerShell.
WINDOWS: use PowerShell and run pwsh ./download.ps1 instead of bash download.sh - the full Windows walkthrough is on /docs/install/windows/ .
hermes plugins install aphroditeChecks out the catalog entry's reviewed, pinned commit - never a branch tip. Hermes asks Enable now? at the end of this step; the next step answers it explicitly, so the sequence does not depend on a prompt.
EXPECT A pinned checkout in ~/.hermes/plugins/aphrodite - plugin.yaml plus the __init__.py shim.
BEFORE hermes on PATH.
hermes plugins enable aphroditeOr answer yes at the Enable now? prompt - this is the same write, run as its own step so it can be re-run on its own.
hermes plugins enable aphrodite skipped: enabling is a separate write to Hermes's own config.yaml, so a finished install alone does not register the hooks.
cd ~/.hermes/plugins/aphroditedownload.sh is a file in the plugin tree, not a command on PATH, so the next step has to run from inside the folder.
A download.sh run from outside the plugin folder: the script is a file in the tree, so cd into it before running it.
bash download.shFetches the prebuilt binary and dylib from GitHub Releases into ~/.hermes/aphrodite/binaries/ - never into the plugin directory - validated against the in-tree SHA256SUMS.txt and magic-byte checked. Nothing is compiled and no Rust toolchain is required. Pin both explicitly: bash download.sh 1.6.5 x86_64-unknown-linux-gnu.
EXPECT aphrodite + libaphrodite_hermes in ~/.hermes/aphrodite/binaries/.
No route to GitHub Releases: the fetch step fails. The plugin is already enabled in config.yaml by step 2, so Hermes tries to load it - and a loader with no binary logs the setup command and stays inert until the binary is present. An enabled configuration is not a runtime that can load; register() never downloads anything on its own.
A checksum that does not match SHA256SUMS.txt: the verify step fails, and the honest fix is a re-run, not a hand-copied file.
hermesThe plugin launches the proxy pair from the binaries you just fetched: :9797 (cache) and :9798 (token).
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners.
hermes plugins install aphroditeChecks out the catalog entry's reviewed, pinned commit - never a branch tip. Hermes asks Enable now? at the end of this step; the next step answers it explicitly, so the sequence does not depend on a prompt.
EXPECT A pinned checkout in %USERPROFILE%\.hermes\plugins\aphrodite - plugin.yaml plus the __init__.py shim.
BEFORE hermes on PATH.
hermes plugins enable aphroditeOr answer yes at the Enable now? prompt - this is the same write, run as its own step so it can be re-run on its own.
hermes plugins enable aphrodite skipped: enabling is a separate write to Hermes's own config.yaml, so a finished install alone does not register the hooks.
cd "$env:USERPROFILE\.hermes\plugins\aphrodite"On Windows the catalog entry lands in %USERPROFILE%\.hermes\plugins\aphrodite, and download.ps1 is a file in that folder.
A download.ps1 run from outside the plugin folder: the script is a file in the tree, so Set-Location into it before running it.
pwsh ./download.ps1The direct PowerShell equivalent of download.sh: same version and platform detection, same SHA256SUMS.txt validation, same runtime home - and it runs under both PowerShell 5.1 (built into Windows) and PowerShell 7+. Native PowerShell cannot run bash download.sh without Git Bash, WSL or MSYS, which is why this lane uses download.ps1 and not the POSIX script.
EXPECT aphrodite.exe + aphrodite_hermes.dll in %USERPROFILE%\.hermes\aphrodite\binaries\.
No route to GitHub Releases: the fetch step fails. The plugin is already enabled in config.yaml by step 2, so Hermes tries to load it - and a loader with no binary logs the setup command and stays inert until the binary is present. An enabled configuration is not a runtime that can load; register() never downloads anything on its own.
A checksum that does not match SHA256SUMS.txt: the verify step fails, and the honest fix is a re-run, not a hand-copied file.
hermesThe plugin launches the proxy pair from the binaries you just fetched: :9797 (cache) and :9798 (token).
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners.
The catalog is the only lane with no git and no Rust in it: one install, one enable, one download.
Reviewed pinned checkout of the catalog entry, binaries fetched + SHA-256 verified, plugin enabled.
SRC: the Hermes plugin guide - Installing from the catalog.
The catalog entry is reviewed and pinned - hermes plugins install checks out exactly that commit, never a branch tip.
Do NOT run aphrodite setup in a catalog-managed directory - it rewrites the loader the catalog manages. Still run download.sh (or download.ps1 on Windows) from the installed plugin folder.
The catalog checkout only - plugin.yaml plus the __init__.py shim, in ~/.hermes/plugins/aphrodite. download.sh then fetches the binary and the dylib into ~/.hermes/aphrodite/binaries/, never into the plugin directory, validated against the in-tree SHA256SUMS.txt and magic-byte checked.
Start hermes.
The plugin should log that Aphrodite is enabled.
If the binaries are missing, it logs the setup command and stays disabled until you run it.
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners on :9797 (cache) and :9798 (token).
git clone https://github.com/PlayForm/Aphrodite-Hermes.gitThe plugin is a pure loader - it does not bundle the binary or the dylib - so the clone is small.
EXPECT An Aphrodite-Hermes directory beside where you ran the command.
cd Aphrodite-HermesEvery following step runs from inside the clone: the download script lives in the tree.
BEFORE No existing ~/.hermes/plugins/aphrodite entry.
ln -s "$(pwd)" ~/.hermes/plugins/aphroditeHermes discovers plugins from ~/.hermes/plugins/<name>, so the link is what makes the clone a plugin. A symlink (not a copy) means edits to your checkout are picked up without recopying.
ln -s onto an existing ~/.hermes/plugins/aphrodite directory: the link lands inside it instead of replacing it. Remove the directory first.
bash download.shResolves the version from the bundled BINARY_VERSION, the monorepo's own Cargo.toml, or the latest published release, detects your platform, and installs aphrodite + libaphrodite_hermes into ~/.hermes/aphrodite/binaries/. Nothing is written inside the plugin tree, and no Rust toolchain is required.
EXPECT aphrodite + libaphrodite_hermes in ~/.hermes/aphrodite/binaries/.
A download.sh run from outside the clone: the script is a file in the tree, so cd into it before running it.
cd ..Optional housekeeping: the remaining steps are not relative to the clone.
BEFORE hermes on PATH.
hermes plugins enable aphroditehermes plugins enable aphrodite skipped: enabling is a separate write to Hermes's own config.yaml, so a finished download alone does not register the hooks.
hermesEXPECT A log line saying Aphrodite is enabled, then two proxy listeners.
git clone https://github.com/PlayForm/Aphrodite-Hermes.gitThe plugin is a pure loader - it does not bundle the binary or the dylib - so the clone is small.
EXPECT An Aphrodite-Hermes directory beside where you ran the command.
cd Aphrodite-HermesEvery following step runs from inside the clone: the download script lives in the tree.
mkdir "$env:USERPROFILE\.hermes\plugins" -ForceHermes discovers plugins from %USERPROFILE%\.hermes\plugins\. -Force leaves an existing directory alone, so the step is safe to repeat.
BEFORE No existing aphrodite entry in that directory.
New-Item -ItemType Junction -Path "$env:USERPROFILE\.hermes\plugins\aphrodite" -Target (Get-Location)A directory junction is the Windows equivalent of the POSIX symlink and needs no admin rights on modern Windows, unlike a real symlink - so edits to your clone are picked up without recopying.
Some locked-down environments still restrict junctions: copy instead - Copy-Item -Recurse - and remember you will need to re-copy after every plugin update.
pwsh ./download.ps1The direct PowerShell equivalent of download.sh - version and platform auto-detected, SHA256SUMS.txt validated, output written into %USERPROFILE%\.hermes\aphrodite\binaries\. Native Windows PowerShell cannot run bash download.sh without Git Bash, WSL or MSYS, so this lane uses the PowerShell script throughout.
EXPECT aphrodite.exe + aphrodite_hermes.dll in %USERPROFILE%\.hermes\aphrodite\binaries\.
A download.ps1 run from outside the clone: the script is a file in the tree, so Set-Location into it before running it.
cd ..Optional housekeeping: the remaining steps are not relative to the clone.
BEFORE hermes on PATH.
hermes plugins enable aphroditehermes plugins enable aphrodite skipped: enabling is a separate write to Hermes's own config.yaml, so a finished download alone does not register the hooks.
hermesEXPECT A log line saying Aphrodite is enabled, then two proxy listeners.
Pin both explicitly: bash download.sh 1.6.5 x86_64-unknown-linux-gnu. register() never downloads - the only escape hatch is APHRODITE_AUTO_DOWNLOAD=1, which runs the script itself before launching.
Binary + native library (dylib) fetched from GitHub Releases, SHA-256 verified, plugin enabled.
download.sh resolves the version from the bundled BINARY_VERSION, the monorepo's own Cargo.toml, or the latest published release, detects your platform, and installs aphrodite + libaphrodite_hermes into ~/.hermes/aphrodite/binaries/. Nothing is written inside the plugin tree.
Start hermes.
The plugin should log that Aphrodite is enabled.
If the binaries are missing, it logs the setup command and stays disabled until you run it.
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners on :9797 (cache) and :9798 (token).
cargo install aphroditeBuilt from crates.io on your machine, so this route does need a Rust toolchain: 1.88+, and the repo's own toolchain pins nightly.
cargo install aphrodite-hermesThe native library the Python loader loads, plus the helper binary.
BEFORE hermes on PATH; Rust 1.88+.
aphrodite setupProvisions ~/.hermes/aphrodite/ - the binary, the dylibs, aphrodite.toml from the embedded template and the BINARY_VERSION pin - then writes the hooks-only loader, plugin.yaml + __init__.py, into ~/.hermes/plugins/aphrodite/, removing a stale symlink from older installs first. It ends by running hermes plugins enable aphrodite.
EXPECT The runtime home provisioned, the loader written, the plugin registered.
No hermes on PATH: step one runs hermes --version and fails fast with a clear error, before anything is written.
A missing libaphrodite_hermes aborts setup; a missing core libaphrodite only warns - the plugin loads the Hermes dylib, not the core one.
An existing aphrodite.toml is left alone unless you pass --force; --cache-port and --token-port move the pair off 9797/9798 for a second agent on the same machine.
A failed hermes plugins enable: setup prints a warning and carries on - the binaries are installed, the registration is not.
cargo install aphroditeBuilt from crates.io on your machine, so this route does need a Rust toolchain: 1.88+, and the repo's own toolchain pins nightly.
cargo install aphrodite-hermesThe native library the Python loader loads, plus the helper binary.
BEFORE hermes on PATH; Rust 1.88+.
aphrodite setupProvisions %USERPROFILE%\.hermes\aphrodite\ - the binary, the dylibs, aphrodite.toml from the embedded template and the BINARY_VERSION pin - and registers the plugin with Hermes. It ends by starting the proxy and printing the one manual step left on Windows: linking the plugin into Hermes, which is the next two steps.
EXPECT The runtime home provisioned, the plugin registered, the remaining link step named.
No hermes on PATH: step one runs hermes --version and fails fast with a clear error, before anything is written.
A missing libaphrodite_hermes aborts setup; a missing core libaphrodite only warns - the plugin loads the Hermes dylib, not the core one.
An existing aphrodite.toml is left alone unless you pass --force; --cache-port and --token-port move the pair off 9797/9798 for a second agent on the same machine.
A failed hermes plugins enable: setup prints a warning and carries on - the binaries are installed, the registration is not.
New-Item -ItemType Directory -Force "$env:USERPROFILE\.hermes\plugins" | Out-NullHermes discovers plugins from %USERPROFILE%\.hermes\plugins\; -Force leaves an existing directory alone.
New-Item -ItemType Junction -Path "$env:USERPROFILE\.hermes\plugins\aphrodite" -Target "$env:USERPROFILE\.hermes\aphrodite"This is the manual follow-up setup names on Windows: either a directory junction (no admin rights needed on modern Windows) or a copy of the runtime home. A junction keeps the two in step without recopying.
Some locked-down environments still restrict junctions: copy the runtime home into the plugin directory instead, and re-copy after every upgrade.
cargo install installs the binaries only - aphrodite setup then writes a minimal hooks-only loader into ~/.hermes/plugins/aphrodite. For the full plugin tree, use #1 or #2: this route gives you the proxy and a loader that registers the hooks, not the checkout.
Setup ends by starting the proxy - pass --no-launch to skip that, and --force to rewrite an existing aphrodite.toml.
The proxy binary and the dylib installed by cargo, the runtime home provisioned by aphrodite setup, a hooks-only loader written, the plugin registered.
aphrodite setup provisions ~/.hermes/aphrodite/ - the binary, the dylibs, aphrodite.toml from the embedded template (only if none exists, unless --force) and the BINARY_VERSION pin - then writes the hooks-only loader, plugin.yaml + __init__.py, into ~/.hermes/plugins/aphrodite/, removing a stale symlink from older installs first. It ends by running hermes plugins enable aphrodite.
Option 3 does not install the full plugin tree by itself - after aphrodite setup writes the loader, start hermes.
The plugin should log that Aphrodite is enabled; if the binaries are missing, it logs the setup command and stays disabled until you run it.
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners on :9797 (cache) and :9798 (token).
git clone https://github.com/PlayForm/Aphrodite.gitcd Aphroditegit submodule update --init --recursiveVendored dependencies live in submodules, so this is required rather than tidy.
A skipped git submodule update --init --recursive: vendored dependencies live in submodules and the build stops early.
cargo build --release -p aphrodite -p aphrodite-hermesNeeds Rust 1.88+ - the repo toolchain pins nightly, and a stable toolchain against it is the build that fails. The outputs land in target/release/: aphrodite and libaphrodite_hermes.dylib (.so on Linux). Point APHRODITE_BINARY_PATH / APHRODITE_HERMES_DYLIB_PATH at them, or copy them into ~/.hermes/aphrodite/binaries/.
EXPECT target/release/aphrodite + target/release/libaphrodite_hermes.dylib (.so on Linux).
A stable toolchain against a repo pinned to nightly: the workspace needs Rust 1.88+ and the repo's toolchain pins nightly.
Build output left in target/release/ while the plugin looks in ~/.hermes/aphrodite/binaries/: set the two env paths, or copy the files across.
Nothing self-heals: the plugin never downloads and never repairs an install, and layout_check.py is report-only.
git clone https://github.com/PlayForm/Aphrodite.gitcd Aphroditegit submodule update --init --recursiveVendored dependencies live in submodules, so this is required rather than tidy.
A skipped git submodule update --init --recursive: vendored dependencies live in submodules and the build stops early.
cargo build --release -p aphrodite -p aphrodite-hermesNeeds Rust 1.88+ - the repo toolchain pins nightly, and a stable toolchain against it is the build that fails. The outputs land in target\release\ as aphrodite.exe and aphrodite_hermes.dll. Point APHRODITE_BINARY_PATH / APHRODITE_HERMES_DYLIB_PATH at them, or copy them into %USERPROFILE%\.hermes\aphrodite\binaries\.
EXPECT target\release\aphrodite.exe + target\release\aphrodite_hermes.dll.
A stable toolchain against a repo pinned to nightly: the workspace needs Rust 1.88+ and the repo's toolchain pins nightly.
Build output left in target\release\ while the plugin looks in %USERPROFILE%\.hermes\aphrodite\binaries\: set the two env paths, or copy the files across.
Nothing self-heals: the plugin never downloads and never repairs an install, and layout_check.py is report-only.
Nothing outside your checkout is written: cargo build --release writes into target/ and you point the plugin at the result - no installer script, no download.
A release build in target/release/ that you point the plugin at, or copy into the runtime home's binaries/ - no installer script, no download.
Nothing outside your checkout: cargo build --release writes target/release/aphrodite and target/release/libaphrodite_hermes.dylib (.so on Linux). The plugin reads APHRODITE_BINARY_PATH / APHRODITE_HERMES_DYLIB_PATH, or you copy the pair into ~/.hermes/aphrodite/binaries/.
Start hermes.
The plugin should log that Aphrodite is enabled.
If the binaries are missing, it logs the setup command and stays disabled until you run it.
EXPECT A log line saying Aphrodite is enabled, then two proxy listeners on :9797 (cache) and :9798 (token).
SHA256SUMS.txt; the cargo and source routes build from source, so there is no downloaded binary to verify Start hermes. A working install logs that Aphrodite is enabled and answers on :9797 (cache) and :9798 (token); a missing binary logs the setup command instead, and the plugin stays disabled until you run it.
All four routes converge on the same two directories - what changes on disk .
SRC: docs/install/index.md; docs/install/macos-linux.md
SRC: docs/install/windows.md (download.ps1)
04 // PERSISTENCE ARCHITECTURE // AFTER ANY ROUTE // THE LAYOUT
~/.hermes/
├── plugins/
│ └── aphrodite/ ← hooks-only: plugin.yaml + __init__.py loader
└── aphrodite/ ← canonical runtime home
├── aphrodite.toml ← proxy/engine config (written by aphrodite setup)
├── BINARY_VERSION ← binary version pin
├── binaries/
│ ├── aphrodite ← proxy binary
│ └── libaphrodite_hermes.dylib ← dylib the plugin loads
├── ccr.db ← SQLite CCR store (created on first run)
├── directives/ ← active directive files
└── logs/ ← proxy/engine logsAll four routes converge on the same two directories. Nothing else moves: no PATH edit, no shell profile, no system-wide install.
The plugin directory stays hooks-only: it carries just plugin.yaml and the __init__.py loader that registers hooks and tools, and the plugin never writes, downloads or modifies anything inside it.
Every runtime artifact lives in ~/.hermes/aphrodite/ : binaries, config, directives, the CCR database and logs. That split is what lets the catalog own the checkout while the binaries live somewhere else entirely.
On plugin startup layout_check.py checks toward this schema; installed layouts are already canonical, because aphrodite setup produced them.
| PATH | WRITTEN BY | WHAT IT HOLDS |
|---|---|---|
| ~/.hermes/plugins/aphrodite/ | aphrodite setup, or the catalog install | plugin.yaml + the __init__.py loader - hooks only, and the plugin never writes inside it |
| ~/.hermes/aphrodite/ | aphrodite setup | the runtime home - everything below |
| ~/.hermes/aphrodite/aphrodite.toml | aphrodite setup, only if none exists (unless --force) | ports 9797/9798, the [flow] budget, the [compression] knobs, api_key |
| ~/.hermes/aphrodite/BINARY_VERSION | aphrodite setup | the binary version pin |
| ~/.hermes/aphrodite/binaries/ | download.sh / download.ps1, or aphrodite setup | the only directory that holds executables |
| ~/.hermes/aphrodite/binaries/aphrodite | download.sh / download.ps1, or setup's copy step | the proxy binary - verified before it lands |
| ~/.hermes/aphrodite/binaries/libaphrodite_hermes.dylib | the same fetch, or setup's locate step | the dylib the plugin loads (macOS) |
| ~/.hermes/aphrodite/binaries/libaphrodite_hermes.so | the same fetch, or setup's locate step | the shared library the plugin loads (Linux) |
| ~/.hermes/aphrodite/binaries/libaphrodite_hermes.dll | the same fetch, or setup's locate step | the shared library the plugin loads (Windows) |
| ~/.hermes/aphrodite/directives/ | first start | the seven built-ins, materialized once |
| ~/.hermes/aphrodite/ccr.db | first run | the SQLite CCR store the markers address |
| ~/.hermes/aphrodite/logs/ | the proxy and the engine | proxy and engine logs |
| ~/.hermes/aphrodite/.stale-backup/ | the startup self-heal | stale plugin-source copies moved aside, bytes intact |
hermes --version) - fails fast with a clear error if not.~/.hermes/aphrodite/ and ~/.hermes/aphrodite/binaries/.binaries/ with locked-down permissions - macOS copies go through the Gatekeeper-safe path above.--cache-port / --token-port, defaults 9797/9798) - only if none exists, unless you pass --force.~/.hermes/plugins/aphrodite/: plugin.yaml + the __init__.py shim, always refreshed on re-run; a stale symlink from older installs is removed first.SRC: docs/install/macos-linux.md (what changes after any of these)
SRC: docs/install/troubleshooting.md (proxy launch order)
05 // CONFIGURATION // /CONFIG.TOML
Two files matter and they share no keys: aphrodite.toml for everything that tunes how Aphrodite compresses, and Hermes's own config.yaml for enabling the plugin.
# resolution order:
./aphrodite.toml then ~/.hermes/aphrodite/aphrodite.toml
# precedence:
env var > TOML > default
[compression]
auto_reload = false # opt-in
[flow]
budget_chars = 2600 # hard cap per turnTwo shipped files stay in sync: aphrodite.toml.example (the annotated reference) and the embedded template the binary ships with.
Keys not yet wired into the runtime are annotated DOCUMENTED BUT UNWIRED in the example - it is the source of truth for the documented surface.
The Rust HTTP proxy ( config/proxy.rs ) reads [[proxies]] ,[defaults] , the four hot-reload thresholds plus auto_expand / auto_expand_limit / max_request_body_size, and preview_max_chars. The Hermes dylib session ( config_loader.rs ) reads the [compression] engine keys, [defaults] model/api_url, [flow], [directives] ,[prompts] and [templates] .
The only Aphrodite-relevant keys in config.yaml are plugins.enabled: [aphrodite] , added by hermes plugins enable , and optionally context.engine: aphrodite with its threshold. Ports, thresholds, preview style and prompt wording all belong in the toml.
Every knob the file exposes is explorable on /config/ , and the complete schema is /docs/config/aphrodite-toml/ .
SRC: aphrodite.toml.example (the annotated reference)
SRC: docs/config/aphrodite-toml.md; docs/config/env-vars.md
06 // VERIFICATION // FAILURES // WHAT THE MESSAGE MEANS
Every install failure announces itself in one of six ways. The proxy's own stderr goes to ~/.hermes/aphrodite/proxy-stderr.log - read that file before anything else.
| SYMPTOM | CAUSE | FIX |
|---|---|---|
| the plugin logs the setup command and stays disabled | binaries missing from ~/.hermes/aphrodite/binaries/ | bash download.sh (or pwsh ./download.ps1) in the plugin folder |
| download.sh stops at the verify step | checksum does not match SHA256SUMS.txt | re-run the script; check network access to GitHub Releases |
| no API key configured | no aphrodite.toml in the working directory | --api-key or APHRODITE_API_KEY |
| port already in use | another proxy already bound to 9797/9798 | tail proxy-stderr.log; APHRODITE_CACHE_PORT / APHRODITE_TOKEN_PORT |
| the binary is SIGKILLed on launch (macOS) | quarantine, or no Xcode Command Line Tools | re-run aphrodite setup - ditto, xattr -c, ad-hoc codesign |
| a health-poll warning after launch | a port did not answer within 5 seconds | the warning names the port; check proxy-stderr.log |
Before launching, the plugin probes both ports' /health endpoints and skips the launch when another process already answers a confirmed Aphrodite health body - so a second Hermes session does not start a second proxy pair. A failed registration is a warning, never an abort.
SRC: docs/install/troubleshooting.md (checklist, in order)
SRC: docs/install/index.md (which artifact do you need)
07 // PROXY // THE STANDALONE LANE
The same compression engine runs as a standalone proxy: point any OpenAI-compatible client's base_url at http://localhost:9798 (token) or :9797 (cache), and responses compress over plain HTTP.
Invoked without an aphrodite.toml, the binary needs --api-key or APHRODITE_API_KEY. That is a startup requirement, not an upstream call - a placeholder is enough to prove the binary serves.
| PORT | MODE | WHAT IT SERVES |
|---|---|---|
| 9797 | cache | the cache proxy - threshold 2048 bytes by default |
| 9798 | token | the token proxy - threshold 256 bytes by default |
START // the binary, no Hermes
./aphrodite --api-key «redacted:sk-...» --listen 127.0.0.1:9798The key is redacted here on purpose: a placeholder is enough, because the flag is a startup requirement rather than a credential the binary verifies.
CHECK // the health endpoint
curl http://127.0.0.1:9798/healthEXPECT // the health body
{"status":"healthy","ccr":true,"mode":"token","version":"<current version>","fill_pct":...}You do not need a real Hermes session, a real Hermes install or a real upstream API key to confirm the binary itself works: starting the proxy and hitting /health never calls upstream. Set APHRODITE_NO_AUTO_LAUNCH=1 if you launch it yourself and do not want the plugin to start a second pair - there is no auto_start key in either config file.
The full surface is documented on the proxy pages: architecture , compression , handlers , retry .
SRC: docs/install/troubleshooting.md (verify the proxy without Hermes)
SRC: docs/proxy/architecture.md; docs/proxy/compression.md
08 // UNINSTALL // THREE COMMANDS AND A DIRECTORY
Disable the plugin, remove the loader, then stop anything still running. Every command is its own copy control, so a reader never pastes the sentence about the command.
hermes plugins disable aphrodite rm -rf ~/.hermes/plugins/aphrodite pkill -f "aphrodite" 2>/dev/null || true hermes plugins disable aphrodite Remove-Item "$env:USERPROFILE\.hermes\plugins\aphrodite" -Recurse Get-Process aphrodite -ErrorAction SilentlyContinue | Stop-Process Remove ~/.hermes/aphrodite/ as well to clean up the binaries, config, CCR database and logs the download scripts or aphrodite setup wrote.
On Windows the runtime home is %USERPROFILE%\.hermes\aphrodite\ .
SRC: docs/install/macos-linux.md (uninstall); docs/install/windows.md (uninstall)