magus v0.4.3 is out. See what's new
¶ View markdown source · ✎ Suggest an edit

Knowledge graph

The queryable graph of a workspace's spells, targets, docs, and code relationships; query it with magus query/explain/path.

Elsewhere

A knowledge graph in the RAG sense is usually extracted from text by a model, and Google's or an RDF store holds facts about the world. The magus knowledge graph is built from declared sources and code indexes without a model, so the same tree always yields the same graph.

Example

magus query "kind=spell"

Used in

In the docs:

See also

glossaryinsight-and-knowledge
Last updated (2df714e8)
Glossary

Workspace

The magus root directory that owns a set of projects and shared config; the unit magus operates over. Workspace in full.

Target

A named operation (build, test, ...) you invoke with magus run <target>; it may compose a spell's tool-native operations and depend on other targets. Target in full.

Spell

A language/runtime adapter (e.g. go, md) that maps generic targets onto a toolchain's real commands. Spell in full.

Knowledge graph

The queryable graph of a workspace's spells, targets, docs, and code relationships; query it with magus query/explain/path. Knowledge graph in full.

MAGUS.md

The committed routing index at a workspace root, regenerated from the knowledge graph: it lists every node and points at the exact query for a given question, so it is the entry point an agent reads first. MAGUS.md in full.

Insight

The reports magus derives over the graph and history (hotspots, affinity, ownership, trend, volatility, unreferenced). Insight in full.

Conventions

This page uses none of the site's convention markers. The full set is on the conventions page.