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
| System | Versions | Processors | Packages |
|---|---|---|---|
| Linux | Wayland and X11; glibc 2.39 or newer for the packages | x86_64, ARM64, RISC-V | .deb, .rpm, PKGBUILD for Arch, tarball |
| Windows | Windows 10 and 11, with Npcap | x64, ARM64 | Per-user installer (.msi), portable .zip |
| macOS | macOS 11 or later | Apple Silicon and Intel | Installer package (.pkg), signed and notarized; Homebrew |
| Network | A wired Ethernet interface, through raw sockets on Linux, opened by one small helper holding CAP_NET_RAW, BPF on macOS and Npcap on Windows |
|---|---|
| Graphics | The GPU through Vulkan on Linux, DirectX 12 or Vulkan on Windows, and Metal on macOS; the CPU when no GPU backend starts |
| Look | Material Design 3, light or dark, in the accent color of the system or its Omarchy theme, or one picked; on a Mac, a menu bar with triib's menus |
| The Mac's own entity | Read 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 yet | Entities running on the local host on Windows, and on macOS beside the Mac's own |
Standards and profiles
| Control | IEEE 1722.1-2021 ATDECC: discovery (ADP), the entity model (AECP AEM) and connections (ACMP) |
|---|---|
| Milan | Milan 1.3: its connection management, GET_MILAN_INFO and the Milan view of stream state |
| Streams | IEEE 1722 AVTP: AAF and AM824 audio, CRF media clock streams, and MAAP for stream addresses |
| Reservations | IEEE 802.1Q MRP, MSRP and MVRP |
| Time | IEEE 802.1AS gPTP, through gptpd, and each entity's gPTP path and grandmaster |
| AVB Lite | The AVB Lite community profile: falling back over switches that are not AVB bridges, CVU SRP declarations, its PTP profile, status and alarms |
| AVB Wireless | The 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 Audio | The 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
| Discovery | Every 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 |
|---|---|
| Entities | A 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 |
| Connections | A 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 |
| Network | A 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 |
| Changes | Names and groups, configurations, stream formats, sampling rates, clock sources, outputs' maximum transit times, channel maps, controls such as gain and mute, and identifying |
| Firmware | Updated 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 log | The 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 |
| Meters | A 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 |
| Diagnostics | What 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 |
| Presets | Clock sources, sampling rates, stream formats, controls and connections, and host entities; recalling one changes only what differs |
| Log | Every ATDECC frame sent and heard, decoded, with the frames that break the rules marked |
| AVB Wireless | Each 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 line | triib-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
| Systems | Linux, on a wired interface with a PTP hardware clock (ethtool -T shows one) |
|---|---|
| Time | gptpd 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 |
| Entities | Milan entities with any number of streams each way; any controller binds them |
| Formats | Audio: 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 |
| Audio | To 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 |
| Clock | The internal clock, or any input: the clock recovered from a media clock's timestamps or an audio stream's presentation times |
| Mappings | Dynamic on inputs, as Milan has them; fixed on outputs |
| Scheduling | Real-time threads through RealtimeKit, as PipeWire asks for |
| Program | avb-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
| Watching | Each 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 back | Host entities fall back when no AVB bridge answers on the interface, and come back to AVB when the link comes up again |
| Streams | Unicast to each listener, to 5 a talker unless set otherwise, and multicast beyond that only where allowed |
| gptpd | Decides when host entities fall back to the AVB Lite PTP profile, and when they go back to gPTP |
| Link | Energy-Efficient Ethernet and PAUSE kept off, as the profile asks, by a systemd unit |
AVB Wireless
| Profile | The 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 |
|---|---|
| Watching | Each 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 |
| Stations | Role, 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 points | Their stations, the listeners they cannot serve, and the frames a second they deliver |
| Class A | Admitted 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 |
| Network | Each station under its access point, its Wi-Fi hop dotted, in sync while its time is locked |
| Alarms | A station whose time is not locked, and listeners an access point cannot serve |
| Host entities | An 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 server | triib --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 |
|---|---|
| Access | triib 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 |
| Reading | What 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 |
| Changes | What 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 |
| Diagnosing | For 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 |
| Waiting | A 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
| Language | Rust |
|---|---|
| Interface | iced, with scramble-ui, the look it shares with prev |
| Translations | Fluent |
| AI agents | An MCP server through rmcp, relaying to the running triib over a private local socket (a named pipe on Windows) |
| Libraries | atdecc (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
| Settings | triib.toml, in ~/.config on Linux, %APPDATA%\triib on Windows and ~/Library/Application Support/triib on macOS |
|---|---|
| Entity models | Kept in triib's cache, so a device seen before shows in full at once |
| Presets | TOML 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 |
License and privacy
| License | MIT or Apache 2.0, at your option |
|---|---|
| Network | Only AVB frames, on the local interface you pick; triib never goes online |
| Outside control | For 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 agents | Only those you allow, through triib --mcp; no bundled model. What an agent reads from triib goes to the model it uses |
| Accounts and telemetry | None |
See the privacy note and the code signing policy.