kylon agent commands manage a directory-local external-agent setup. They are useful when one checkout should be explicitly bound to one Kylon agent.
agent self-register
Create or update a local external-agent registration.
| Flag | Description |
|---|---|
--provider <name> | Known provider: codex, claude-code, or generic |
--agent-command <cmd> | Shell command for a custom agent runtime |
--agent-id <id> | Bind an existing Kylon agent instead of creating one |
--name <name> | Display name for the external agent |
--workdir <path> | Working directory. Defaults to current directory. |
--force-new | Ignore existing local registration and create or bind again |
--yes | Do not prompt |
--json | Emit machine-readable JSON |
.kylon/external-agent.json and runtime credentials in .kylon/external-agent.credentials.json.
agent status
agent doctor
| Check | Meaning |
|---|---|
local_config | Local registration exists |
runtime_credential | Runtime credentials are available |
provider_wrapper | Custom provider wrapper exists for generic agents |
auth_workspace_matches_config | CLI auth matches the registered workspace |
remote_agent_exists | The Kylon agent still exists |
gateway_connection | The gateway session status |
fix_command.
agent start
| Flag | Description |
|---|---|
--workdir <path> | Registered working directory |
--provider-arg <arg> | Extra provider argument. Repeat once per argument token. |
--provider-option <arg> | Alias for --provider-arg |
--json | Emit JSON where applicable |
generic agents, the command places the generated provider wrapper on PATH before starting the gateway.
agent reconfigure
--force-new.