Tools/osrg/gobgp

gobgp

BGP implemented in the Go Programming Language

4.1kemergingGoApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jun 2026

GoBGP is BGP without the hardware router. BGP is the protocol that decides how traffic moves between networks, and historically you ran it on a Cisco or Juniper box or a heavyweight legacy daemon. GoBGP is a clean, modern implementation written from scratch in Go that runs as a standalone daemon or, more interestingly, as a library you drive over a gRPC API. That makes it the go-to when you want to build BGP control into your own software: route injection, SDN controllers, anycast automation.

The install is easy, a single Go binary and a config file. Operating it is not. BGP is unforgiving, and peering, route policy, and filtering still demand real networking knowledge no matter how clean the tool is. It supports the features that matter in production: route reflection, EVPN, flowspec, RPKI, and Zebra integration.

It is Apache-2.0 and entirely free, with no paid tier. For a plain software router, FRRouting and BIRD are the usual alternatives and have broader feature sets for traditional routing. GoBGP wins when you want BGP as a programmable building block rather than a box you configure. Solo, small, or large team: the cost is your time and expertise, not a license.

The catch is that a BGP mistake does not throw an error, it silently moves traffic. The tooling cannot save you from a bad policy, and the ecosystem around GoBGP is smaller than FRR's, so you will lean on the docs and the source more than on Stack Overflow.

Free vs Self-Hosted vs Paid

fully free

Free / self-hosted: All of it. Apache-2.0, a single Go binary or an importable library. No paid tier, no hosted option, no usage limits.

Paid: None. Support is community-based through the project's Slack. The real cost is the networking expertise required to run BGP safely.

Free and Apache-licensed. The cost is networking expertise, not money.

Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
76/100 · B+
Adoption17/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (46 public repos)Author also built: osrg/rustybgp (578 stars)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
osrg (Organization)
Stars
4,089
Forks
802

Also by osrg

Explore Further

More tools in the directory