Metadata-Version: 2.4
Name: hermes-windows-launcher
Version: 0.1.0
Summary: Minimal unofficial PyPI launcher for the official Nous Research Hermes Windows installer and updater
Author: Community contributors
License-Expression: MIT
Project-URL: Hermes upstream, https://github.com/NousResearch/hermes-agent
Project-URL: Installation documentation, https://hermes-agent.nousresearch.com/docs/user-guide/windows-native
Keywords: hermes,agent,windows,installer,nousresearch
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: System :: Installation/Setup
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# hermes-windows-launcher

A tiny **unofficial** Windows command wrapper around the [official Nous Research Hermes Agent](https://github.com/NousResearch/hermes-agent) installer and commands. It does **not** redistribute Hermes, bundle its dependencies, or maintain a Hermes fork.

The Python package has **zero runtime dependencies**. It can be distributed on public PyPI and fetched through an internal PyPI mirror. The official installer still downloads Hermes and its dependencies directly from upstream locations, so network and company policy must allow those connections.

## Install

```powershell
uv tool install hermes-windows-launcher
hermes-windows install
```

The second command launches the official Windows PowerShell installer with `-IncludeDesktop` (source-built Hermes Desktop), on the latest stable release. This is a distinct desktop installation mechanism from the prebuilt MSIX/App Installer. No separate manual installer download is required.

To run in **one command** without permanently installing the PyPI wrapper:

```powershell
uvx --from hermes-windows-launcher hermes-windows install
```

Other commands:

```powershell
hermes-windows install --no-desktop   # CLI only
hermes-windows install --channel main # follow upstream main rather than stable
hermes-windows update                # invokes: hermes update
hermes-windows check                 # invokes: hermes update --check
hermes-windows desktop               # invokes: hermes desktop
```

After installation, open a new terminal to refresh PATH, then use `hermes` as usual. If PowerShell was launched inside a restricted company environment, upstream downloads or execution may be blocked by local policies.

**Important:** `uv tool install` / `pip install` themselves do **not** automatically execute external installers. The supported model is to install the wrapper and execute `hermes-windows install`, or use the single `uvx` invocation above. This avoids unsupported install-time side effects.

## Publish to public PyPI

1. Change the `name` in `pyproject.toml` if `hermes-windows-launcher` is already taken. Update the examples accordingly. Choose and publish under your own name; do not suggest affiliation with Nous Research.
2. Install [uv](https://docs.astral.sh/uv/) and create a [PyPI](https://pypi.org/account/register/) account with 2FA.
3. From this directory, run:

   ```powershell
   uv build
   uvx twine check dist/*
   uvx twine upload dist/*
   ```

4. When prompted for Twine credentials, use username `__token__` and your public PyPI API token as password. For additional releases, increase the version in `pyproject.toml` and rebuild.
5. Once your internal mirror has acquired this package, install it using your configured corporate PyPI index: `uv tool install hermes-windows-launcher`.

If a `dist/` directory from a previous build exists, remove it before rebuilding. On first publication, a project-specific PyPI token may not be available until the project exists; create an account-scoped token or use PyPI Trusted Publishing.

## Security & scope

This wrapper invokes a *remote* official PowerShell script over HTTPS and hands control to that installer. Review the official script and your company's policies before executing. This is not an audited, pinned, offline, or reproducible installation. The PyPI mirror **only mirrors this launcher**, not the upstream Hermes runtime or desktop assets. No Hermes sources or branding are included in this project.

Official Windows documentation: https://hermes-agent.nousresearch.com/docs/user-guide/windows-native

## Development

```powershell
uv run --with pytest pytest -q
uv build
```

## Build and publish

From the directory containing `pyproject.toml`:

```powershell
uv build
uvx twine check dist/*
uvx twine upload dist/*
```

On Windows CMD, use `dist\*` instead of `dist/*` if your shell or the command does not expand the wildcard. Do not upload until you have tested the install behavior on Windows. Publishing to public PyPI makes the wrapper available to configured mirrors, but mirror policies and synchronization control availability internally.
