PiG
PiG is an open-source Go version of the Pi terminal coding agent, with a Go SDK for developers who want to build agents into Go applications.
Pricing and API checked by an OpenBeat editor on Nov 16, 2026 · facts from the maker’s own site · · Is this your tool? Claim it
Tool insights
PiG gives you a terminal coding agent that you can also embed in your own Go program through an SDK. You can change models during a session and extend the agent with your own commands, tools and workflows.
Teams that write Go often have to wrap an agent built in another language when they want one inside their application. PiG offers the same kind of terminal agent as a Go codebase, so it can be used and extended in one language.
Good for developers who build Go applications and want an extensible coding agent or an embeddable one. Less suited to people who need built-in sub-agents, plan or to-do workflows, or a ready-made permission policy.
Links
From the maker’s own site.
What it does
PiG is a terminal coding agent written in Go. It is a reimplementation of the Pi agent, made by Michael Kinsy. You start it in a shell, describe a coding task, and it works on your code with the language model you choose.
It also ships as a Go SDK. A Go application can embed the agent directly instead of calling an external program. The project is open source under the MIT license.
Key features
- Four modes: interactive, print/JSON, RPC and Go SDK.
- Model switching: change models in the middle of a session with
/model. - Tree-structured sessions: move around a session's branches with
/tree. - Session export: save a session as HTML or share it as a GitHub gist.
- Project instructions: AGENTS.md, SYSTEM.md, skills and prompt templates are supported.
- Steering: guide an agent while it runs, or queue follow-up messages.
- Extensions: add commands, tools, providers, workflows and UI.
- Piglets: compose extensions into named agent applications.
- MCP and code mode: both are built in.
- Verified installs: the install scripts check downloads against SHA256SUMS.
Pricing
As of November 2026, PiG is open source under the MIT license, and the maker's site lists no paid plans. Whether there is a separate free plan is not stated. Costs charged by the model providers you connect are not described either.
API and integrations
PiG has an API in the form of a Go SDK. The RPC and print/JSON modes give other programs a way to drive it. It connects to MCP servers.
The model list includes Anthropic Claude models (claude-opus-5-5, claude-opus-4-5-20251101, claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001) and OpenAI GPT models (gpt-5, gpt-5.1, gpt-5.2, gpt-5.4, gpt-5.5, gpt-5-pro). The model list in the tool shows only providers you have configured with /login.
Platforms listed are macOS, Linux, Windows, Android and the command line.
Good to know
- Windows support is a preview.
- There is no built-in sub-agent, plan, to-do or background shell workflow.
- Stock PiG has no permission product policy.
- PiG Standard needs its extensions compiled into the Piglet Binary.
- The project is under active development.
The latest release in the facts is v0.7.0, dated 5 November 2026. The GitHub repository had 858 stars and its last push was on 13 November 2026. Documentation is at pi-in-go.dev/docs/latest. The maker's site names Go application developers as the main audience, plus non-programmers following applied use cases.
What’s new
FAQ
Is PiG free to use?
As of November 2026, PiG is open source under the MIT license and no paid plans are listed on the maker's site. Charges from the model providers you connect are not stated.
Does PiG support MCP?
Yes. PiG connects to MCP servers, and MCP and code mode are built in. Extensions can also add tools, commands, providers and workflows.
Which AI models does PiG work with?
The listed models include Claude Opus, Sonnet and Haiku versions and several GPT-5 versions, including gpt-5-pro. The in-tool model list shows only providers you have set up with /login, and you can switch models mid-session with /model.
Does PiG have an SDK for Go?
Yes. PiG includes a Go SDK so Go applications can embed the agent. It also offers interactive, print/JSON and RPC modes.
Does PiG run on Windows?
Windows is listed as a platform, but support is a preview. macOS, Linux, Android and the command line are also listed.
Health
We open the tool’s homepage every 6 hours. One failed check isn’t an outage: it’s re-checked, and counts as down after 3 failures in a row. Our check can’t see problems behind sign-in or in the API; the maker’s own status page knows more.
Releases
Read from GitHub’s public release list · last checked Nov 30, 2026
In the news
No coverage yet.
Reviews
No reviews yet. Reviews are written by OpenBeat members and checked by a moderator before they show; none are imported from other sites.
Sign in to write a review.
Discussion
Questions about PiG, how it worked for you, where it fell short. Editors and the maker read this too.
Log in to ask a question or share how this tool worked for you.
No comments yet. Be the first to share how PiG worked for you.