Introduction
Kontrua Documentation
Kontrua keeps your repository's context layer current for AI coding agents. It connects to your GitHub or GitLab repositories and, on PR approval, CI trigger, or schedule, regenerates the context artifacts agents rely on - AGENTS.md, a codemap, observed conventions, and optional machine-readable architecture facts.
All updates are delivered as pull requests - never silent direct pushes - so your team reviews and approves every change before it merges.
Human-readable doc views - README, API reference, architecture doc, and changelog - remain fully supported as a secondary output, rendered from the same understanding of your code.
You can also run Kontrua locally via the CLI with your own API key - no account needed.
Ready to keep your repo's context current?
Connect your first repository and Kontrua opens a reviewed PR with AGENTS.md, a codemap, and your conventions.