# Rtk Rewrite Docker: Hermes Agent plugin

> Community plugin that rewrites Hermes terminal commands through RTK (rtk-ai/rtk, Apache-2.0) so the model sees compact output.

Canonical: https://hermeswatcher.com/plugins/rtk-rewrite-docker  
Tier: Community  
Official page (Nous Research): https://hermes-agent.nousresearch.com/docs/plugins/rtk-rewrite-docker  
Last updated in catalog: 2026-10-02

Community plugin that rewrites Hermes terminal commands through RTK (rtk-ai/rtk, Apache-2.0) so the model sees compact output. Adds a backend gate: it rewrites only for terminal backends a profile opts in to (default local), so a Docker or remote backend without rtk never receives an rtk command. Fail-open pre_tool_call hook (2s timeout).

## Good to know before installing

Every terminal command on an opted-in backend (default local) is passed to the rtk binary on the Hermes host's PATH (or RTK_BIN) and replaced with rtk's stdout before approval and execution; the plugin does not validate the rewrite, fails open on timeout or error, and downloads nothing (the repo's optional Containerfile fetches a checksum-pinned RTK release only when you build it). Not affiliated with rtk-ai.

From the plugin's catalog listing.

## How to install

1. Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.

```bash
hermes plugins install rtk-rewrite-docker
```

2. Said no? Turn it on later:

```bash
hermes plugins enable rtk-rewrite-docker
```

3. Restart Hermes so it loads the plugin.

Some plugins also need a sign-in or settings: see the official page. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugins

## Facts

- Category: Coding & developer tools
- Maintained by: petertaras (Community)
- Needs: No API keys declared
- Works on: linux, macos
- Requires Hermes: `>=0.21`
- Version: 0.1.0
- In the catalog since: 2026-10-02

## Links

- [Full setup and settings (official page)](https://hermes-agent.nousresearch.com/docs/plugins/rtk-rewrite-docker)
- [Source code](https://github.com/petertaras/hermes-rtk-rewrite-with-docker-support#readme)
- [All plugins](https://hermeswatcher.com/plugins.md)

---

HermesWatcher is an independent guide. It is not affiliated with or endorsed by Nous Research. The [official Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs) and [repository](https://github.com/NousResearch/hermes-agent) from Nous Research are the authority; each page here lists the official sources it was written from. If this site and the official docs disagree, trust the official docs. Index for agents: https://hermeswatcher.com/llms.txt
