Obol Go Binding
prime-radiant-inc/obol-go
Estimar custo de execução de agentes IA em Go, sem cgo
Ver no GitHubBiblioteca Go que lê transcrições de agentes IA (Claude Code, Codex, Pi) e estima seu custo em USD. Carrega a biblioteca nativa em runtime via purego, sem necessidade de cgo ou toolchain C.
Instalação
npx convez-ai prime-radiant-inc/obol-go1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Monitorar e contabilizar custos de execução de agentes Claude
- Analisar transcrições de agentes para estimativa de gastos
- Integrar análise de custos em pipelines Go multiplataforma
Veredito

Ferramenta especializada e bem-arquitetada para quem precisa rastrear custos de agentes IA em Go. Abordagem elegante com purego elimina complexidade de cgo, mas ainda em bootstrap — aguarde primeira release estável.
README
A tradução para o português deste README ainda está na fila.
obol-go
Go binding for obol — a library that reads agent transcripts (Claude Code, Codex, Pi) and estimates their USD cost.
import "github.com/prime-radiant-inc/obol-go"
This is a generated repository
The source of truth lives in the main repo under
bindings/go/. This
repository is populated automatically by obol's release workflow: each vX.Y.Z release
assembles the Go source together with the prebuilt native libraries and tags a matching release
here, so go get resolves a self-contained module.
- File issues and PRs upstream: https://github.com/prime-radiant-inc/obol
- Do not hand-edit this repository — changes here are overwritten on the next release.
Status
Bootstrap. The first tagged release is pending; until a vX.Y.Z tag exists here, go get has
nothing to resolve. Watch the main repo for the
release that seeds this module.
How it works (once released)
The binding loads obol's native library at runtime via
purego — no cgo, no C toolchain required
(CGO_ENABLED=0 works). The platform's native library is embedded in the module and used
directly, so a plain go get is all a consumer needs on macOS (arm64/x64) and Linux (x64/arm64).