# ExaBGP

> The BGP swiss army knife of networking

Source: https://talira.ai/catalog/exabgp-4yzh96jp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [networking / routing daemons](https://talira.ai/categories/networking/routing-daemons), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, docker, cli[^2][^5]
- Licence: BSD-3-Clause[^4][^5]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^2]
- API: yes[^2][^3]
- Backed by: [Exa Networks](https://talira.ai/orgs/exa-networks.md)
- Creator: Thomas Mangin

ExaBGP is a BGP implementation in Python for driving BGP from scripts and other programs: it runs your programs and exchanges messages with them over pipes, taking route announcements and withdrawals from them and passing them BGP updates as text or JSON. Unlike [FRRouting](https://talira.ai/catalog/frrouting-v2d7m7mq.md) or [BIRD](https://talira.ai/catalog/bird-3twzfbsh.md) it doesn't touch the kernel's routing table, which makes it a tool for announcing service IPs and anycast addresses based on health checks (its built-in `exabgp healthcheck` does this with no code), pushing FlowSpec and blackhole rules against DDoS attacks, and monitoring networks through BGP-LS and Add-Path. It supports IPv4 and IPv6 unicast and multicast, VPNv4 and VPNv6, EVPN, FlowSpec, BGP-LS, MUP and SRv6. Version 5.0 is the stable release on PyPI; the `main` branch, the future 6.0, moves to asyncio and Python 3.12 and adds an interactive CLI. It's BSD-3-Clause, from Exa Networks, and its author's Go rewrite Ze is billed as its successor.

## Links

- GitHub: https://github.com/Exa-Networks/exabgp
- Docs: https://github.com/Exa-Networks/exabgp/wiki

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/exabgp>[^1]

## Problems it solves

- announce a service IP over BGP from a server only while its health check passes
- fail an anycast address over between data centers automatically
- inject BGP routes from a Python or shell script without running a full routing daemon
- push FlowSpec rules to our routers to filter a DDoS attack
- announce a blackhole route for an IP under attack from a script
- receive BGP updates as JSON in my own program to watch routing changes
- collect BGP-LS topology data from our routers into our own tooling
- have each server announce its own IP to the top-of-rack switch over BGP
- move a /32 service address between servers without touching router configuration
- peer with a route server and send it crafted announcements to test it

## Features

- API for external programs over pipes, with text and JSON formats
- built-in healthcheck that announces or withdraws routes from a service check
- IPv4/IPv6 unicast and multicast, VPNv4/VPNv6, EVPN, FlowSpec, BGP-LS, MUP and SRv6
- Add-Path for network monitoring
- configuration validation (exabgp configuration validate)
- RFC compliance ledger covering 24 RFCs with the tests behind each requirement
- zipapp: ExaBGP as one exabgp.pyz file run by Python
- main (future 6.0): asyncio engine, interactive CLI with shell completion, health monitoring API commands, optional mypyc-compiled build

## Limitations

- Doesn't install routes into the kernel routing table (FIB or RIB): it only speaks BGP, so use BIRD or FRRouting to program routes[^2][^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.54 out of 1.
Signals: backing 0.70, extensibility 0.40.

- backed by Exa Networks
- created by Thomas Mangin
- used by Meta (Katran), Dailymotion, BlaBlaCar, Oracle Dyn

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [GoBGP](https://talira.ai/catalog/gobgp-bh743gxs.md): BGP implemented in the Go Programming Language
- [OpenBGPD](https://talira.ai/catalog/openbgpd-cd5n33en.md): Free implementation of BGP-4 that lets ordinary machines act as routers
- [BIRD](https://talira.ai/catalog/bird-3twzfbsh.md): BIRD Internet Routing Daemon: BGP, OSPF, RIP and Babel with a powerful route filtering language
- [FRRouting](https://talira.ai/catalog/frrouting-v2d7m7mq.md): Free and open source Internet routing protocol suite for Linux and Unix platforms

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^2]: https://github.com/Exa-Networks/exabgp/blob/main/README.md (checked 20 Nov 2026)
[^3]: https://github.com/Exa-Networks/exabgp/wiki (checked 20 Nov 2026)
[^4]: https://github.com/Exa-Networks/exabgp/blob/main/LICENCE.txt (checked 20 Nov 2026)
[^5]: https://pypi.org/project/exabgp/ (checked 20 Nov 2026)
