The open playbook catalog for Reasoning as Code — versioned ontologies, access rules, and ingest mappings you can install into AnythingGraph.
Each file in this repo is a single playbook: a JSON pack that defines record types, graph relationships, optional ReBAC rules, data-quality constraints, and connector mappings.
| Playbook | Category | Description |
|---|---|---|
organizational-graph |
Basic | Employees, corporations, and employment links |
crm-relationship-graph |
Basic | CRM accounts, contacts, and opportunities |
crm-relationship-access |
Basic | CRM with relationship-based access (ReBAC) |
hr-relationship-access |
Operations | HR employees, departments, compensation + ReBAC |
medical-care-access |
Operations | Care teams, patients, and clinical access patterns |
invoice-records-structured |
Operations | Structured invoice intake |
procure-to-pay |
Operations | Purchase orders and supplier flows |
support-case-management |
Operations | Support cases and resolution tracking |
identity-golden-record |
Integrate data | Cross-system identity resolution |
reference-data-alignment |
Integrate data | Reference data alignment |
data-quality-stewardship |
Integrate data | Data quality stewardship patterns |
conflict_test |
Integrate data | CRM conflict detection demo |
document-registry |
AI & documents | Document metadata registry for agents |
product-composition |
Advanced | Multi-level product composition |
This repo is a git submodule of the main platform at:
dashboard/backend/src/playbook/playbooks
Clone the platform with submodules:
git clone --recurse-submodules https://github.com/AnythingGraph/AnythingGraph.gitIf you already cloned without submodules:
git submodule update --init --recursivePoint PLAYBOOKS_DIR at this folder when running data-layer, rdf-cache, MCP, or the dashboard API:
export PLAYBOOKS_DIR=/path/to/PlaybooksThe CLI sets PLAYBOOKS_DIR automatically when you run anythinggraph start from a full platform checkout.
- Start the AnythingGraph stack (
anythinggraph startor./start-all.sh). - Open the dashboard Playbooks page and install by id.
- Sync Settings → Data Capsules before MCP queries.
Or from the dashboard backend:
cd dashboard/backend
npm run playbook:install -- organizational-graph- Fork this repository.
- Add or edit a
<playbook-id>.jsonfile (see existing packs for structure). - Include
id,name,description,category, and at least oneentities[]entry. - Open a pull request with a short note on the domain and intended use case.
Playbook JSON is read by the dashboard, rdf-cache (ReBAC rules), and MCP (schema hints). Keep id aligned with the filename.