brain_graph
Export the causal knowledge graph from a Brain instance as a 3D-render-ready node/link payload for explorable 3D visualization of concepts, people, files, and services with causal relationships.
Instructions
Export the Causal Knowledge Graph as a 3D-render-ready node/link payload (schema cachly.brain_graph/v1) — the data layer behind the brain viz: the visual, explorable 3D map of every concept, person, file and service the brain knows, and how they causally relate. Node kinds (concept/person/file/service) carry stable color groups and a size (val) scaled by reference count; links carry edgeType (fixes/causes/co-occurs/authored/collaborates) and confidence (value). Consumed verbatim by react-force-graph-3d / three.js frontends. Example: brain_graph(instance_id="...") · brain_graph(instance_id="...", domain="auth", min_confidence=0.5, format="summary")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Only include nodes whose domain or id contains this string (e.g. "auth", "docker"). Omit for the whole graph. | |
| format | No | "json" (default) emits the full renderable payload; "summary" emits a human-readable overview. | |
| max_nodes | No | Cap on nodes returned (default 400, max 2000). Edges to dropped nodes are pruned. | |
| instance_id | Yes | UUID of the Brain instance to export. | |
| min_confidence | No | Drop edges below this confidence 0..1 (default 0 = keep all). |