Skip to content

Add Kiro CLI as a supported agent #28

Open

Description

@SomeshTalligeriDEV

What

Add Kiro CLI as a supported agent, alongside claude-code, codex and opencode.

Why

Kiro CLI supports headless runs, which is what gitbot needs to drive an agent:

  • kiro-cli chat --no-interactive "<prompt>" runs a turn without the interactive UI
  • --output-format stream-json gives machine-readable output (engine v2/v3)
  • --list-models --format json lists available models
  • --resume-id <id> and --resume (per directory) continue a session
  • --agent <name> selects custom agents
  • KIRO_API_KEY supports auth in automation

Users who work with Kiro could then run gitbot bots without switching agents.

Proposed mapping

gitbot setting Kiro equivalent
Detect install command -v kiro-cli
Run a turn kiro-cli chat --no-interactive --output-format stream-json
Model CLI flag or agent config (confirmed during implementation), validated against --list-models --format json
auto-approve --trust-all-tools
plan --trust-tools=read,grep
ask-permissions Not supported (same as Codex)
Tool fence Marked as not enforced (same as Codex)
Multi-turn threads --resume per working directory

Proposed approach

Follow the existing Codex integration pattern:

Limitations

Contribution

I'd like to work on this. I'll wait for a maintainer to confirm the approach before opening a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions