-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
Herve Hildenbrand edited this page Apr 9, 2026
·
2 revisions
- Python 3.11+ - Required for running BGP Explorer
- uv - Fast Python package manager
- Anthropic API Key - Get one from Anthropic Console
pip install bgp-explorer
bgp-explorer install-deps # Auto-installs Go + Rust + monocle + bgp-radargit clone https://github.com/hervehildenbrand/bgp-explorer.git
cd bgp-explorer
uv sync
uv run bgp-explorer install-depsThe install-deps command automatically installs:
| Dependency | Purpose | Auto-Installed? |
|---|---|---|
| Rust | Required for monocle | Yes (via rustup) |
| monocle | AS relationship data from BGPKIT | Yes (cargo install) |
| Go | Required for bgp-radar | Yes (to ~/.local/go) |
| bgp-radar | Real-time BGP anomaly detection | Yes (go install) |
Binaries are auto-detected in ~/go/bin and ~/.cargo/bin.
If you prefer to install dependencies manually:
# monocle (required - requires Rust)
cargo install monocle
# bgp-radar (optional - requires Go, for real-time monitoring)
go install github.com/hervehildenbrand/bgp-radar/cmd/bgp-radar@latestFor historical BGP data from RouteViews and RIPE RIS archives:
# macOS - Install the C library first
brew install bgpstream
# Then install Python binding
uv sync --extra bgpstreamNote: BGPStream requires the libBGPStream C library to be installed on your system.
After installation, verify everything is working:
# Check Python dependencies
uv run python -c "import bgp_explorer; print('OK')"
# Check monocle (required)
monocle --version
# Check bgp-radar (optional)
bgp-radar --helpThe app works without bgp-radar installed:
| Feature | Without bgp-radar | With bgp-radar |
|---|---|---|
| Prefix lookups | ✅ | ✅ |
| ASN queries | ✅ | ✅ |
| RPKI validation | ✅ | ✅ |
| Path analysis | ✅ | ✅ |
| On-demand hijack detection | ✅ | ✅ |
| Real-time monitoring | ❌ | ✅ |
get_anomalies tool |
❌ | ✅ |
/monitor commands |
❌ | ✅ |
- Configuration - Set up your API key and preferences
- Usage Guide - Learn how to use the CLI
- Examples - See example queries