# Exa-Networks/exabgp

The BGP swiss army knife of networking

Repository: https://github.com/Exa-Networks/exabgp
Canonical: https://ross.abutalabs.com/products/exabgp
Language: Python
License: NOASSERTION
License Family: other
Topics: python, bgp, ddos-protection, health-check, ipv6, mpls, vpls, flowspec, ipv4, exabgp, protection, pypi, flow, visualisation, bgp-ls
Last push: 2026-08-26T19:19:17+00:00

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

## Adoption (not part of the score)
Stars 2296, forks 467 (observed 2026-08-28T04:06:35.185436+00:00)

## What it is
ExaBGP is a Python-based BGP protocol implementation that lets network engineers control and interact with BGP sessions through a JSON API and external scripts. Unlike traditional BGP daemons, it does not manipulate the FIB, focusing instead on protocol flexibility for automation and monitoring.

## Use cases
- inject and withdraw BGP routes from scripts for traffic engineering
- mitigate DDoS attacks by announcing blackhole routes or FlowSpec filters
- build cross-datacenter failover by migrating service IPs via BGP
- collect network topology data using BGP-LS or Add-Path
- automate anycast network control
- run a BGP looking glass or route collector for monitoring

## When to choose
- you need to script or programmatically control BGP announcements
- you want a lightweight BGP speaker without FIB manipulation
- you need broad address family support like FlowSpec, EVPN, BGP-LS, or SRv6 in a test lab
- you are building DDoS mitigation or anycast automation

## When to avoid
- you need a production router that installs routes into the kernel FIB (use FRRouting or BIRD)
- you need maximum performance, in which case the Go successor Ze is recommended
- you want a GUI or turnkey routing solution rather than a scriptable toolkit

## Facets
- artifact type: application
- maturity: active
- function: networking, monitoring, developer-tools, sdk
- domain: networking, security
- platform: python, cross-platform
- tags: bgp, bgp-daemon, flowspec, bgp-ls, ddos-mitigation, anycast, traffic-engineering, route-injection, sdn, devops, automation, linux, macos, docker

## Member repositories
- Exa-Networks/exabgp (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.185436+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-30T02:40:19.536445+00:00, confidence not recorded.
  - readme: https://github.com/Exa-Networks/exabgp (fetched 2026-08-28T04:06:35.185436+00:00, sha 5caf44ba12ae)
  - registry_pypi: https://pypi.org/pypi/exabgp/json (fetched 2026-08-29T10:20:37.093177+00:00, sha 9cde6a6b8ae5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
