Home / How it works
AI Council analyzes your repository and tickets, stores team decisions and rules tied to the code, and gives the agent what it needs for the current task. The knowledge base grows as your team works and keeps track of its own freshness.
A walkthrough on the open-source Keycloak project: from a question about a real ticket to a branch review and an answer for an analyst.
The code graph is built by static analysis, with no model involved. Vector search finds what is close in meaning. A separate layer stores what you can't infer from code: decisions, reasons, rules. The agent gets evidence, meaning code fragments and rules in full, not a summary.

A rule in AI Council is a worked case: what happened, how it was noticed, and what to do now. A decision record points to the modules and functions it applies to.

Agents don't always call MCP tools. So the main channel is agent hooks in Claude Code and Codex: knowledge and rules arrive on events, without a request.


A task is a git branch. Knowledge from one task doesn't reach another until merge. After merge, it moves to the target branch. Rules are shared across the whole project: only knowledge lives on branches.

An entry goes to review when the code under it moves, the entry itself changes, a similar entry appears, or a branch is merged. A read-only reviewer model adds a label with a verbatim quote from the source: outdated, diverges from code, superseded, disputed. The entry text stays as it was. A human sees the labels in the log and can undo any of them.



AI Council connects to Claude Code, Codex and other MCP-capable agents. You don't need to change your IDE, agent or tracker. The model side runs through Claude Code CLI, so you can plug in another model there, including an open-source one on your own servers.
| Area | Supported |
|---|---|
| AI agents | Claude Code, Codex and any MCP-capable agent |
| Models | Through Claude Code CLI, including open-source models on your servers |
| Languages | Python, TypeScript and JavaScript, Java, Kotlin, C#, C, C++, PHP |
| Git | GitLab and GitHub, including merge requests |
| Trackers | GitHub Issues, Redmine |
| Deployment | Cloud or your own server, including air-gapped environments |
Connect your repository and see AI Council work on your own code, not on a sample project.