Developers

Wiring the agent into your CI / CD pipeline

CI fails → agent grabs logs → finds root cause → drafts a PR. In GitHub Actions this is ~50 lines of YAML.

Kition Team·Jun 6, 2026·6 min read

Architecture

  • CI failure → webhook fires
  • Webhook starts Kition headless agent (CLI)
  • Agent reads logs, localizes file, writes patch
  • Branches, pushes, opens a PR
  • Saves a fix trace to Reports/ci-fixes/

Guardrails

  • Require human approval to merge
  • Hooks restrict which paths the agent can touch
  • Stop after 3 failed fix attempts and ping you

Ready when you are.

Kition is a local-first AI workspace. Markdown documents, structured tables, and an AI agent — running on your own machine, against the model provider you choose.