Add this Piglet
Add the Piglet source
pig piglet add npm:@pi-in-go/pigpen-piglet-acpPiG copies the Piglet source into ~/.pig/piglets/ and validates it. Start it with pig --piglet acp.
Piglets run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party Piglet. This one is published by the PiG project from the Pigpen repository; that is not a verification claim.
What this Piglet is
Pigpen index status: planned (it records no signed Binary release for this Piglet). Source in the Pigpen repository ↗
- Not released yet: no signed Piglet Binary is published and no remote install command is offered. The source composition is in this repository; see RELEASE-BLOCKERS.md.
- Go only. Lets an editor that speaks the Agent Client Protocol (Zed and others) drive a PiG agent: the Package components/acp is a Go port of pi-acp (Sergii Kozak, MIT).
- The Piglet Binary does not speak ACP by itself. ACP is JSON-RPC on stdio and a fused extension must not write protocol bytes to the host's stdout, so the entrypoint is the companion executable pig-acp, started by the editor with --pig pointing at this agent. Proven with a built Piglet Binary as the --pig target of pig-acp (11 end-to-end scenarios and the ACP reference client); there is no one-command Binary yet.
- Advertised and implemented: initialize, session/new, session/load, session/list, session/delete, session/prompt with streaming text, thoughts, tool calls, diffs and terminal output, session/cancel, model and thinking-level selection, context usage, permission requests for extension select and confirm dialogs. Not supported, by design: file system and terminal delegation, MCP servers passed by the editor, extension slash commands, input and editor dialogs.
- No release is published; version 0.1.0 is a development default and only linux/amd64 has been built and run; linux/arm64, darwin/arm64, darwin/amd64 and windows/amd64 are listed in the manifest and compile-checked only; neither is a support claim.
Selects
Extensions (1)
acpfrom package:acp
Packages it uses
- @pi-in-go/pigpen-acp
^0.2.1
Binary targets
linux/amd64linux/arm64darwin/arm64darwin/amd64windows/amd64
These are the targets the manifest lists for pig piglet build. Which of them have been built and run is in the notes above.
Signing
- Signed Piglet Binary: none published. Nothing has been signed for this Piglet yet, so
pig piglet pullhas no release to pull. - npm package: 2 registry signatures.
piglet.yaml
# GENERATED by scripts/npm-piglets.mjs from piglets/acp/piglet.yaml. Do not edit.
name: acp
description: "PiG for editors: an agent that an Agent Client Protocol client such as Zed drives through the pig-acp companion, with /acp to show how to configure it."
release:
version: 0.1.1
build:
targets:
- linux/amd64
- linux/arm64
- darwin/arm64
- darwin/amd64
- windows/amd64
extensionRealization: fused
packages:
acp: npm:@pi-in-go/pigpen-acp@^0.2.1
extensions:
- name: acp
origins:
- package:acp
tools: []
skills: []
discovery:
extensions:
- user
- workspace
skills:
- user
- workspace
PiG manifest JSON
The pig field of package.json.
{
"piglet": "piglet.yaml"
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
acp
PiG as an agent for editors that speak the Agent Client Protocol (ACP), such as Zed. A Go port of pi-acp by Sergii Kozak (MIT). See the Package components/acp for the protocol coverage, the limits and the evidence.
Source only, not a published release. No Piglet Binary is published and no remote install command exists yet.
This Piglet selects the Go extension of the Package: /acp prints how to point an editor at the running agent. The ACP entrypoint itself is the companion executable pig-acp. ACP is JSON-RPC on stdio, and a fused extension must not write protocol bytes to the host's stdout, so the editor starts pig-acp, which starts this agent in RPC mode. There is no one-command Binary yet: see RELEASE-BLOCKERS.md.
npm ci --ignore-scripts && npm run stage
pig piglet validate dist/staged/piglets/acp/piglet.yaml
# the editor runs (Zed: agent_servers, see components/acp/README.md):
pig-acp --pig pig --piglet dist/staged/piglets/acp/piglet.yaml
A Piglet Binary builds from the staged manifest (pig piglet build dist/staged/piglets/acp/piglet.yaml --format binary --targets <os>/<arch> --out <dir> with PIG_SOURCE_ROOT set to a git checkout of the PiG source) and works as the --pig target: pig-acp --pig <dir>/acp.
discovery keeps the user's and the workspace's extensions, skills and prompt templates, so the editor session behaves like a terminal session.
Layout
piglet.yaml authored composition, input to staging
catalog.json presentation metadata
../../components/acp/ the Package: extensions/acp (Go extension) and extensions/acp/cmd/pig-acp (companion)
Signed Binary
This npm package is the Piglet's source: pig piglet add npm:@pi-in-go/pigpen-piglet-acp registers it, and its Packages install from npm. The signed per-platform Binary is published separately on GitHub Releases (release acp/v0.1.1):
pig piglet pull 'github:MichaelKinsy/pigpen/acp@0.1.1'