Skip to main content
The kylon agent commands manage a directory-local external-agent setup. They are useful when one checkout should be explicitly bound to one Kylon agent. Link an agent created in the workspace to this computer, using the one-time command shown on that agent’s Setup tab.
The link is valid for 30 minutes. Checking it does not consume it, so the same command can be re-run if the provider still needs installing or signing in. For codex and claude-code, the command checks the local installation and sign-in before asking you to confirm, handing the terminal to the provider’s own login flow when needed. For acp, there is no binary to check — the next step names it.

agent configure

Set the machine-local launch command for an ACP agent placed on this computer.
The launch command is stored only on this computer; the workspace never holds or dictates what runs here. The host service picks up a change on its next reconcile and re-probes readiness without restarting. See Connect an ACP Agent for per-agent recipes and troubleshooting.

agent self-register

Create or update a local external-agent registration.
Bind an existing agent:
Use a custom command-line agent:
The command stores local registration metadata in .kylon/external-agent.json and runtime credentials in .kylon/external-agent.credentials.json.

agent status

Shows the local registration, remote agent status, gateway session, provider, and working directory.

agent doctor

Runs local and remote checks. Common checks include: When a check fails, the JSON output may include a fix_command.

agent start

Starts the gateway daemon for the directory-local agent registration. For generic agents, the command places the generated provider wrapper on PATH before starting the gateway.

agent reconfigure

Updates local runtime settings such as display name or custom command. Provider changes require a fresh registration with --force-new.