# osrg/gobgp

BGP implemented in the Go Programming Language

Repository: https://github.com/osrg/gobgp
Canonical: https://ross.abutalabs.com/products/gobgp
Homepage: https://osrg.github.io/gobgp/
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T12:37:33+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 4372, "days_push": 7, "days_rel": 30, "gap_med": 31.0, "n_releases_24m": 17}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4103, forks 817 (observed 2026-08-28T04:08:35.586208+00:00)

## What it is
GoBGP is an open-source Border Gateway Protocol (BGP) implementation written in Go, usable both as a standalone BGP daemon with a CLI and as a native Go library. It is designed for modern multicore environments and automation-friendly integration via gRPC APIs.

## Use cases
- run a BGP route server for an internet exchange point
- embed BGP peering into a Go application
- build a route reflector for a data center fabric
- automate BGP configuration via gRPC instead of CLI
- test BGP policy and flowspec behavior in a lab
- integrate BGP with Zebra for FIB manipulation

## When to choose
- you need a programmable BGP stack with RPC APIs for automation
- you want a lightweight BGP daemon without a full routing suite
- you need a Go library to speak BGP natively in your own software
- you need features like EVPN, Flowspec, RPKI, BMP, or graceful restart

## When to avoid
- you need a full traditional routing stack with OSPF/IS-IS alongside BGP
- you prefer vendor-style CLI configuration like FRR or Cisco IOS
- you need production support or hardware forwarding integration beyond Zebra

## Facets
- artifact type: library
- maturity: active
- function: networking, routing, rpc, cli
- domain: networking, microservices, infrastructure-as-code
- platform: go, cross-platform, cli
- tags: bgp, routing-protocol, route-server, route-reflector, grpc-api, sdn, evpn, flowspec, rpki, linux

## Member repositories
- osrg/gobgp (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.586208+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:15.568554+00:00, confidence not recorded.
  - readme: https://github.com/osrg/gobgp (fetched 2026-08-28T04:08:35.586208+00:00, sha 7b6416ec417f)
  - homepage: https://osrg.github.io/gobgp/ (fetched 2026-08-29T09:14:45.424956+00:00, sha 0dfa33243844)
- Data as of 2026-08-30T08:39:29.467469+00:00.
