Coding agentsBeta
Crew integrations: agent state and approval hooks
Each agent CLI that supports hooks or plugins can tell the agents engine when it starts working, finishes or waits for you. That is faster and more exact than reading the screen, so the board moves agents between Working, Done and Blocked as soon as it happens.
Install engine hooks
Engine hooks report straight to the agents engine, so they work for Crew. You install them from the terminal:
ed crew integrations lsed crew integrations install claude codexed crew integrations install --allls lists every agent the engine can hook into and its state: not installed, current with its version, outdated, or needing repair, and the file the hook lives in. install writes the hook or plugin each named agent needs. --all installs every agent that is installed but not hooked yet. Targets are the names ls prints, for example claude, codex or opencode.
After installing, start or resume the agent's session so it loads the hook.
Keep hooks current
ed crew integrations ls --outdated-onlyed crew integrations repairrepair reinstalls only hooks that are outdated or need repair. Hooks that are current or not installed stay as they are. Run it after updating an agent CLI or Edith.
Remove hooks
ed crew integrations uninstall claudeThis removes the hook or plugin Edith wrote and leaves the rest of the agent's settings alone.
On other machines
Every ed crew integrations command takes --machine and works on that machine's agents:
ed crew integrations ls --machine boxed crew integrations install --all --machine boxed crew integrations repair --machine boxOn a fresh machine, edith-agents up also offers the missing integrations while it sets up the engine.
How an agent's state is decided
With a hook, the agent reports its own state. Without one, the engine reads the agent's screen and applies detection rules. To see which rule decided an agent's state:
ed crew engine agent explain w1:p2Session activity settings
On the Crew page, open More and choose Agent connections…. The same pane is in Crew's settings: press the Settings gear at the top right of the Crew page. It has three parts.
Provider hooks lists Claude Code, Codex, OpenCode, Gemini CLI and Cursor Agent. For each you can turn on Observe session activity and, for agents that support it, Handle permission requests in Edith. Review hook setup shows the exact file change before Write hooks saves it, and Remove hooks takes them out again. Existing policies and unrelated hooks are kept, and Edith saves a private backup first.
Terminal discovery and attention has Discover agents in local and remote agent terminals, Inspect blocked agents and stalled progress, Check stalled progress after a number of minutes, and Mark quiet hooks after a number of minutes.
Pending permissions shows waiting requests with Allow once and Deny. A request waits up to two minutes, then follows the agent's normal approval behavior.
Approvals in Crew
How you approve depends on how the agent runs.
Terminal agents
A terminal agent that asks for permission moves to Blocked on the board. Open it and answer in its terminal. Messages from ed crew send skip a blocked agent on purpose, because extra input could answer its question.
Threads
A thread shows each approval or question as its own item, with the choices the agent offers: Approve, Always allow this session, Always allow, Decline, or Decline with feedback to tell the agent what to do instead. Threads waiting on you are listed under Needs you in the Threads sidebar.
From the terminal:
ed crew thread requestsed crew thread requests --all-machinesed crew thread respond rq_01 --decision accepted crew thread respond rq_02 --decision decline --feedback "do not touch the schema"Decisions are accept, accept_for_session, accept_always, decline and cancel. The thread's permission mode, from Supervised to Full access, decides how often it asks. See Threads.