Zellij
$ zellij Community Med RiskZellij is a Rust terminal workspace and multiplexer featuring discoverable keybindings, KDL declarative layouts, floating panes, and WebAssembly plugins. Its CLI supports non-interactive session listing (list-sessions), KDL layout dumping (action dump-layout), and scripting actions against named sessions (--session).
brew install zellij Session inspection and zellij action automation talk directly to local Zellij sockets with zero MCP overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides list-sessions --no-formatting, attach --create-background, and zellij action ... automation, though output is plain text/KDL with no --json flag.
- Supports
--create-backgrounddetached sessions andactionsubcommands - Lacks
--jsonoutput onlist-sessionsandactionqueries
Inspection commands are read-only, while action write-chars, close-pane, and kill-session can alter live user workspaces.
- Requires explicit
--sessiontargeting to avoid hitting unintended sessions
Single Rust binary available via Homebrew, cargo install --locked zellij, and GitHub releases across macOS, Linux, and Windows.
- Cross-platform binary with zero runtime dependencies
Declarative KDL layouts and dump-screen/dump-layout actions enable reproducible multi-pane dev workspaces.
- KDL layouts and WebAssembly plugin extensibility
Very active MIT-licensed Rust project (zellij-org/zellij) with frequent feature releases.
- Strong upstream velocity and active community
Structured documentation at zellij.dev/documentation/ covering CLI actions, KDL layouts, and plugins.
- Dedicated CLI action reference on zellij.dev
Security, Auth & Guardrails
None required; uses local session sockets and ~/.config/zellij/config.kdl.
100% free, offline, and open-source (MIT).
# Zellij Agent Rules - NEVER run bare `zellij` or `zellij attach` without `--create-background` in agent shells—it opens a full-screen TUI. - Always pass `--no-formatting` to `list-sessions` and target explicit `--session <name>` on `zellij action` calls.
Agent-Ready Command Recipes
Safe Read-Only Queries
zellij list-sessions --short --no-formatting
Prints active session names cleanly via --short and --no-formatting without entering a TUI.
zellij --session dev action dump-layout
Outputs the KDL layout tree for session dev read-only.
Controlled Writes & Previews
zellij attach --create-background dev
Spawns a detached background session dev via --create-background without attaching a TTY.
Strengths for Agents
- + Built-in
attach --create-background,list-sessions --no-formatting, andzellij actionremote control. - + Declarative KDL layouts simplify spinning up reproducible multi-pane environments.
Caveats & Pitfalls
- ! No
--jsonoutput; status and layouts emit plain text or KDL. - ! Running bare
zellijwithout--create-backgroundoractionhangs in an interactive TUI.