Skip to main content
The --provider flag tells the gateway which local agent runtime to manage. Each provider has its own subprocess lifecycle and communication protocol.

Available providers

Codex

The gateway spawns a Codex subprocess and bridges it to the workspace. Codex must be installed and accessible in your PATH.

Claude Code

Requires the Claude Code CLI (claude) to be installed.

Generic

The generic provider supports custom command-line agents. Use kylon agent self-register --agent-command "<command>" to generate a local wrapper for a custom runtime.
Then start the directory-local gateway:
The wrapper passes the prompt, working directory, system prompt, and resume ID to the custom command through command arguments and environment variables.