# \[Plugin\] KanAI: AI assistant & project Q&A (local-first, self-hosted)

**URL:** <https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669>\
**Category:** Plugins\
**Created:** [July 2, 2026, 10:32am UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669 "2026-07-02T10:32:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kane](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/kane/32/2209_2.png) [@Kane](https://kanboard.discourse.group/u/Kane)\
**Post date:** [July 2, 2026, 10:32am UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669/1 "2026-07-02T10:32:08Z")

</div>

# KanAI: an AI assistant for your Kanboard, that runs on your own machine

Hi everyone

I’d like to share a plugin I’ve been building as a hobby-project: **KanAI** connects Kanboard to an LLM so you can "_chat about a project"_ and let an "_AI-a_ssistant _help you maintain the board"_, while keeping your data on your own server.

SIDE NOTE: I’m still testing it myself with different LLM’s, smaller models work faster, but depending on the tasks, bigger models give better quality suggestions. I’ve tested 7B, 12B, 14B and 16B LLM’s, and want to try 27B+ at a later stage later.

It’s **local-first** : the default provider is your own OpenAI-compatible server (Ollama, LM Studio, vLLM, …), so by default **no project data ever leaves your machine**. External providers (OpenAI, Anthropic Claude) are optional and off until an admin explicitly enables them.

**Repo:** [GitHub - k1bot2026/kanboard-plugin-kanai: AI assistant & project Q&A (RAG) for Kanboard — local LLM first, optional external providers · GitHub](https://github.com/k1bot2026/kanboard-plugin-kanai) · **License:** MIT

 ![KanAI assistant chat](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/9/917b0e43b4339fc7919279edd194a1b7fda32e24.png)

## What it does

- **Shared chat per project** — a KanAI tab next to Overview / Board / List. Multiple conversations (create, rename, delete), shared with every project member so a colleague can pick up where you left off. Each message shows the sender’s avatar; answers render as Markdown and turn task references like `#42` into clickable links.
- **Ask anything (RAG)** — questions are answered from the project’s own tasks, descriptions, comments and subtasks.
- **Assistant with human approval** — ask it to tidy up and it _proposes_ actions (create / update / close / move / assign tasks, tags, due dates, comments, subtasks, task links). Nothing is applied until you tick the proposals you want; they’re then executed through Kanboard’s own models as _your_ user, so permissions and activity streams work normally.
- **Quick actions** — one-click presets: project summary, what’s next, board health, stand-up notes, cleanup suggestions, risks & blockers, workload, organize, enrich, help.
- **Optional daily digest** — a `kanai:digest` console command (for cron) posts a status/cleanup/risks digest with proposals per opted-in project.

## Privacy & safety

I care about self-hosting, because project data is very sensitive and confidential. So this was the priority:

- **Local by default** — nothing leaves your server unless an admin turns on an external provider.
- **Admin-controlled policy** — only the _application_ administrator decides the external-AI policy (disabled / per-project opt-in / forced-on). Project admins **cannot** enable external AI the app admin has locked down; it’s enforced server-side.
- **Human-approval gate** — no model output ever changes the board on its own; project content is treated as untrusted input (prompt-injection framing).
- **API keys encrypted at rest** (AES-256-GCM), masked in the UI, never sent to the browser.
- **Rate limiting** per user, CSRF-validated actions, and Kanboard’s normal ACLs (members chat, managers configure, admins manage providers).

## Install

Copy or symlink the repo into your Kanboard `plugins/` directory as `KanAI`:

```auto
ln -s /path/to/KanAI <kanboard>/plugins/KanAI

```

Then enable it per project under **Project settings → KanAI Settings** , and point it at your LLM under **Settings → KanAI** (there’s a “Test connection” button that also discovers your local models).

**Requirements:** Kanboard ≥ 1.2.46, PHP ≥ 7.4 with cURL and OpenSSL, and an LLM endpoint (e.g. Ollama). A ~7–12B model answers in seconds on modest hardware; the repo includes a [model guide](https://github.com/k1bot2026/kanboard-plugin-kanai/blob/main/docs/MODEL-GUIDE.md) with measured latency/quality from 7B to predictions up to 80B.

## Feedback welcome

It’s fully open-source (MIT) and I’d love feedback, bug reports, and ideas. Especially from people running it against different local models or larger boards. Issues and PRs are open on GitHub.

Thanks for taking a look!

Kind regards,  
K1.

---

<div class="post-metadata">

**Author:** ![Kane](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/kane/32/2209_2.png) [@Kane](https://kanboard.discourse.group/u/Kane)\
**Post date:** [July 2, 2026, 10:35am UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669/2 "2026-07-02T10:35:12Z")

</div>

### **Assistant with human approval**

 ![Proposals with human approval](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/5/5bfc53a42da7fc137311e8b9cd098eecf98ba272.png)

##

---

<div class="post-metadata">

**Author:** ![Kane](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/kane/32/2209_2.png) [@Kane](https://kanboard.discourse.group/u/Kane)\
**Post date:** [July 2, 2026, 10:36am UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669/3 "2026-07-02T10:36:11Z")

</div>

## **Configure LLM Settings/connection**

 ![Admin settings with connection test](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/b/b8109d92b7bba0c305b82341d4860d1d62870e99.png)

---

<div class="post-metadata">

**Author:** ![razorazo](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@razorazo](https://kanboard.discourse.group/u/razorazo)\
**Post date:** [September 15, 2026, 10:48pm UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669/4 "2026-09-15T22:48:00Z")

</div>

I was trying to run this today. I noted that the setting for using local or using external AI was not working.

Also when I was working to set up a path to my php folder for the background worker I ran into issues given my server php folder was inaccessible

---

<div class="post-metadata">

**Author:** ![razorazo](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@razorazo](https://kanboard.discourse.group/u/razorazo)\
**Post date:** [September 21, 2026, 12:08pm UTC](https://kanboard.discourse.group/t/plugin-kanai-ai-assistant-project-q-a-local-first-self-hosted/3669/5 "2026-09-21T12:08:59Z")

</div>

I was able to get this working. Connected to open ai. Looking forward to additional developments!
