triib

Specifications

triib 1.5.4, an ATDECC controller with Milan, AVB Lite and AVB Wireless support. For what each feature does, see the tour.

Systems and processors

SystemVersionsProcessorsPackages
LinuxWayland and X11; glibc 2.39 or newer for the packagesx86_64, ARM64, RISC-V.deb, .rpm, PKGBUILD for Arch, tarball
WindowsWindows 10 and 11, with Npcapx64, ARM64Per-user installer (.msi), portable .zip
macOSmacOS 11 or laterApple Silicon and IntelInstaller package (.pkg), signed and notarised; Homebrew
NetworkA wired Ethernet interface, through raw sockets on Linux, opened by one small helper holding CAP_NET_RAW, BPF on macOS and Npcap on Windows
GraphicsThe GPU through Vulkan on Linux, DirectX 12 or Vulkan on Windows, and Metal on macOS; the CPU when no GPU backend starts
LookMaterial Design 3, light or dark, in the accent colour of the system or its Omarchy theme, or one picked; on a Mac, a menu bar with triib's menus
The Mac's own entityRead and controlled through Apple's AudioVideoBridging framework, as macOS never hands it what a program writes to BPF; shown as a host entity, with its audio device, its streams' peak meters, and Listen, which plays what it receives, or from macOS 14.2 what apps send through it
Not here yetEntities running on the local host on Windows, and on macOS beside the Mac's own

Standards and profiles

ControlIEEE 1722.1-2021 ATDECC: discovery (ADP), the entity model (AECP AEM) and connections (ACMP)
MilanMilan 1.3: its connection management, GET_MILAN_INFO and the Milan view of stream state
StreamsIEEE 1722 AVTP: AAF and AM824 audio, CRF media clock streams, and MAAP for stream addresses
ReservationsIEEE 802.1Q MRP, MSRP and MVRP
TimeIEEE 802.1AS gPTP, through gptpd, and each entity's gPTP path and grandmaster
AVB LiteThe AVB Lite community profile: falling back over switches that are not AVB bridges, CVU SRP declarations, its PTP profile, status and alarms
AVB WirelessThe AVB Wireless community profile: each AVB interface's wireless status (GET_WIRELESS_STATUS), whether an access point admits Class A (SET_WIRELESS_CONFIG), and its unsolicited responses
Basic AudioThe Basic Audio community profile: host entities' audio streams take 2 and 8 channels beside their own count, and an output's SR class follows its format

Milan is a trademark of Avnu Alliance. triib is not certified by Avnu Alliance.

Controller

DiscoveryEvery entity on the interface, with its entity model read and kept for next time, its logo and its vendor's read through Address Access, and offline entities shown as such; entities that send no notifications read again in turn; controllers that do not advertise, from the commands they send
EntitiesA list with the columns picked, from product, firmware and Milan version to media clock, grandmaster, AVB Lite and logos, each entity's clock source changed in place; filtered to this computer's entities, without controllers, or to this computer's clock domain
ConnectionsA matrix of talker outputs and listener inputs for audio and media clock streams, with each connection's state and whether the formats meet; connections by group or one by one, and a menu of the formats both ends take where the input must change first; talkers and listeners in different clock domains kept from connecting; filters for what cannot connect, entities running AVB Lite and wireless entities
NetworkA map of bridges and devices in their clock domains, from each entity's gPTP path, those running AVB Lite behind the switch in front of them, with the clock tree or the traffic of audio or CRF streams on each link drawn on it
ChangesNames and groups, configurations, stream formats, sampling rates, clock sources, outputs' maximum transit times, channel maps, controls such as gain and mute, and identifying
FirmwareUpdated over ATDECC on entities that take it, a coprocessor's too, from the inspector, triib-cli firmware or an AI agent; triib checks the file before it goes and shows an entity that goes back to its old firmware
Device logThe log a device keeps, such as an ESP32 board's console, followed in a panel, with each boot and restart marked, and its crash dump saved or erased, from the inspector, triib-cli log and triib-cli crash or an AI agent
MetersA peak meter of each audio stream's first two channels wherever this computer carries its audio: host entities' streams, the Mac's own entity's, and other entities' streams connected to them
DiagnosticsWhat each AVB interface's streams take of its link; how each clock domain and stream has fared, from the entity's counters, with what went wrong marked; each bound input's reservation; a talker's listeners, where it keeps them; and the descriptors themselves
PresetsClock sources, sampling rates, stream formats, controls and connections, and host entities; recalling one changes only what differs
LogEvery ATDECC frame sent and heard, decoded, with the frames that break the rules marked
AVB WirelessEach Wi-Fi station's role, time mode, link and access point, each access point's stations and the frames a second it delivers, stations under their access point on the map, and the profile's alarms
Command linetriib-cli: discover, describe, connect and disconnect, name, configurations, formats, rates, clocks, channel maps, controls, maximum transit times, identify, the network and the stream state, firmware, devices' logs and crash dumps

Entities running on the local host

SystemsLinux, on a wired interface with a PTP hardware clock (ethtool -T shows one)
Timegptpd running gPTP on that interface, started through its systemd unit where none runs, and read through its status socket; it never steps or slews the card's clock, and makes this computer grandmaster capable, at priority1 248 unless set otherwise; an entity more than a millisecond off the last Sync reports itself out of sync
EntitiesMilan entities with any number of streams each way; any controller binds them
FormatsAudio: AAF or AM824 at 48, 96 or 192 kHz, 8 channels unless another count is picked, and 2 and 8 channels too, each size at every rate where it fits a frame; in SR class B in class B's own formats, else class A. Media clock: CRF, 48 kHz with a timestamp every 96 samples
AudioTo and from the computer's audio devices; each audio stream with a virtual audio device of its own in PipeWire unless it uses a sound card; an output can send a tone or silence instead, and an input can discard what it receives; each stream measured for the app's peak meters while it shows them
ClockThe internal clock, or any input: the clock recovered from a media clock's timestamps or an audio stream's presentation times
MappingsDynamic on inputs, as Milan has them; fixed on outputs
SchedulingReal-time threads through RealtimeKit, as PipeWire asks for
Programavb-endpointd, which reads ~/.config/avb-endpointd/<interface>.toml again whenever it changes, and shares its MSRP participant with other programs on this computer, such as plaa

AVB Lite

WatchingEach entity's mode and why it fell back, its PTP profile and offset, its media VLAN and what its streams take of each link, and the profile's alarms
Falling backHost entities fall back when no AVB bridge answers on the interface, and come back to AVB when the link comes up again
StreamsUnicast to each listener, to 5 a talker unless set otherwise, and multicast beyond that only where allowed
gptpdDecides when host entities fall back to the AVB Lite PTP profile, and when they go back to gPTP
LinkEnergy-Efficient Ethernet and PAUSE kept off, as the profile asks, by a systemd unit

AVB Wireless

ProfileThe AVB Wireless community profile, 1.1 draft: AVB and AVB Lite over one Wi-Fi hop, from an access point that is a bridge on its wired port to Wi-Fi stations as talkers and listeners
WatchingEach AVB interface's wireless status, asked once an entity is read and every 5 seconds on a wireless interface, and followed through its unsolicited responses
StationsRole, time mode, Mode A over FTM or TM or Mode B, and whether its time holds; link, signal and rate; and the access point it follows
Access pointsTheir stations, the listeners they cannot serve, and the frames a second they deliver
Class AAdmitted only by an access point that delivers 12000 frames a second or more, and allowed or kept off through SET_WIRELESS_CONFIG, as triib-cli wireless-config does
NetworkEach station under its access point, its Wi-Fi hop dotted, in sync while its time is locked
AlarmsA station whose time is not locked, and listeners an access point cannot serve
Host entitiesAn output sends in SR class B, 4000 frames a second on priority 2, in class B's own formats, as a stream to a Wi-Fi station must; this computer as a Wi-Fi station is not here yet

Languages

38, following the system's language or the one picked in Settings: Arabic, Bengali, Catalan, Chinese (Simplified and Traditional), Czech, Danish, Dutch, English (US and UK), Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian Bokmål, Persian, Polish, Portuguese (Brazil and Portugal), Romanian, Russian, Spanish, Swahili, Swedish, Tamil, Thai, Turkish, Ukrainian, Urdu and Vietnamese. Arabic, Hebrew, Persian and Urdu are laid out right to left.

Agents

MCP servertriib --mcp, over standard input and output, for Claude Code (claude mcp add triib -- triib --mcp) or any MCP client. It drives the triib you are using, starting it if needed; nothing listens on the network
Accesstriib asks before letting a new agent in, and remembers Allow; one not allowed is turned away until triib quits. Settings lists the agents allowed and forgets them, and outside control can be turned off
Tools (22)Twelve that read, status, list_entities, describe_entity, list_connections, list_problems, stream_diagnostics, clock_tree, firmware_status, device_log, save_crash_dump, list_audio_devices and audio_monitor; and ten that change, connect, disconnect, set_stream_format, set_sampling_rate, set_clock_source, rename, identify, update_firmware, stop_firmware_update and set_audio_monitor; each marked for MCP clients as reading or changing
ReadingWhat triib knows: the interface it controls and this computer's own entities, the entities it has found, each one's audio units, clock domains and streams with their formats from its model, and what each listener input is bound to
ChangesWhat a click would do, sent to the devices at once: connecting and disconnecting streams, setting a stream's format, a sampling rate or a clock source, renaming, identifying, and the audio monitor. Each answers once the device has, with what it said; there is no undo
DiagnosingFor streams that do not play: what triib finds wrong across the network, errors first; how one stream stands, asked of its device afresh, with its reservation and its counters sampled over a few seconds to tell a problem now from an old one; and the gPTP tree as the network view shows it
WaitingA call made while triib asks whether to let its agent in waits for the answer, and tells the agent so as an MCP progress notification

Technology

LanguageRust
Interfaceiced, with scramble-ui, the look it shares with prev
TranslationsFluent
AI agentsAn MCP server through rmcp, relaying to the running triib over a private local socket (a named pipe on Windows)
Librariesatdecc (IEEE 1722.1 with Milan), avb-mrp (MRP, MSRP and MVRP) and avb-net (raw Ethernet, interfaces and hardware timestamps): no I/O of their own outside avb-net's platform support, and no std needed, for microcontrollers

Settings and data

Settingstriib.toml, in ~/.config on Linux, %APPDATA%\triib on Windows and ~/Library/Application Support/triib on macOS
Entity modelsKept in triib's cache, so a device seen before shows in full at once
PresetsTOML files in the presets folder, in triib's data folder unless Settings, Storage names another
Host entities~/.config/avb-endpointd/<interface>.toml, one for each interface

Licence and privacy

LicenceMIT or Apache 2.0, at your option
NetworkOnly AVB frames, on the local interface you pick; triib never goes online
Outside controlFor triib --mcp, a local socket that only your user can open on Linux and macOS, and a named pipe on Windows; each agent acts only once you allow it, and Settings turns it off
AI agentsOnly those you allow, through triib --mcp; no bundled model. What an agent reads from triib goes to the model it uses
Accounts and telemetryNone

See the privacy note and the code signing policy.