↓ Skip to main content

Agents

Documented version: v0.2.3

The Agents tab is a read-only overview of every agent lazyagents knows: whether it is installed here, which version, and what lazyagents can manage in it. Use it to check why an agent is missing from another tab, or where its skills live.

The Agents tab: the agents lazyagents knows, which are installed, where each reads its skills and how it was detected

What each agent supports (skill dirs, providers, hooks, limits, hook events) is generated from the code in the agent support reference. This page explains how to read the tab.

The table
#

One row per agent, installed ones first:

ColumnMeaning
agentname, in the agent’s color; ○ and dimmed when not installed
versionfirst line of <cli> --version
skillsskills enabled in the agent; — when the agent has no local skills dir
sessionssessions found on disk for that agent
hooks · provider · usage✓ when lazyagents can manage hooks, apply a provider profile, or read usage for that agent

The counter on the tab is the number of installed agents. On a narrow terminal (under 75 columns) the three capability columns move into the detail pane as a manages line. On a wide one the detail pane sits beside the table instead of below it.

The detail pane
#

Below the table, for the selected agent:

  • skills in: the dir where lazyagents creates skill symlinks for this agent.
  • reads too: other skill dirs the agent loads. A skill there shows in the agent even if lazyagents did not enable it.
  • detection: the binary path, or the config dir when the binary is not in PATH.
  • (shared) after a dir read by several agents (~/.agents/skills). lazyagents links a skill there only while it is enabled for every installed agent that reads it; see shared directories.

An agent that is not installed shows a hint to install its CLI and refresh detection with r.

How detection works
#

  • An agent counts as installed when its binary is in PATH or its config dir exists (for example ~/.claude or ~/.codex). With only the config dir, the detail says the binary is not in PATH: skills and sessions still work, but resuming a session needs the CLI.

  • The version comes from running <cli> --version once, in the background, when the TUI starts (each CLI has up to 6 seconds). The CLI runs it only for the commands that need it, such as doctor.

  • Claude Desktop is detected by its config dir only. Its skills and chats live in the claude.ai account, so there is nothing local to manage.

  • Hermes Agent enables skills in ~/.hermes/skills (%LOCALAPPDATA%\hermes\skills on Windows), or in the profile picked with hermes profile use, or in HERMES_HOME. It also reads the dirs its config.yaml lists under skills.create_dir and skills.external_dirs, resolved as Hermes does (~ and ${VAR} expanded, relative to the Hermes home); a dir that does not exist is left out. Listing ~/.agents/skills there makes Hermes one of the agents that share that dir.

  • Pi keeps everything in ~/.pi/agent, or in PI_CODING_AGENT_DIR when set. Other tools also ship a binary named pi, so without that dir the binary only counts when pi --version prints a bare version.

  • An agent whose files were moved with its own variable (CLAUDE_CONFIG_DIR, CODEX_HOME, XDG_DATA_HOME for OpenCode…) is found there too, as long as lazyagents runs with the same environment. The list is in the config overrides reference.

  • Crush counts as installed with its binary, ~/.config/crush or ~/.local/share/crush. It loads skills from ~/.config/crush/skills (where lazyagents enables them), ~/.config/agents/skills, ~/.claude/skills and ~/.agents/skills. With CRUSH_SKILLS_DIR set, Crush loads skills from that dir only, and lazyagents enables them there.

Detection is shared and cached across the TUI, provider/hook services and doctor. After installing a CLI in an existing PATH folder, press r in Agents or choose agents refresh in the palette. reload in Agents does the same; r inside the doctor report still reruns local diagnostics. Repeated refresh requests do not overlap, and the current list stays visible while probes run.

A completed refresh updates installed counts, versions, binary paths and skill destinations together. Skills/sessions rescan local files; previously visited Providers/Hooks reload state, and unvisited tabs read the new snapshot when opened. Usage updates local transcript aggregates and authentication metadata without querying limits; remote limits still require opening Usage or explicitly refreshing it. Hidden tabs receive the same broadcast. Selections follow stable agent IDs, skill folders, session agent/IDs and profile/hook names when still present. Late results from older detection/scan requests are ignored.

Failed version checks show ! and an explanation in the agent detail. When prior evidence exists, that agent keeps its last successful detection while healthy agents update. A later successful refresh clears the warning. Version probes have a six-second deadline with bounded output and child-process cleanup; raw error output is never shown. A removed executable is detected as missing or config-only according to the usual rules. The process keeps its launch environment: refresh cannot import changes made to PATH or config override variables in another shell. Relaunch lazyagents to inherit those changes. Refresh does not reload plugins or evaluate shell startup files.

From the CLI, lazyagents doctor prints the same detection in its first section (--json includes the version).

Doctor report
#

Press d in Agents or choose agents doctor in the command palette. Opening this report runs the shared doctor checks for configuration syntax, skills, links, providers and hooks. It reads current files without repairing them or changing activation. Nothing runs just because the Agents tab opens.

Each problem identifies its severity, affected resource, cause and next step. The first failing section opens automatically. Move between sections with ←/→, scroll long findings with ↑/↓ or pgup/pgdn, and press enter to request the related tab. If that tab is hidden, use the listed action or the CLI instead. Long paths and next steps remain scrollable in a 40×16 terminal.

Usage and plugins initially say not run. Press n to include them: usage may query an agent’s subscription endpoint, and plugins can execute their own code. Usage uses its normal cache and labels cached versus retrieved results; a successful cached check does not prove current remote availability. r always runs only local checks, even after an external run. Closing with esc cancels running checks; late results cannot replace a newer report. There are no automatic repairs, startup checks or background remote retries. Doctor reads the shared detection snapshot. Close it and use agents refresh to detect an installed or moved CLI; rerunning doctor alone does not probe CLIs again.

The CLI uses the same report: lazyagents doctor includes external checks as before, while lazyagents doctor --local matches the TUI’s initial scope. --json preserves ok, agents and each section’s title, report and problems. Additive fields include scope, cancelled, and section findings, external, skipped, next_step and optional tab. Each finding has severity, resource, explanation, next_step and optional tab. Exit 1 means a problem or cancellation; exit 0 covers only the checks that actually ran. Skipped external sections are never evidence of remote health. The current configuration is reread for syntax errors, with no raw parser input in that diagnostic. Provider findings also include value-free environment checks with optional code, variable, source and other_source fields. They compare supported native fields with this process, identify missing named credential references and explain precedence without printing compared values. See environment diagnostics for agent coverage and session/authentication limits, and the CLI reference.

Keys
#

↑/↓ selects an agent and shift+↑/↓ scrolls the detail. The full list is in the key reference.

Asking for a new agent
#

An agent is supported through an adapter in internal/agent, the only place that knows its paths and file formats. To ask for one, open an issue with the agent’s name, where it keeps skills, sessions and config, and links to its docs. To write the adapter yourself, see adding an agent.