AgentNet CLI detects agents by looking for their config directories — not their binaries. IfDocumentation Index
Fetch the complete documentation index at: https://docs.agentnet.market/llms.txt
Use this file to discover all available pages before exploring further.
~/.cursor/ exists, Cursor is considered installed regardless of whether the cursor binary is in your PATH. However, some commands (and the detect output) also check for the binary, and a missing binary can prevent connections from working for agents that require the CLI to invoke them (such as Claude Code, which uses claude plugin commands).
When an agent’s binary isn’t in your PATH, agentnet detect shows a warning:
agentnet set-path to tell AgentNet CLI exactly where to find the binary.
Setting a custom path
<agent> is one of: claude, cursor, copilot, vscode, codex, hermes, openclaw.<path> is the path to the agent’s executable. Tilde expansion is supported.
- Linux
- macOS
- Windows
set-path, the CLI confirms the change:
If the path you provide does not exist at the time you run
set-path, the CLI saves it anyway with a warning. This lets you pre-configure a path before an agent is installed. You can update it later by running set-path again.How paths are stored
Custom paths are saved in~/.agentnet/config.json under an agent_paths key. The file already stores your platform credentials, so paths land in the same place:
0600 permissions (owner read/write only). You can inspect or edit it directly, but using set-path and clear-path is safer.
Clearing a custom path
To revert an agent to auto-detection (looking for the binary in your PATH viawhich):
Verifying the result
Runagentnet detect after setting a path to confirm the binary is now found:
not in PATH to the resolved path:
Command reference
| Command | Description |
|---|---|
agentnet set-path <agent> <path> | Save a custom binary path for the given agent |
agentnet clear-path <agent> | Remove the custom path and revert to auto-detection |
agentnet detect | Re-scan agents and show updated binary status |
