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

By default, kluris create <name> makes a local git repo with no remote. Add --remote <url> to connect one, or --no-git to skip git entirely.

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 <focus> -- the AI agent will analyze that part of the codebase, show you a plan, and ask before writing knowledge into the brain.

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. You can add or remove lobes freely after creation.

product-group (default)

For a group of projects/services that share knowledge. Example: a platform with 3 backends, a frontend, and shared infrastructure.

Lobe What goes in it
architecture/ System design, technical patterns, data flow, tech stack choices
decisions/ ADRs and key decisions across all domains (tech, product, business)
product/ PRDs, roadmap, features, user research
standards/ Coding standards, naming conventions, review checklists
services/ Per-service sub-folders -- each service gets its own map.md, APIs, data models
infrastructure/ Hosting, CI/CD, Docker, networking, deployment, environments
cortex/ Runbooks, playbooks, dev workflows, onboarding, migration plans
wisdom/ Domain knowledge, learnings, things figured out along the way

The services/ lobe nests deeper -- one sub-folder per service:

services/
├── map.md
├── btb-backend/
│   ├── map.md
│   ├── auth-flow.md
│   └── endpoints/
│       ├── map.md
│       └── post-auth-login.md
├── btb-frontend/
│   ├── map.md
│   └── state-management.md
└── btb-summon/
    └── map.md

personal

For an individual developer's knowledge -- projects, tasks, and notes.

Lobe What goes in it
projects/ Sub-folder per project: branches, status, TODOs
tasks/ Current priorities, blockers, in-progress work
notes/ Daily notes, ideas, learnings

product

For product management -- requirements, features, and user research.

Lobe What goes in it
prd/ Requirements, user stories, acceptance criteria
features/ Sub-folder per feature: specs, status, feedback
ux/ User research, personas, journey maps, wireframes
analytics/ Metrics, KPIs, experiment results
competitors/ Competitive analysis, market positioning
decisions/ Product decisions and rationale

research

For research projects -- literature, experiments, and findings.

Lobe What goes in it
literature/ Papers, articles, summaries, key findings
experiments/ Hypotheses, methodology, results
findings/ Synthesized insights, conclusions
datasets/ Data sources, schemas, access notes
tools/ Research tools, scripts, environments
questions/ Open questions, hypotheses to test

blank

Empty -- build your own structure from scratch.

How it works

  1. kluris create scaffolds a brain (interactive wizard or flags)
  2. kluris install-commands generates slash commands for 8 AI agents
  3. Use /kluris.learn <focus> to document specific aspects of each project
  4. Use /kluris.think <task> to load brain context before working
  5. kluris dream regenerates maps and validates links
  6. kluris mri generates an interactive HTML visualization

Slash commands (used inside AI agents)

All slash commands accept free text:

/kluris.learn API endpoints
/kluris.learn database schema
/kluris.remember we chose raw SQL over JPA for performance
/kluris.think implement the new auth flow
/kluris.recall what do we know about deployment
Command What it does
/kluris <anything> Main command. Read, write, or search the brain.
/kluris.think <task> Load brain knowledge, work on the task as the team's expert.
/kluris.recall <topic> Search the brain and report what it knows (read-only).
/kluris.learn <focus> Learn a specific aspect of the project (APIs, schema, auth...). Asks before writing.
/kluris.remember <what> Store a specific piece of knowledge. Asks before writing.
/kluris.push [msg] Commit and push brain changes to git.
/kluris.dream [focus] AI brain analysis. Run kluris dream CLI for mechanical fixes.
/kluris.mri Generate interactive brain visualization (runs CLI).

learn vs remember: /kluris.learn analyzes project code and extracts knowledge. /kluris.remember stores something you tell it directly. Both ask before writing.

think vs recall: /kluris.think reads the brain then works on your task. /kluris.recall just searches and reports -- 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 use <name> Set the default brain
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.

Template Sections
decision Context, Decision, Rationale, Alternatives considered, Consequences
incident Summary, Timeline, Root cause, Impact, Resolution, Lessons learned
runbook Purpose, Prerequisites, Steps, Rollback, Contacts

Local config (kluris.yml)

Each brain has a kluris.yml that is gitignored -- it's your local config, not shared. Each team member can have different settings.

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.4.2

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.4.2.tar.gz (48.0 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.4.2-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kluris-0.4.2.tar.gz
Algorithm Hash digest
SHA256 7fa5d35a033b50e9797424d21746ab5f2b1fd159ffd32974cc8514a30aa8c74f
MD5 56a544f30c4ab8011dd6f0a92e68042c
BLAKE2b-256 7a04409d470b36311145558d15eb6de0e4e237a3c40aa788933134d6799801a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for kluris-0.4.2.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.4.2-py3-none-any.whl.

File metadata

  • Download URL: kluris-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdbc8818ecf9cd911f9d8222a37ba2bfe33e3e0863015f782e8ab17ed206c56
MD5 700a118f16a4ea752bd247cf5a60023c
BLAKE2b-256 77a4326d475f8454fc7b295c575ba0577632c4b95c235583a0d7dcb4bb3584af

See more details on using hashes here.

Provenance

The following attestation bundles were made for kluris-0.4.2-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