fez
An agent-native management CLI for Fedora/RHEL. fez gives LLM-driven agents a
uniform, structured, discoverable way to operate a host (and, over SSH, a fleet)
by reusing Cockpit's existing system plumbing instead of scraping dozens of
human-oriented CLIs.
fez drives cockpit-bridge over its framed JSON protocol: it spawns the
bridge, opens channels (dbus-json3, stream, privileged superuser), and
delegates privilege escalation to the bridge. Remote hosts are reached by
shelling out to the system OpenSSH client.
Install
Requires cockpit-bridge (the substrate) and openssh-clients (remote
transport); both are pulled in automatically.
Usage
# Discover capabilities on demand (the git model: nothing preloaded).
# Read-only (no elevation).
# Mutations (privileged, guarded by the safety layer).
# Target a remote host (ssh_config aliases work).
# Run as an MCP server (JSON-RPC 2.0 over stdio) for MCP-aware agents.
# Also expose strict per-capability MCP tools, such as services_status.
Every command supports --json (the fez/v1 envelope), --host (localhost by
default), and layered --help.
License
Apache-2.0