primeline-ai

Kairn — AI skill for Claude Code

AI community

Context-aware knowledge engine for AI assistants.

How to install Kairn

This entry records only its repository, not the path inside it, so there is no exact command to give. Open primeline-ai/kairn and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Kairn does

Context-aware knowledge engine for AI assistants.

Alternatives in AI

  • Context Engineering Intro — GitHub Repo stars Context engineering - the new way of AI coding assistants Context engineering guide 12.8k ★
  • OpenContext — A personal context store for AI agents and assistants—reuse your existing coding agent CLI (Codex/Claude/OpenC 1.1k ★
  • UnrealClaude — Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation 524 ★

README

Kairn

![kairn](https://raw.githubusercontent.com/primeline-ai/kairn/main/assets/hero.png)

Watch the 30-second tour on GitHub.

Context-aware knowledge engine for AI assistants.

**Status: pre-1.0.** In daily use since February 2026, with a test suite that runs on Linux, macOS and Windows (see [Development](https://github.com/primeline-ai/kairn/blob/v0.3.1/README.md#development)) and a published [LongMemEval-S benchmark](https://github.com/primeline-ai/kairn/blob/v0.3.1/README.md#benchmarks) (measured before 0.3.0). Interfaces may still change between releases until 1.0. Feedback and issues welcome.

Other tools give your AI a memory. **Kairn** gives it a knowledge graph with intelligent context routing. It knows what to load, when to load it, and how much - so your AI stays focused, not overwhelmed.

pip install kairn-ai
kairn init ~/brain
kairn serve ~/brain

Claude Code and Codex each take one line; `--init` creates `~/brain` and its database on first start, so this works even without `kairn init`:

claude mcp add kairn -- kairn serve --init ~/brain
codex mcp add kairn -- kairn serve --init ~/brain

Or install it as a one-click bundle, no Python setup required: download the `.mcpb` file from the [latest release](https://github.com/primeline-ai/kairn/releases/latest) and open it with a bundle-aware app such as Claude Desktop.

For other clients, see [Quick Start](https://github.com/primeline-ai/kairn/blob/v0.3.1/README.md#quick-start) below. New to Kairn? Jump to [First 5 Minutes](https://github.com/primeline-ai/kairn/blob/v0.3.1/README.md#first-5-minutes).

Install routes

Route Who it is for Command
PyPI anyone with Python, and every MCP client pip install kairn-ai
MCP Bundle (.mcpb) C