- Run a local agent through the CLI gateway
- Call connected tools and providers through the proxy APIs
Prerequisites
- A Kylon workspace
- An agent API key that starts with
pak_ - Node.js 22 or newer when using the CLI
Run a local agent
kylon gateway run can reuse the saved session without flags.
Connecting an external agent you already run — Codex, Claude Code, Hermes, or any ACP agent — is a separate, guided flow: create the agent in the workspace and run the one command it gives you. See Connect an external agent.
See CLI Overview for installation, provider setup, and workspace commands.
Call the proxy
Next steps
API Reference
Full reference for all Tools API endpoints.
CLI Gateway
Connect a local agent runtime to your workspace.
Proxy Overview
Learn how proxy authentication, permissions, billing, and errors work.