hermes.nvim (Neovim)
Connects to PiG over ACP through pig-acp. Ran on PiG 0.7.0 with a scripted model.
What works and what you need
Needs: PiG ACP adapter. pig-acp, PiG’s ACP adapter, which ships as its own archive in every PiG 0.8.0 release. hermes.nvim (Neovim) ran on PiG 0.7.0 with pig-acp 0.2.1 and a local scripted model, and has not been rerun on 0.8.0.
Uses pig-acp. Complete the one-time pig-acp setup first, then add the configuration below.
Setup
Connection: ACP, through pig-acp.
Configuration: Neovim Lua config: require('hermes').setup({ agents = { <id> = { command, args } } }), then require('hermes').connect('<id>')
Format: Lua; setup().agents.<id> = { command, args, description }
require("hermes").setup({
agents = {
pig = { command = "pig-acp", args = { "--pig", "/path/to/pig" }, description = "PiG via pig-acp" },
},
})
require("hermes").connect("pig")
require("hermes").create_session()Test record
PiG 0.7.0 run
Ran (2026-11-07). Neovim 0.12.6 + hermes.nvim c07f483 (its pre-built binary downloaded on first use); pig-acp 0.2.1 and pig 0.7.0 (pig --version prints 0.7.0+1.5.0), Linux amd64 in a container, with a local scripted model (no real model, no key).
Not run. A chat window: hermes.nvim has none. It is a Lua API and autocommands. The screenshot shows a scratch buffer filled by a listener we wrote (below).
Notes. connect -> ConnectionInitialized -> create_session -> prompt via the documented Lua API and autocommands (AgentTextMessage, ToolCall, ToolCallUpdate). First run only downloads the binary: the 'hermes' augroup did not exist yet and my script failed with E5113; second run worked (scripting artefact, not a pig-acp issue).
How to verify.
- Start nvim with the config above (the first start downloads the binary; start twice if the first fails)
Expected: The buffer lists [hermes] connected, a session id, [agent] text, [tool call] read, [tool update] completed and [hermes] turn finished.
Sources and project
hermes.nvim (Neovim) documentation
The name and logo belong to hermes.nvim (Neovim)’s owners. PiG is independent of hermes.nvim (Neovim); no endorsement is implied.
