Skip to main content

Create and manage git-backed AI brains for multi-project, multi-agent teams

Project description

Kluris

Create and manage git-backed AI brains for multi-project, multi-agent teams.

When your best engineer sleeps, Kluris doesn't. When they leave, Kluris stays.

What is Kluris?

Kluris is a CLI tool that creates brains -- standalone git repos of structured markdown that AI coding agents read, search, and update through globally installed slash commands.

Kluris = the tool. A brain = the git repo it creates.

Why not a wiki, Notion, or CLAUDE.md?

  • Wikis and Notion are for humans. Agents can't natively read them, search across them, or write back. Kluris brains are markdown in git -- AI-native.
  • CLAUDE.md is per-project and per-tool. A brain sits above all your projects and works with 8 different AI agents simultaneously.
  • Agent memory is session-scoped and ephemeral. A brain is persistent, version-controlled, and shared across the entire team.

One brain serves all your projects. Every AI agent on the team reads the same knowledge. When someone leaves, nothing is lost.

Quick start

pipx install kluris
kluris doctor        # Check prerequisites
kluris create        # Interactive wizard

Or skip the wizard:

kluris create my-brain --type product-group
kluris create my-brain --type personal --path ~/brains
kluris create my-brain --remote git@github.com:team/brain.git

Then open any project and run /kluris.learn -- the AI agent will analyze your codebase and populate the brain with architecture, conventions, APIs, and decisions.

Example workflow

# 1. Create a brain (wizard or one-liner)
kluris create

# 2. In your backend project, run the slash command:
#    /kluris.learn focus on architecture and API design

# 3. In your frontend project:
#    /kluris.learn focus on components and state management

# 4. Now any agent in any project can use the brain:
#    /kluris.think implement the new auth flow
#    (agent loads architecture decisions, API contracts, conventions)

# 5. After a session with useful decisions:
#    /kluris.remember

# 6. Validate and push
kluris dream         # Regenerate maps, validate links
kluris push          # Commit and push to git

# 7. Visualize the brain
kluris mri           # Generate brain-mri.html

What a brain looks like

acme-brain/
├── kluris.yml              # Local config (gitignored -- your agents, branch)
├── brain.md                # Root lobes directory (auto-generated)
├── glossary.md             # Domain terms (hand-edited)
├── README.md               # Usage guide
├── architecture/
│   ├── map.md              # Lobe index (auto-generated)
│   ├── auth-keycloak.md    # <- neuron
│   └── data-flow.md        # <- neuron
├── decisions/
│   ├── map.md
│   └── use-raw-sql.md      # <- neuron (decision template)
├── services/
│   ├── map.md
│   └── btb-backend/
│       ├── map.md
│       └── data-model.md
└── ...

Folders are lobes (knowledge regions). Files are neurons (knowledge units). Links between neurons are synapses. Auto-generated map.md files keep everything navigable.

Brain types (scaffolding only)

Types determine the initial folder structure. After creation, every brain works the same -- all templates and commands are available regardless of type.

Type Lobes Use case
product-group (default) architecture, decisions, product, standards, services, infrastructure, cortex, wisdom Shared team knowledge
personal projects, tasks, notes Individual developer
product prd, features, ux, analytics, competitors, decisions Product management
research literature, experiments, findings, datasets, tools, questions Research projects
blank (empty) Build from scratch

How it works

  1. kluris create scaffolds a brain (interactive wizard or flags)
  2. kluris install generates slash commands for 8 AI agents
  3. Agents use /kluris.learn to scan projects and populate the brain
  4. Team members use /kluris.think <task> to load brain context before working
  5. kluris dream validates links, regenerates maps and neuron index
  6. kluris mri generates an interactive HTML visualization

Slash commands (used inside AI agents)

All slash commands accept free text. Examples:

  • /kluris.learn focus on authentication and API design
  • /kluris.think implement the new auth flow
  • /kluris.remember the decision about using raw SQL instead of ORM
Command What it does
/kluris <anything> Main command. Read, write, or search the brain. Natural language.
/kluris.think <task> Load brain knowledge, then work on the task as the team's expert.
/kluris.recall <topic> Search the brain and summarize what it knows (read-only).
/kluris.learn [focus] Scan a project or learn about a topic and store it in the brain.
/kluris.remember [topic] Extract and store knowledge -- from the session or a specific topic.
/kluris.push [msg] Commit and push brain changes to git.
/kluris.dream [focus] AI-powered brain analysis. Run kluris dream CLI for mechanical fixes.
/kluris.mri Generate an interactive brain visualization (runs CLI).

think vs recall: /kluris.think reads the brain then works on your task as an expert. /kluris.recall just searches and reports what the brain knows -- it doesn't do any work.

CLI commands

Command What it does
kluris create Create a new brain (interactive wizard or kluris create <name> --type product-group)
kluris clone Clone a brain from git (interactive or kluris clone <url> --branch develop)
kluris list List all registered brains
kluris status Show brain tree, recent changes, neuron counts
kluris recall <query> Search brain and show results
kluris dream Regenerate maps and neuron index, validate links
kluris push Commit and push brain changes to git
kluris mri Generate interactive HTML brain visualization
kluris templates List available neuron templates
kluris install-commands Install slash commands into AI agent directories
kluris uninstall-commands Remove all kluris commands from agent directories
kluris remove <name> Unregister a brain (keeps files)
kluris doctor Check prerequisites (git, Python, config dir)
kluris help Show all commands

All commands support --json for machine-readable output.

Neuron templates

Available in every brain. Use kluris templates to see them.

</code></pre>
<table>
<thead>
<tr>
<th>Template</th>
<th>Sections</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>decision</code></td>
<td>Context, Decision, Rationale, Alternatives considered, Consequences</td>
</tr>
<tr>
<td><code>incident</code></td>
<td>Summary, Timeline, Root cause, Impact, Resolution, Lessons learned</td>
</tr>
<tr>
<td><code>runbook</code></td>
<td>Purpose, Prerequisites, Steps, Rollback, Contacts</td>
</tr>
</tbody>
</table>
<h2>Local config (kluris.yml)</h2>
<p>Each brain has a <code>kluris.yml</code> that is <strong>gitignored</strong> -- it's your local config,
not shared. Each team member can have different settings.</p>
<pre lang="yaml"><code>name: my-brain
description: my-brain knowledge base
git:
  default_branch: main
  commit_prefix: "brain:"
agents:
  commands_for: [claude, cursor, windsurf, copilot, codex, kilocode, gemini, junie]

Brain vocabulary

Term Meaning
Brain Git repo of structured markdown
Lobe Folder / knowledge region
Neuron Single knowledge file
Synapse Link between neurons (bidirectional)
Map map.md -- auto-generated lobe index
MRI Interactive brain visualization
Dream Brain maintenance -- regenerate, validate, repair

Supported agents

Claude Code, Cursor, Windsurf, GitHub Copilot, Codex, Gemini CLI, Kilo Code, Junie

License

MIT

Project details


Release history Release notifications | RSS feed

This version

0.3.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kluris-0.3.3.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kluris-0.3.3-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file kluris-0.3.3.tar.gz.

File metadata

  • Download URL: kluris-0.3.3.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kluris-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0cdd186aeac868c55db122634247b0fe779f9fab1679da4ee0a61a2ea1d0e059
MD5 4e2118fadee584dcac66aa4759ba16e5
BLAKE2b-256 3536582fc3de7286bf3ad8f1cda65ec623d9703cab5232001d861c927b15eb74

See more details on using hashes here.

Provenance

The following attestation bundles were made for kluris-0.3.3.tar.gz:

Publisher: publish.yml on ngvoicu/kluris-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kluris-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: kluris-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kluris-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0291d16b4dc62ea46967256883efb2374b84ec3c2f0ee54688280acd0fa204ee
MD5 9359e44b9829b08071ea5b529c845a7c
BLAKE2b-256 998376fd233d5556f3bb3ab8abf8386fa5a6415efc40a1e1290d43434edd89f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for kluris-0.3.3-py3-none-any.whl:

Publisher: publish.yml on ngvoicu/kluris-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page