Hash (shell)
Connects to PiG over ACP through pig-acp. Ran on PiG 0.9.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 release. Hash (shell) ran on 2026-11-30 against published PiG 0.9.0 and pig-acp 0.2.4 with a local scripted model.
Uses pig-acp. Complete the one-time pig-acp setup first, then add the configuration below.
Setup
Connection: ACP, through pig-acp.
Configuration: ~/.config/hash/config.toml
Format: TOML, [agent] transport, command, args
[agent]
transport = "stdio"
command = "pig-acp"
args = ["--pig", "/path/to/pig"]Test record
PiG 0.9.0 run
Ran (2026-11-30). Hash 0.11.0 (linux/amd64) in tmux with ~/.config/hash/config.toml (transport = "stdio"); published pig-acp 0.2.4 and pig 0.9.0, with a local scripted model: ?? prompt displayed pig v0.9.0, ran read on README.md, and printed the reply.
Not run. A real model; macOS interactive shell.
Notes. Verified on 2026-11-30 with Hash 0.11.0 and ~/.config/hash/config.toml (transport = "stdio") against published pig 0.9.0 and pig-acp 0.2.4: ?? prompt showed pig v0.9.0, ran read (check mark), and printed the reply.
How to verify.
- Add the [agent] block with transport = "stdio" to ~/.config/hash/config.toml
- Start hash in a project folder with README.md
- Run: ?? Please read README.md and tell me the first line
Expected: Hash prints pig v0.9.0, shows the completed read tool call, and prints the reply.
Sources and project
The name and logo belong to Hash (shell)’s owners. PiG is independent of Hash (shell); no endorsement is implied.