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 team
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 index + neuron table (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
team (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.neuron <topic> Create a new knowledge file (supports --template).
/kluris.lobe <name> Create a new knowledge region (folder).
/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 team)
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 neuron <file> Create a neuron (--lobe, --template decision)
kluris lobe <name> Create a lobe (--parent for nesting)
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.

kluris neuron auth-migration.md --lobe decisions --template decision
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.2.9

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.2.9.tar.gz (41.9 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.2.9-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kluris-0.2.9.tar.gz
Algorithm Hash digest
SHA256 f4cd63166942efcc9b11417323ae77850b0a5169cf1a1b0f91e5d45059f59b4a
MD5 6853b85bc8004b6736b28789f759eae6
BLAKE2b-256 532dfe2293385cd0c685ae442fe9e72a4bed7a5b351ce79bd84bf5dedb47040f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: kluris-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 35.6 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.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a56366988d4977393ebc0ec5a87b98369175bec18644f326cde1172b3babb20c
MD5 91a457c987baa2f75b7c43ac8c0daed1
BLAKE2b-256 5ccffec7b3693ae98b948d3e61fac90308e099a175ed9292dcfe4c01e31c6fb6

See more details on using hashes here.

Provenance

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