Composable AI agent platform — personas, memory, workflows, and quality automation for any project.
Project description
The governed operating system for AI agents in your IDE — verify, don't trust.
English — version française (complète)
Quick Start • Governed Standard • Architecture • Features • Full guide • Changelog
Why Grimoire Kit?
AI coding assistants run on trust: you hope the agent kept its guardrails, remembered the context, and produced evidence for what it claims. Grimoire Kit replaces that hope with verifiable governance:
- A governed agentic standard — 36 declarative patterns (security, memory, context,
observability, quality…) verified fail-closed by
grimoire standard verify/audit/score/gate check. If a required proof is missing, the gate fails. - Agent teams with personas and semantic memory — specialized agents, persistent memory across sessions, delivery contracts, quality automation.
- One config, every assistant —
grimoire initgenerates portable entrypoints (CLAUDE.md,AGENTS.md,GEMINI.md,.cursorrules) plus a.mcp.json, so the same project works with Copilot, Claude Code, Codex, Gemini CLI and Cursor.
Quick Start
# Install (pipx recommended)
pipx install grimoire-kit
# New project
grimoire init my-project --archetype web-app
# Existing project
cd your-project/
grimoire init . --name "My Project"
# Health check
grimoire doctor
# Local multi-project dashboard (background + browser)
grimoire cockpit
Multi-assistant —
grimoire initwrites portable assistant entrypoints pointing to a single canonical instruction file, and registers the Grimoire MCP server in.mcp.json(OS-neutral, viagrimoire-mcp). No per-assistant duplication.
The governed agentic standard
Declare what your project needs; Grimoire resolves a maturity profile
(starter → controlled → orchestrated → governed → production) and activates
governed patterns — 36 in the catalog. Each pattern scaffolds a declarative
artifact (_grimoire/standard/*.yaml) and a fail-closed check:
grimoire standard needs # needs grouped by tier, with footprint
grimoire standard plan --needs solo-prototyping # preview without writing anything
grimoire standard init . --needs solo-prototyping # minimal recommended start
grimoire standard init . --interactive # guided setup
grimoire standard verify # artifacts present + conform to the profile
grimoire standard audit # compliance report + remediation actions
grimoire standard score # multi-dimensional compliance score
grimoire standard gate check # CI gate: fails when required evidence is missing
Example controls: tool blast-radius limits, controller/agent privilege separation, prompt-injection firewall, decision council, memory integrity, LLM cost registry + reliability SLO, guardrail contracts (input/output/tool/model), visual evidence, workspace isolation, per-environment policies.
Reference: governed controls (36 patterns) · standard integration · install by needs
Architecture
Three layers, one wheel (pip install grimoire-kit):
| Layer | What it provides |
|---|---|
SDK Python (src/grimoire/) |
grimoire CLI (Typer), governed standard engine, memory manager with pluggable backends, MCP server, archetype registry |
Shell framework (framework/) |
108 standalone Python tools (agent lifecycle, quality, orchestration), lifecycle hooks, prompt templates |
Archetypes (archetypes/) |
Pre-configured agent packs: web-app, infra-ops, platform-engineering, creative-studio, fix-loop, minimal… |
Details in ARCHITECTURE.md.
Features
| Feature | Description |
|---|---|
| Team of Teams | Vision / Build / Ops agent teams with delivery contracts between them |
| Semantic memory | Qdrant vector search with JSON fallback; contradiction detection, consolidation, failure museum |
| Completion contract | cc-verify.sh detects the stack and verifies build + tests + lint before anything is called "done" |
| Local cockpit | Packaged local dashboard for all your Grimoire projects: portfolio, cost/trace observability, governed memory management (127.0.0.1 only) |
| Boomerang orchestration | The orchestrator decomposes, delegates to sub-agents in parallel, aggregates results |
| MCP server | 12 tools exposed to any MCP client — including the governed standard itself |
Experimental R&D features (session branching, agent darwinism, stigmergy, dream mode…) are documented separately in docs/rnd.md — functional and tested, but exploratory surface.
CLI, SDK and MCP
grimoire init | doctor | status | up | validate # project lifecycle
grimoire add <agent> | remove <agent> | registry # agents & archetypes
grimoire standard … # governed standard (see above)
grimoire cockpit … # local dashboard daemon
grimoire memory … # governed memory operations
from pathlib import Path
from grimoire.tools import PreflightCheck
report = PreflightCheck(Path(".")).run()
print(report.status) # GO / GO-WITH-WARNINGS / NO-GO
MCP server (grimoire-mcp, stdio) exposes 12 tools: project_context, status,
agent_list, config, harmony_check, memory_store, memory_search, add_agent,
standard_verify, standard_audit, standard_score, standard_gate — agents can
query and enforce the governed standard directly.
Quality
- 5 990+ tests (pytest), coverage gate ≥ 70 % (Codecov)
- mypy strict on the SDK, ruff lint + format
- CI matrix: Ubuntu / Windows / macOS × Python 3.12 / 3.13, CodeQL, dependency audit with governed, time-boxed waivers
- Releases: SBOM (CycloneDX), smoke tests, PyPI trusted publishing (OIDC)
Documentation
Getting started · Concepts · SDK guide · CLI reference · MCP integration · FAQ — full docs (French) on the documentation site.
Contributing & License
Contributions welcome — see CONTRIBUTING.md. MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grimoire_kit-3.18.0.tar.gz.
File metadata
- Download URL: grimoire_kit-3.18.0.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b3cdf563d7506e49b19fe48db06fbb8e7bd3cf022830d34197f1322b5a2e358
|
|
| MD5 |
35d324a03fdb9d36b9730f6f17dd5436
|
|
| BLAKE2b-256 |
150122396896a312ac025a16b9b3a409bad1daa5c5ef95e293e524054bb0c821
|
Provenance
The following attestation bundles were made for grimoire_kit-3.18.0.tar.gz:
Publisher:
publish.yml on Guilhem-Bonnet/Grimoire-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grimoire_kit-3.18.0.tar.gz -
Subject digest:
6b3cdf563d7506e49b19fe48db06fbb8e7bd3cf022830d34197f1322b5a2e358 - Sigstore transparency entry: 2044008716
- Sigstore integration time:
-
Permalink:
Guilhem-Bonnet/Grimoire-kit@1e4e1b0526c694720728fa0d08658d2200ffad4d -
Branch / Tag:
refs/tags/v3.18.0 - Owner: https://github.com/Guilhem-Bonnet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1e4e1b0526c694720728fa0d08658d2200ffad4d -
Trigger Event:
push
-
Statement type:
File details
Details for the file grimoire_kit-3.18.0-py3-none-any.whl.
File metadata
- Download URL: grimoire_kit-3.18.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
233b47929d526edd108064d3c9e4b6f0da2efa989cce03be2b056a06c74dc864
|
|
| MD5 |
04a9c0980511e1cea43aa74f6a23cf6e
|
|
| BLAKE2b-256 |
5e3e2d4bf8f044dfc358294275ce98728b4f13f99db5522dc3ee2782bdc9a609
|
Provenance
The following attestation bundles were made for grimoire_kit-3.18.0-py3-none-any.whl:
Publisher:
publish.yml on Guilhem-Bonnet/Grimoire-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grimoire_kit-3.18.0-py3-none-any.whl -
Subject digest:
233b47929d526edd108064d3c9e4b6f0da2efa989cce03be2b056a06c74dc864 - Sigstore transparency entry: 2044008729
- Sigstore integration time:
-
Permalink:
Guilhem-Bonnet/Grimoire-kit@1e4e1b0526c694720728fa0d08658d2200ffad4d -
Branch / Tag:
refs/tags/v3.18.0 - Owner: https://github.com/Guilhem-Bonnet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1e4e1b0526c694720728fa0d08658d2200ffad4d -
Trigger Event:
push
-
Statement type: