PostHog/posthog-go

Official PostHog Go library

Go

55

357 commits

updated Oct 7, 2026

See the code

README

PostHog Go

Go Reference min. Go Version

Please see the main PostHog docs.

SDK usage examples and code snippets live in the official documentation so they stay up to date.

Documentation

AI observability

The otel module is an OpenTelemetry bridge that forwards AI spans (gen_ai.*, llm.*, and similar) to PostHog AI observability, including spans from a Google Agent Development Kit (ADK) for Go agent. It is a separate Go module, so the core SDK stays free of OpenTelemetry dependencies.

Questions?

Visit the community forum.

Contributing

See CONTRIBUTING.md for local setup and test instructions.

Releasing

See RELEASING.md.

event-tracking
experimentation
feature-flags
go
golang
official
posthog

PostHog/posthog-go

Official PostHog Go library

Go

55

357 commits

updated Oct 7, 2026

See the code

README

PostHog Go

Go Reference min. Go Version

Please see the main PostHog docs.

SDK usage examples and code snippets live in the official documentation so they stay up to date.

Documentation

AI observability

The otel module is an OpenTelemetry bridge that forwards AI spans (gen_ai.*, llm.*, and similar) to PostHog AI observability, including spans from a Google Agent Development Kit (ADK) for Go agent. It is a separate Go module, so the core SDK stays free of OpenTelemetry dependencies.

Questions?

Visit the community forum.

Contributing

See CONTRIBUTING.md for local setup and test instructions.

Releasing

See RELEASING.md.

event-tracking
experimentation
feature-flags
go
golang
official
posthog

Significant stargazers

Andrey Nering

594 followers · starred Jan 2026

Landon

19 followers · starred Aug 2025