# libtmux for Elixir > The Elixir library (libtmux). These pages include its guides, tested examples and API documentation. ## Concepts - [Concepts](https://libtmux.org/en/elixir/pr-173/concepts/): Understand captured queries, object identities, and operations. - [Read values, execute explicitly](https://libtmux.org/en/elixir/pr-173/concepts/mental-model/): Hold one captured graph for several decisions and run a command when you need another. - [Captured tmux state](https://libtmux.org/en/elixir/pr-173/concepts/observations/): Capture an immutable snapshot of an existing server and read it without further commands. ## Core - [tmux client library for Elixir](https://libtmux.org/en/elixir/pr-173/core/): tmux client library for Elixir. Control tmux, navigate sessions, windows, and panes, watch for changes via control mode ## Elixir API reference - [API glossary](https://libtmux.org/en/elixir/pr-173/reference/glossary/): Kinds, modifiers and package labels in the Elixir API reference. ## Examples - [Examples](https://libtmux.org/en/elixir/pr-173/examples/): Run complete programs with their documented setup and cleanup. - [Capture a pane and read it](https://libtmux.org/en/elixir/pr-173/examples/capture-and-read/): Capture a graph, select a pane and read it through one-shot and control commands. ## Guides - [Guides](https://libtmux.org/en/elixir/pr-173/guides/): Connect to tmux and work with its sessions, windows, and panes. - [Getting started](https://libtmux.org/en/elixir/pr-173/guides/overview/): Add the Hex package, check the Elixir, OTP and tmux requirements, and run an example. - [Attaching to tmux](https://libtmux.org/en/elixir/pr-173/guides/attaching-to-tmux/): Connect to an existing tmux server and find a session with Elixir. - [Filter captured values](https://libtmux.org/en/elixir/pr-173/guides/filtering/): Select observed values with portable keyword and operator filters. ## Linking and consuming our docs - [Linking and consuming our docs](https://libtmux.org/en/elixir/pr-173/meta/linking/): Find documentation exports for search engines, bots, LLMs and other documentation sites. - [Link to libtmux from Sphinx](https://libtmux.org/en/elixir/pr-173/meta/intersphinx/): Use Intersphinx inventories to reference libtmux APIs and documentation. - [Intersphinx examples](https://libtmux.org/en/elixir/pr-173/meta/intersphinx/examples/): Compare Sphinx and MyST references to APIs, tmux C declarations, hooks, format variables, CLI commands and schema fields. ## Meta - [AI policy](https://libtmux.org/en/elixir/pr-173/meta/ai-policy/): Use the libtmux packages with AI tools. When contributing, check what you submit and wait for a maintainer's invitation before preparing a pull request. - [Third-party notices](https://libtmux.org/en/elixir/pr-173/meta/third-party-notices/): Thanks to tmux's creator and contributors, with licences and attribution for the software behind libtmux.org. ## Topics - [Topics](https://libtmux.org/en/elixir/pr-173/topics/): Understand object ownership, state, and operation behavior. - [Execution ownership](https://libtmux.org/en/elixir/pr-173/topics/ownership/): Run an executable without a shell, with exit status kept apart from output. - [Command and field encoding](https://libtmux.org/en/elixir/pr-173/topics/encoding/): Render commands and decode fields without a shell or a raw newline. - [Observation and filter schema](https://libtmux.org/en/elixir/pr-173/topics/schema/): Fields, wire names, value categories and operators of each observed entity. ## Reference - [Elixir API reference](https://libtmux.org/en/elixir/pr-173/reference/): every public symbol, generated from the source. Hosted on libtmux.org. - [LibTmux.Action](https://libtmux.org/en/elixir/pr-173/reference/libtmux-action/): Shared results for explicit pane, window and session actions. - [LibTmux.Capabilities](https://libtmux.org/en/elixir/pr-173/reference/libtmux-capabilities/): Named tmux primitive requirements on an observed daemon. - [LibTmux.Capture](https://libtmux.org/en/elixir/pr-173/reference/libtmux-capture/): Builds a bounded one-shot observation of one existing Linux tmux server. - [LibTmux.Client](https://libtmux.org/en/elixir/pr-173/reference/libtmux-client/): An immutable attached-client observation, keyed by validated client name. - [LibTmux.Codec](https://libtmux.org/en/elixir/pr-173/reference/libtmux-codec/): Decodes bounded field responses and control-output bytes. - [LibTmux.Command](https://libtmux.org/en/elixir/pr-173/reference/libtmux-command/): A command value with separate argv and tmux-text renderers. - [LibTmux.Action.CompletionError](https://libtmux.org/en/elixir/pr-173/reference/libtmux-action-completionerror/): An action result did not meet an explicit completion requirement. - [LibTmux.Control](https://libtmux.org/en/elixir/pr-173/reference/libtmux-control/): A qualified control connection for scoped and managed execution. - [LibTmux.Deadline](https://libtmux.org/en/elixir/pr-173/reference/libtmux-deadline/): A node-local monotonic deadline shared by every stage of an operation. - [LibTmux.Error](https://libtmux.org/en/elixir/pr-173/reference/libtmux-error/): An inspectable failure with its phase and certainty about effects. - [LibTmux.Control.ExecutionError](https://libtmux.org/en/elixir/pr-173/reference/libtmux-control-executionerror/): A managed execution reported an error after admission. - [LibTmux.Filter](https://libtmux.org/en/elixir/pr-173/reference/libtmux-filter/): A validated portable predicate over one observed entity type. - [LibTmux.Format](https://libtmux.org/en/elixir/pr-173/reference/libtmux-format/): Constructs literal operands for tmux formats without evaluating their text. - [LibTmux.Hook](https://libtmux.org/en/elixir/pr-173/reference/libtmux-hook/): Sets and shows a built-in hook on a one-shot tmux server descriptor. - [LibTmux.Transport.Native](https://libtmux.org/en/elixir/pr-173/reference/libtmux-transport-native/): Finds the Linux I/O helper built with libtmux. - [LibTmux.Transport.OneShot](https://libtmux.org/en/elixir/pr-173/reference/libtmux-transport-oneshot/): Executes one explicitly selected executable with bounded captured output. - [LibTmux.Operation](https://libtmux.org/en/elixir/pr-173/reference/libtmux-operation/): A retained operation handle pinned to its original owner, tables and epoch. - [LibTmux.Option](https://libtmux.org/en/elixir/pr-173/reference/libtmux-option/): Sets and reads tmux options through a one-shot server descriptor. - [LibTmux.Pane](https://libtmux.org/en/elixir/pr-173/reference/libtmux-pane/): An immutable physical pane with explicit actions. It belongs to a window; text may be empty. - [LibTmux.Program](https://libtmux.org/en/elixir/pr-173/reference/libtmux-program/): Concept for running an owned application in a new tmux pane. - [LibTmux.Protocol](https://libtmux.org/en/elixir/pr-173/reference/libtmux-protocol/): Assembles bounded control-mode replies and lexical notifications from bytes. - [LibTmux.Ref](https://libtmux.org/en/elixir/pr-173/reference/libtmux-ref/): An exact observed target bound to one server instance. - [LibTmux.ReleaseMap](https://libtmux.org/en/elixir/pr-173/reference/libtmux-releasemap/): Looks up native tmux names and flags in the source of exact upstream releases. - [LibTmux.Control.Request](https://libtmux.org/en/elixir/pr-173/reference/libtmux-control-request/): Data for the qualified control lane's supported commands. - [LibTmux.Schema](https://libtmux.org/en/elixir/pr-173/reference/libtmux-schema/): Defines observed fields, wire names and graph relations. - [LibTmux.Control.ScopeFailure](https://libtmux.org/en/elixir/pr-173/reference/libtmux-control-scopefailure/): A scoped callback finished, but connection cleanup was not proved. - [LibTmux.Selection](https://libtmux.org/en/elixir/pr-173/reference/libtmux-selection/): An ordered, materialized Enumerable over one captured entity type. - [LibTmux.Server](https://libtmux.org/en/elixir/pr-173/reference/libtmux-server/): Describes a local tmux server for capturing state and running commands. - [LibTmux.Session](https://libtmux.org/en/elixir/pr-173/reference/libtmux-session/): An immutable session observation with explicit actions. Attachment retains tmux's client count. - [LibTmux.Settings](https://libtmux.org/en/elixir/pr-173/reference/libtmux-settings/): Lists and looks up built-in tmux options and hooks by release. - [LibTmux.Snapshot](https://libtmux.org/en/elixir/pr-173/reference/libtmux-snapshot/): An indexed immutable graph observed over a capture interval. - [LibTmux.Window](https://libtmux.org/en/elixir/pr-173/reference/libtmux-window/): An immutable physical window with explicit actions, independent of session membership and index. - [LibTmux.WindowLink](https://libtmux.org/en/elixir/pr-173/reference/libtmux-windowlink/): An observed session/index/window binding with an explicit unlink action. - [LibTmux.Wire](https://libtmux.org/en/elixir/pr-173/reference/libtmux-wire/): Bounded JSON decoding with duplicate keys preserved until validation. ## Optional - [Full documentation text](https://libtmux.org/en/elixir/pr-173/llms-full.txt): guides in a single fetch.