-
Notifications
You must be signed in to change notification settings - Fork 163
Description
Problem or use case
Integrate Kilo Code as a supported agent, similar to Claude Code, Gemini CLI, and OpenCode (PR #257).
Kilo Code is a popular open-source AI coding agent - a superset of Roo Code and Cline with 14k+ stars. It has IDE extensions (VS Code, JetBrains) and a CLI.
Desired behavior
Add Kilo as a supported agent with full session checkpointing via hooks.
Proposed solution
Current blocker: Kilo does not currently expose session lifecycle hooks for external tool integration.
I have raised a feature request on Kilo's repo requesting this: Kilo-Org/kilocode#5827
For Kilo integration to work, they would need to expose events similar to OpenCode:
session.created- Session startsession.status(busy/idle) - Per-turn state changes
Once Kilo adds hook support, integration would follow the same pattern as OpenCode (PR #257):
- Plugin/hook installation via
entire enable --agent kilo - Session checkpointing on idle/stop events
- File change detection via git status or transcript parsing
Alternatives or workarounds
None currently - requires Kilo to expose lifecycle hooks first.
Related
- PR Add OpenCode and Codex CLI agent support #257 - OpenCode integration showing hook-based approach
- Issue Refactor Agent interface to allow simple(r) Agent integration contributions #281 - Agent interface refactoring
- Kilo feature request - Session lifecycle hooks
Notes
This is a future enhancement request, dependent on Kilo adding hook support. I understand the #281 refactor should complete first. Creating this issue to track interest and coordinate with Kilo's development.