What it does
You ask Hermes for a coding job. Hermes gives the job to pi, and pi works in your
repository.
You do not type a command. Ask in your own words, and Hermes chooses the shape
and calls the tool for you.
There is no command to learn. The plugin registers one skill, pi-lane. The
skill teaches Hermes which of the two tools to use, so a one-shot task, a
resumed session and a live lane all start the same way: you ask.
What you can ask for
| You say to Hermes | What happens |
|---|---|
"Have pi fix the failing test in tests/test_api.py." | pi does the job and returns the result. |
| "Ask pi to finish that tomorrow." | pi continues the same session. The context is kept. |
| "Put pi on the settings migration. Tell me if it drifts." | pi works in a live lane. You can correct it while it runs. |
Three things follow from that:
- The answer comes back with evidence. You get the final text, the tool count
and the token count. - A long job does not hold up the chat. Hermes starts the run, then reports
status when you ask. - You can stop a run that goes off course. A correction reaches pi before its
next step, so the work in flight is not lost.
Install
-
Install the plugin.
hermes plugins install --enable Akshxdev/hermes-pi-lane -
To install from a local clone, use a
file://URL.hermes plugins install --enable "file:///absolute/path/to/hermes-pi-lane"A bare filesystem path is read as
owner/repo, so it tries GitHub and
fails. For development, symlink the directory into$HERMES_HOME/plugins/
and enable it instead. -
Make sure that the plugin is enabled. The install above enables it, and this
step is safe to repeat.hermes plugins enable hermes-pi-lane -
Make sure that the install is complete.
hermes plugins doctor hermes-pi-lane
The doctor command reports two tools. A new session picks up both tools and the
pi-lane skill.
Requirements
Make sure that these items are ready before you start:
- Hermes 0.22.3 or later. The per-call working directory reads
ctx.session_cwd(), which first appears in 0.22.3. pionPATH, or the plugin settingpi_pathset to its absolute path.- A pi provider with valid credentials.
- Python 3.10 or later. The plugin needs no third-party Python package.
Windows has code paths for process groups, but no automated test covers it
yet. The manifest lists Linux and macOS only. Linux is tested. macOS shares the
POSIX code path but has no automated test.
Make sure that the provider answers:
pi auth check --provider <name> --json
Version
| Component | Tested |
|---|---|
| pi | 1.7.0 |
| Hermes | 0.23.4 |
The plugin is tested against pi 1.7.0. Any other version gives a warning, not a
refusal.
How it works
The plugin starts pi as a child process. Hermes talks to that process over its
own control channel, so a command and its answer stay matched.
For one task, the plugin closes the child when the work is done. For a long job,
it keeps the child open. That open child is the live lane, and it is what lets
you correct a run in flight.
A lane does not live forever. It stops after 60 minutes with no activity, and
the operator can change that with the idle_timeout_min setting. A lane left by
a Hermes crash is ended when the next Hermes process loads the plugin. A lane
that another live Hermes process owns is left alone.
Read docs/design.md if you want the details.
Safety
CAUTION: pi has no sandbox. Every pi tool call and every
bashcommand
runs with the permissions of the user who started Hermes.
- The working directory defaults to your session's directory. Two chats
never share one. Passcwdto choose a different directory. - A lane releases its process and its session. The idle sweep stops it
after 60 minutes by default. A crash leftover is ended at the next start. - Trust is off by default. pi ignores project-local files until the operator
enables it for the whole profile with the plugin settingtrust. - The tool list is short by default. For review work, ask for a read-only
list. - An approval dialog is cancelled and logged. RPC mode has no place to ask
you, so the plugin never approves in silence. - A repository can lie to the model. Treat the output as untrusted.
- For untrusted work, use a container or a separate user account.
Learn more
| Document | Contents |
|---|---|
docs/tools.md | Every argument, action, return field, limit and fault code. |
docs/design.md | Why a plugin, the engine rules, the timeouts, the locks, the ledger. |
docs/protocol.md | The pi RPC subset, the framing rules, the event map. |
skills/pi-lane/SKILL.md | The bundled skill: which shape to use, how to steer, how to read a fault. |
CHANGELOG.md | Release history. |
Development
If you change the code, run these commands:
python -m pytest -q # 84 tests, no model call
hermes plugins validate . # manifest and safety checks
hermes plugins doctor . # import and registration
The test suite drives a fake pi. The fake speaks the real framing, so a test
makes no model call. The suite covers a steer, a dialog, a crash in the middle of
a run and a malformed line.
License
MIT. The banner uses Press Start 2P
under the SIL Open Font License. See assets/fonts/OFL.txt.
README from the reviewed commit 01b9bd7; it updates when the author re-pins.

Akshxdev