About PiG
This project is a Go implementation of Pi, an open agent harness for working with AI models from the terminal. It ships as a single binary named pig and aims to carry Pi's behavior, architecture and user experience into the Go ecosystem, while Pi itself remains the reference implementation. The site says compatibility is tracked through explicit parity evidence.
It was created by Michael Kinsy and originally developed at Hewlett Packard Enterprise. It is maintained independently from upstream Pi.
The tool targets developers who want a Pi style coding agent in Go. It supports more than 15 model providers, including Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, xAI, OpenRouter and Ollama, with authentication by API key or OAuth, and models can be switched mid session. It is extensible: a user can add a command, tool, provider, workflow or interface through an extension written in Go, reload it without restarting, and compose capabilities into an agent application. An SDK for Go applications is included.
Installation is offered through shell scripts for macOS and Linux, a Windows installer, npm or Go, and the scripts verify each download against the release's SHA256SUMS before installing. The site publishes no pricing page and no plan prices.