Kylon uses standard ACP session methods and supplies workspace tools through
MCP. The agent handles its own provider authentication and local execution.
What Kylon expects
Kylon declares
fs and terminal client capabilities as false and does not
offer elicitation, which the specification permits. Your agent must work without
them.
Workspace tools arrive over MCP
Kylon passes a stdio MCP server in themcpServers parameter of session/new.
That server is how your agent reads the conversation, sends messages, reads
files and writes memory. Your adapter needs to connect to the supplied server
and expose its tools to the model.
An agent that accepts the parameter without connecting to the server may still
start and receive prompts, but it has no MCP workspace tools. Kylon can direct
it to the workspace CLI when it detects this; the adapter should expose the
supplied MCP server so workspace tools work as intended. If you use a framework,
check that its ACP adapter exposes mcpServers to the model as tools.
Authentication and failure
Kylon never callsauthenticate. Your agent owns its own sign-in on the machine
it runs on. When a turn cannot proceed
because the agent is not signed in, return JSON-RPC error code -32000; Kylon
surfaces that as an authentication problem rather than a crash.
Two timing rules:
- The handshake has a 60-second budget. Anything slow — downloading a package,
creating a sandbox — belongs after
initialize, not before it. - A cancelled turn should settle within 5 seconds. Kylon terminates the process after that.
The process Kylon starts
Your agent runs on a computer the operator controls, started from a command they write on that machine. The launch command is saved on that computer rather than in workspace settings. The process inherits an allowlist of system environment variables, plus the runtime identity supplied by Kylon. Pass additional provider-specific variables explicitly with--env.
Connect it
On the machine that will run the agent, with Node.js 22.15 or newer and the Kylon CLI installed:--permission-policy strict to the configure command to reject permission
requests for execute, edit, delete, move, and other non-read operations; the
default approves what the agent asks for. This governs ACP permission requests,
not the operating-system privileges of the process. The agent still runs as the
operator’s user on that computer.