A network OS with programmable routing, fully written in Go.
Routing: BGP, OSPF, IS-IS, BFD, VRRP, LDP, RSVP-TE
Network services: IPsec, L2TP, PPPoE, DHCP, DNS
All in one binary, with plugins for custom behavior.
Website · Quick start · Demonstrations · Development updates · Discord
Self-contained · Extend with plugins · Appliance option · ExaBGP compatible
The site player and transcript provide playback controls and the command sequence for the animation. More recordings are on the demonstrations page, and the looking glass guide explains tracing a prefix router by router.
Ze brings routing, Linux networking and network services together through a configuration and plugin engine. You can use it as a programmable BGP controller, or as a router that runs its own routing protocols and configures its interfaces and forwarding table.
One YANG-defined configuration is shared by Ze's SSH CLI, web editor and APIs. Ze can run as a Linux daemon or an immutable appliance, and its Model Context Protocol (MCP) server lets AI assistants discover and use the daemon's commands.
I wrote ExaBGP, and its users are the people I had in mind while building Ze. The aim is to keep programmable routing and add control of the device around it, with one configuration for the protocols and the system they run on.
Important
Pre-release. Ze has not been released yet. Some features are incomplete or experimental, and APIs and configuration syntax can change. The feature inventory records their status. A lab is the right place to evaluate Ze before putting it on a live network.
Start here
Each route below ends with Ze running and something to look at.
| To explore | Start with |
|---|---|
| A first BGP session | Quick Start |
| A network lab | netlab and containerlab |
| Docker | Docker guide |
| An existing ExaBGP deployment | Migration guide |
| A dedicated device or VM | Appliance guide |
| Testing Ze with Claude Code or Codex | Use Ze with an AI agent: ze create agent skill sets the agent up |
Why Ze
A controller like ExaBGP, with control of the device it runs on.
| Programmable routing. Ze keeps ExaBGP's controller model: scripts can receive routing events and inject routes. You can develop plugins in any programming language, or use the native APIs for your own integrations. |
Tools for operators. The CLI provides contextual completion, configuration comparisons and a live BGP dashboard. A looking glass exposes routing state, and ze doctor reports configuration and runtime problems with commands to address them. |
| A choice of deployment. The same configuration model is available in a Linux service, a Docker container, an immutable appliance or a containerlab network. |
Tools for AI assistants. MCP exposes the running daemon's commands. For local testing, ze create agent skill installs a Ze skill and session-start hook for Claude Code or Codex (Codex asks you to trust the hook once), so an agent can use Ze's own help and tools. |
1binaryrouting protocols and network services |
1configurationYANG-defined, shared by every interface |
6ways inSSH CLI, web, REST, gRPC, gNMI, MCP |
4ways to runLinux, Docker, appliance, containerlab |
What you can do
Features depend on the build and configuration, and most of them are still experimental: implemented and reachable, but not yet at the level the feature inventory calls supported. The inventory gives each feature a level (supported, experimental or stub-backed) and lists what partial implementations still lack.
| Area | What you can do | Guides |
|---|---|---|
| BGP and programmable routing | Exchange and inject routes, validate origins with RPKI, and maintain IRR prefix filters, with AS-SET discovery through PeeringDB (tested so far only against a stub IRR server). | BGP, route injection, RPKI, and IRR filtering |
| Routing inside a network | Run OSPF, IS-IS, BFD, VRRP, and MPLS with LDP and RSVP-TE, with redistribution and shared routing policy. | OSPF, IS-IS, BFD, VRRP, MPLS, RSVP-TE, redistribution, and routing policy |
| Linux networking | Configure interfaces, routes, policy routing, firewall rules, and IPsec. | Interfaces, static routes, policy routing, firewall, and IPsec |
| Access and network services | Run PPPoE and L2TP subscriber access, DNS forwarding, and DHCP service. | PPPoE, L2TP, DNS resolver, and DHCP |
| Configuration and operations | Edit configuration and inspect the running system. | Configuration, CLI, command reference, and operations |
| Automation and visibility | Extend Ze and observe its routing state. | Plugins, MCP, AI agents, monitoring, and looking glass |
In the configuration editor, you can edit a value,
review the changes with show | compare, validate them with commit verify,
and apply them with commit now. Live configuration reload
can add peers and apply changes without restarting the daemon. A change that
affects BGP negotiation can restart the affected sessions.
Build from source
Git and Go on Linux or macOS, and one command to build.
git clone https://github.com/ze-software/ze.git
cd ze
./ze versionThe supported Go toolchain is pinned in go.mod, and the launcher uses it, with Ze's patched standard library, for the first build, which takes longer than later starts. Linux is the platform for the network operating system's kernel features.
On a fresh checkout, the ./ze launcher builds the daemon before it runs the
command. It derives the feature tags from feature-gates.txt,
so there is no tag list to maintain by hand. Later invocations run the existing
bin/ze without rebuilding it, even after the sources change. Delete bin/ze
to rebuild.
Quick Start: credentials, an example configuration, and commands to start Ze and inspect its peers
Ubuntu installation: a systemd installation
From ExaBGP
Most configuration files and process scripts come with you, and the migration names any line it can not reproduce.
ze exabgp migrate converts ExaBGP configuration files, and ze exabgp plugin
provides a bridge for existing process scripts. The
migration guide documents the syntax and API
differences to check when moving a deployment.
If you run ExaBGP, I would appreciate reports from your own configurations and process scripts. A report that shows what failed and what ExaBGP did with the same input gives me something concrete to fix. You can use the issue tracker or Discord.
Architecture and plugins
A small core, and plugins that bring their own YANG.
flowchart RL
compiled["Compiled plugins<br/>Go modules"]
external["External plugins<br/>separate processes"]
subgraph core["Core"]
model(["One model<br/>configuration and commands"]):::blue
end
surfaces(["SSH CLI · web<br/>REST · gRPC · gNMI · MCP"])
compiled -- "YANG and API" --> model
external -- "YANG and API" --> model
model <--> surfaces
classDef blue fill:#0069b4,stroke:#1a1f4d,color:#ffffff
style core fill:transparent,stroke:#0069b4,stroke-width:2px
Plugins can be compiled Go modules or separate processes. A compiled plugin
registers its YANG modules when Ze is built, and an external plugin sends its
modules when ze start runs it. The core builds the configuration schema and
the commands from both. Ze's own protocols and system features bring their
YANG the same way, so in a running Ze a plugin's configuration is validated,
completed and shown like a built-in one.
The protocol-independent core manages subsystem lifecycles through a message bus, a configuration provider, and a plugin manager. Commands register once and are available through the CLI, SSH, web interface, REST, gRPC and MCP.
Build only what you run
Optional subsystems have ze_<feature> build tags. A custom build can omit BGP or an
operator interface along with its registered schema. The
architecture guide explains the component boundaries,
and the feature manifest names the packages behind each tag.
Architecture overview: the runtime and BGP wire design · Plugin development: the SDK and process protocol
Testing and project status
The requirements, their test evidence and the gaps are all published.
The testing overview explains the unit, functional, fuzz, mutation, and chaos tests, plus Linux checks under QEMU. The interop guide describes scenarios against other implementations, including FRR, BIRD, and GoBGP.
The RFC requirement ledger publishes requirements and their test evidence, including gaps. A requirement counts as proven when a recorded test run detects a deliberate break in the code behind it. Test evidence helps evaluate the implementation, but production confidence also requires deployment experience.
The development updates describe changes and configuration differences to check when upgrading. The milestones show how the project has grown, and the roadmap records the work toward a first release.
Testing · RFC ledger · Updates · Milestones · Roadmap
AI-assisted development
Ze is developed with AI coding assistants. I decide the architecture, the tradeoffs, and what the code must preserve. Agreed specifications, tests and independent review constrain how agents develop the code. The process is iterative, and published code and documentation can still contain mistakes. Reports of those mistakes are welcome. I explain the reasoning in AI slop is human slop.
Contributing and license
Bug reports and contributions are welcome through the contribution process. A Contributor License Agreement applies to contributions.
Ze is copyright © 2025-2026 Thomas Mangin, and licensed under the
GNU Affero General Public License, version 3 only
(AGPL-3.0-only). See NOTICE.