pkg.go.dev gets an agent-readable API as Go 1.27 adds machine-friendly defaults
Google shipped a pkg.go.dev API with eight stateless JSON endpoints for package metadata, versions, symbols, imports, search and vulnerabilities, now out of v1beta and at v1. Go 1.27 added an OutputType field to go test -json and enabled the stdversion vet check by default so agents and LLMs can parse output deterministically.
- pkg.go.dev API: 8 JSON endpoints, an OpenAPI spec and the pkgsite-cli reference client, now at v1
- Go 1.27's go test -json tags lines with OutputType: error, error-continue, frame
- The stdversion vet check is on by default and flags stdlib symbols newer than the module's go directive
- ax-go v0.7.0 added mcp.Exclude, cutting finfocus from 37 MCP tools to 14
Read next
Policy