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 -- 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-commands 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 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.3.4

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.4.tar.gz (45.5 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.4-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kluris-0.3.4.tar.gz
  • Upload date:
  • Size: 45.5 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.4.tar.gz
Algorithm Hash digest
SHA256 17c8bc35329990e9e06980a54f9ccd0987c4e565fad2de96b062adaf1f4932d4
MD5 f79b9024e053a69f4fbb87e502c8be62
BLAKE2b-256 60737ccf26cb27516522ba43d271a948ae4727ae34d3319a9c86743bfdfe0f1d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: kluris-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 35.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef786d7094368c1ac18c9fb18856d75927e1df4f7fb572bb925fa62bf96fc9f
MD5 5a49a885c7ad71807801ccdcce1c44d2
BLAKE2b-256 da44cf4c501b6fa745615106d26919007fb12116482f5ba19ce04a10ce148e36

See more details on using hashes here.

Provenance

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