About Knowledge Graph System
Knowledge Graph System is an MCP server published by aaronsb in the RAG category: kappa Graph — κ(G). A semantic knowledge graph where knowledge has weight. Extracts concepts, measures grounding strength, preserves disagreement, traces everything to source. Conduid read 16 tools from its source: analyze_polarity_axis, artifact, catalog, concept, document, epistemic_status and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 131 stars and 21 forks, is licensed Apache-2.0, and its last commit was on 2 Oct 2026. The latest release is v0.19.0 (27 Sep 2026): CLI 0.15.1. Upgrade notes Upgrade from 0.18.0 if you use Ollama, OpenRouter or llama.cpp. The 0.18.0 API image shipped without the requests package, so those providers f… It follows v0.18.0 (18 Sep 2026), and the 5 most recent releases go back to v0.15.0 (2 Jun 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include apache-age, concept-extraction, docker, fastapi, graph-database and knowledge-graph.
Install
git clone https://github.com/aaronsb/knowledge-graph-systemTools (16)
analyze_polarity_axisAnalyze bidirectional semantic dimension (polarity axis) between two concept poles (ADR-813). Projects concepts onto an axis formed by opposing semantic poles (e.g., Modern ↔ Traditional, Centralized ↔ Distributed). Returns: - Axis quality and magnitude (semantic distinctness) - Concept positions along the axis (-1 to +1) - Direction distribution (positive/neutral/negative) - Grounding correlation patterns - Statistical analysis of projections PERFORMANCE: Direct query pattern, ~2-3 seconds execution time. Use Cases: - Explore conceptual spectrums and gradients - Identify position-grounding correlation patterns - Discover concepts balanced between opposing ideas - Map semantic dimensions in the knowledge graph Requires concept IDs for poles — use search to find opposing concepts first. Use concept (action: "details") to inspect pole concepts before analysis.| Parameter | Type | Description |
|---|---|---|
| auto_discover | boolean | Auto-discover related concepts if candidate_ids not provided (default: true) |
| candidate_ids | array | Specific concept IDs to project onto axis (optional) |
| max_candidates | number | Maximum candidates for auto-discovery (default: 20, max: 100) |
| max_hops | number | Maximum graph hops for auto-discovery (1-3, default: 1) |
| negative_pole_id * | string | Concept ID for negative pole (e.g., ID for "Traditional") |
| positive_pole_id * | string | Concept ID for positive pole (e.g., ID for "Modern") |
artifactManage saved artifacts (ADR-116). Artifacts persist computed results like search results, projections, and polarity analyses for later recall. Three actions available: - "list": List artifacts with optional filtering by type, representation, or ontology - "show": Get artifact metadata by ID (without payload) - "payload": Get artifact with full payload (for reusing stored analysis) Use artifacts to: - Recall previously computed analyses without re-running expensive queries - Share analysis results across sessions - Track analysis history with parameters and timestamps - Check freshness (is_fresh indicates if graph has changed since artifact creation)| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "list" (list artifacts), "show" (metadata only), "payload" (full result) |
| artifact_id | number | Artifact ID (required for show, payload) |
| artifact_type | string | Filter by type: search_result, projection, polarity_analysis, query_result, etc. |
| limit | number | Max artifacts to return for list (default: 20) |
| offset | number | Number to skip for pagination (default: 0) |
| ontology | string | Filter by associated ontology name |
| representation | string | Filter by source: cli, mcp_server, polarity_explorer, embedding_landscape, etc. |
catalogBrowse what is actually stored in the knowledge graph (ADR-501). A deterministic, filesystem-like view of the ontology -> document -> concept hierarchy. Use this to answer "what's in here?" structurally — by document or domain — as opposed to the 'search' tool, which finds concepts by semantic similarity. This is the right tool when you want to enumerate the corpus, drill into a specific document's concepts, or let a reasoning chain navigate by source rather than by meaning. The hierarchy is fixed and self-describing via each node's 'kind': root -> ontology (knowledge domains) ontology -> document (ingested sources; may be text or image) document -> concept (leaf — extracted concepts appearing in that document) A concept can appear under many documents (the graph is a DAG, not a tree). Membership is read from the graph's canonical edges, so it stays correct even as autonomous annealing (ADR-200) reorganizes ontologies. Actions: - ls: list children of a node (or root ontologies if no id). Supports a name fragment filter. - stat: full metadata for one node by id.| Parameter | Type | Description |
|---|---|---|
| action * | string | 'ls' to list children, 'stat' for single-node detail |
| id | string | For ls: parent node id (omit to list root ontologies). For stat: the node id to inspect. |
| kind | string | Optional kind hint to disambiguate an id that collides across kinds. |
| limit | number | ls only: max children per page (1-1000, default 100). |
| offset | number | ls only: pagination offset (default 0). |
| query | string | ls only: case-insensitive name fragment to filter children by. |
| sort | string | ls only: sort order for children (default name). |
conceptWork with concepts: get details (ALL evidence + relationships), find related concepts (neighborhood exploration), or discover connections (paths between concepts). For "connect" action, defaults (threshold=0.5, max_hops=5) match the CLI and work well for most queries. Use higher thresholds (0.75+) only if you need to narrow results for precision. Note: connect traverses semantic edges only (IMPLIES, SUPPORTS, CONTRADICTS, etc.) — manually-created edges with no traversal history may not appear in paths. Use program/Cypher for comprehensive traversal. If connect returns no paths or you need to combine multiple lookups, escalate to the program tool — one composed query replaces many individual calls. Do not repeat connect hoping for different results. For multi-step workflows (search → connect → expand → filter), compose these into a GraphProgram instead of making individual calls. For example, seed from a search then expand via Cypher using $W_IDS to reference accumulated concept IDs. See the program tool and program/syntax resource for this and other composition patterns.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "details" (get ALL evidence), "related" (explore neighborhood), "connect" (find paths), "add_evidence" (attach evidence text to a concept), "lifetime" (ADR-203 re-evidence stream — ordered Instance chain with graph_epochs metadata, showing when the system came to know this concept) |
| concept_id | string | Concept ID (required for details, related, add_evidence) |
| connection_mode | string | Connection mode: "exact" (IDs) or "semantic" (phrases) |
| diversity_max_hops | number | Max hops for diversity calculation (default: 2) |
| evidence_text | string | Evidence/rationale text to attach to a concept (required for add_evidence, min 10 chars) |
| exclude_epistemic_status | array | Exclude relationships with these epistemic statuses (e.g., ["HISTORICAL", "INSUFFICIENT_DATA"]) |
| from_id | string | Starting concept ID (for exact mode) |
| from_query | string | Starting phrase (for semantic mode, 2-3 words) |
| include_diversity | boolean | Include diversity metrics for details action (default: false, adds ~100-500ms) |
| include_epistemic_status | array | Only include relationships with these epistemic statuses (e.g., ["AFFIRMATIVE", "CONTESTED"]) |
| include_grounding | boolean | Include grounding_strength (default: true) |
| lifetime_limit | number | For action=lifetime: max Instances per page (default 200, hard cap 1000). |
| lifetime_offset | number | For action=lifetime: number of Instances to skip. Use with has_more in the response to walk further pages. |
| max_depth | number | Max traversal depth for related (1-5, default: 2) |
| max_hops | number | Max path length (default: 5). Higher values find longer paths but take more time. |
| relationship_types | array | Filter relationships (e.g., ["SUPPORTS", "CONTRADICTS"]). Constrains traversal, not just results — if the first hop is structural, filtering to semantic types may return empty. Omit for broadest results, then narrow. |
| threshold | number | Similarity threshold for semantic mode (default: 0.5). Lower values find broader matches. The API enforces backend safety limits. |
| to_id | string | Target concept ID (for exact mode) |
| to_query | string | Target phrase (for semantic mode, 2-3 words) |
| truncate_evidence | boolean | Truncate evidence full_text context to 200 chars (default: true for token efficiency). Set false for complete context. |
documentWork with documents: list all, show content, or get concepts (ADR-507). Three actions available: - "list": List all documents with optional ontology filter - "show": Retrieve document content from Garage storage - "concepts": Get all concepts extracted from a document Documents are aggregated from source chunks and stored in Garage (S3-compatible storage). Use search tool with type="documents" to find documents semantically. Use document (action: "concepts") to see what was extracted, then concept (action: "details") or source to drill into specifics.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "list" (all documents), "show" (content), "concepts" (extracted concepts) |
| document_id | string | Document ID (required for show, concepts). Format: sha256:... |
| include_details | boolean | Include full concept details (evidence, relationships, grounding) in one call. Default: false for lightweight list. |
| limit | number | Max documents to return for list (default: 50) |
| offset | number | Number to skip for pagination (default: 0) |
| ontology | string | Filter by ontology name (for list) |
epistemic_statusVocabulary epistemic status classification (ADR-610 Phase 2). Knowledge validation state for relationship types. Three actions available: - "list": List all vocabulary types with epistemic status classifications (AFFIRMATIVE/CONTESTED/CONTRADICTORY/HISTORICAL/INSUFFICIENT_DATA/UNCLASSIFIED) - "show": Get detailed status for a specific relationship type - "measure": Run measurement to calculate epistemic status for all types (admin operation) EPISTEMIC STATUS CLASSIFICATIONS: - AFFIRMATIVE: High avg grounding >0.8 (well-established knowledge) - CONTESTED: Mixed grounding 0.2-0.8 (debated/mixed validation) - CONTRADICTORY: Low grounding <-0.5 (contradicted knowledge) - HISTORICAL: Temporal vocabulary (detected by name) - INSUFFICIENT_DATA: <3 successful measurements - UNCLASSIFIED: Doesn't fit known patterns Use for filtering relationships by epistemic reliability, identifying contested knowledge areas, and curating high-confidence vs exploratory subgraphs. Concept (action: "related") and connect accept include_epistemic_status/exclude_epistemic_status filters to narrow traversals by reliability. Use search to find concepts in contested areas, then epistemic_status to understand why.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "list" (all types), "show" (specific type), "measure" (run measurement) |
| relationship_type | string | Relationship type to show (required for show action, e.g., "IMPLIES", "SUPPORTS") |
| sample_size | number | Edges to sample per type for measure action (default: 100) |
| status_filter | string | Filter by status for list action: AFFIRMATIVE, CONTESTED, CONTRADICTORY, HISTORICAL, INSUFFICIENT_DATA, UNCLASSIFIED |
| store | boolean | Store results to database for measure action (default: true) |
| verbose | boolean | Include detailed statistics for measure action (default: false) |
epochRead the graph epoch event log (ADR-203). Every mutation to the knowledge graph (ingestion job, agent reasoning, ontology annealing, manual edit) records a monotonic event with a wall-clock timestamp. This tool exposes that log so you can ask "when did the system come to know X?" or "what arrived in the graph during this window?" — without inventing causal edges between concepts. Two dimensions matter: - event_id (logical time): always meaningful — strictly ordered, even for events whose wall-clock is forensic. - occurred_at (wall-clock): semantically meaningful for kinds like 'ingestion' / 'edit'; treat as forensic-only for 'reasoning' / 'annealing'. Cursor-paginated. Pass the previous response's next_cursor as cursor to walk further back. For the per-concept re-evidence stream (which Concepts were touched in which epochs), use the concept tool's 'lifetime' action instead.| Parameter | Type | Description |
|---|---|---|
| actor | string | Filter by exact actor string (user id, agent session id, system component) |
| cursor | number | Pagination cursor — returns events with event_id < cursor. Omit for the first page. |
| kind | string | Filter to a specific event kind. Omit for all kinds. |
| limit | number | Max events per page (1-500, default 50) |
| since | string | ISO-8601 lower bound on occurred_at. The API parses with FastAPI's datetime parser; tolerant of common forms (with or without "Z", offsets accepted). |
| until | string | ISO-8601 upper bound on occurred_at. Same parsing semantics as `since`. |
graphCreate, edit, delete, and list concepts and edges in the knowledge graph (ADR-308). This tool provides deterministic graph editing without going through the LLM ingest pipeline. Use for manual curation, agent-driven knowledge building, and precise graph manipulation. **Actions:** - "create": Create a new concept or edge - "edit": Update an existing concept or edge - "delete": Delete a concept or edge - "list": List concepts or edges with filters **Entity Types:** - "concept": Knowledge graph concepts (nodes) - "edge": Relationships between concepts **Matching Modes (for create):** - "auto": Link to existing if match found, create if not (default) - "force_create": Always create new, even if similar exists - "match_only": Only link to existing, error if no match **Semantic Resolution:** - Use `from_label`/`to_label` to reference concepts by name instead of ID - Resolution uses vector similarity (75% threshold) to find matching concepts - Near-misses (60-75%) return "Did you mean?" suggestions with concept IDs **Examples:** - Create concept: `{action: "create", entity: "concept", label: "CAP Theorem", ontology: "distributed-systems"}` - Create edge: `{action: "create", entity: "edge", from_label: "CAP Theorem", to_label: "Partition Tolerance", relationship_type: "REQUIRES"}` - List concepts: `{action: "list", entity: "concept", ontology: "distributed-systems"}` - Delete concept: `{action: "delete", entity: "concept", concept_id: "c_abc123"}` **Queue Mode** (batch multiple operations in one call): ```json { "action": "queue", "operations": [ {"op": "create", "entity": "concept", "label": "A", "ontology": "test"}, {"op": "create", "entity": "concept", "label": "B", "ontology": "test"}, {"op": "create", "entity": "edge", "from_label": "A", "to_label": "B", "relationship_type": "IMPLIES"} ] } ``` Queue executes sequentially, continues past errors by default (set continue_on_error=false to stop on first error). Max 20 operations.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation to perform. Use "queue" to batch multiple operations. |
| cascade | boolean | For concept delete: also delete orphaned synthetic sources (default: false) |
| category | string | Semantic category of the relationship (default: structural) |
| concept_id | string | Concept ID (for edit/delete concept) |
| confidence | number | Edge confidence 0.0-1.0 (default: 1.0) |
| continue_on_error | boolean | For queue: continue executing after errors (default: true). Set false to stop on first error. |
| creation_method | string | Filter by creation method (for list) |
| description | string | Concept description (optional) |
| entity | string | Entity type (required for create/edit/delete/list, not for queue) |
| evidence_text | string | Evidence/rationale for the concept (required for create concept, min 10 chars). Stored as an Instance node. |
| from_concept_id | string | Source concept ID (for edge create/delete) |
| from_label | string | Source concept by label (semantic resolution) |
| label | string | Concept label (required for create concept) |
| label_contains | string | Filter concepts by label substring (for list) |
| limit | number | Max results to return (default: 20) |
| matching_mode | string | How to handle similar existing concepts (default: auto) |
| offset | number | Number to skip for pagination (default: 0) |
| ontology | string | Ontology/namespace (required for create concept, optional filter for list) |
| operations | array | Array of operations for queue action (max 20). Each has op, entity, and action-specific fields. |
| relationship_type | string | Edge relationship type (e.g., IMPLIES, SUPPORTS, CONTRADICTS) |
| search_terms | array | Alternative search terms for the concept |
| source | string | Filter edges by source (for list) |
| to_concept_id | string | Target concept ID (for edge create/delete) |
| to_label | string | Target concept by label (semantic resolution) |
ingestIngest content into the knowledge graph: submit text, inspect files, ingest files, or ingest directories. Use action parameter to specify operation.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "text" (raw text), "inspect-file" (validate), "file" (ingest files), "directory" (ingest directory) |
| auto_approve | boolean | Auto-approve processing (file/directory actions, default: true) |
| filename | string | Optional filename for source tracking (text action) |
| force | boolean | Force re-ingestion (file/directory actions, default: false) |
| limit | number | Number of files to show per page (directory action, default: 10) |
| offset | number | Number of files to skip for pagination (directory action, default: 0) |
| ontology | string | Ontology name (required for text/file/directory, optional for directory - defaults to dir name) |
| overlap_words | number | Overlap between chunks (text action, default: 200) |
| path | any | File/directory path (required for inspect-file/file/directory). For file action: single path string OR array for batch |
| processing_mode | string | Processing mode (text action, default: serial) |
| recursive | boolean | Process subdirectories recursively (directory action, default: false) |
| target_words | number | Words per chunk (text action, default: 1000) |
| text | string | Text content to ingest (required for text action) |
jobManage ingestion jobs: get status, list jobs, approve, cancel, delete, or cleanup. Use action parameter to specify operation.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "status" (get job status), "list" (list jobs), "approve" (approve job), "cancel" (cancel job), "delete" (permanently delete single job), "cleanup" (delete jobs matching filters) |
| confirm | boolean | Confirm deletion - set to true to actually delete (for cleanup action) |
| dry_run | boolean | Preview what would be deleted without deleting (for cleanup, default: true) |
| force | boolean | Force delete even if job is processing (for delete action) |
| job_id | string | Job ID (required for status, approve, cancel, delete) |
| job_type | string | Filter by job type for cleanup (ingestion, epistemic_remeasurement, projection, etc) |
| limit | number | Max jobs to return for list (default: 50) |
| older_than | string | Delete jobs older than duration: 1h, 24h, 7d, 30d (for cleanup action) |
| status | string | Filter by status for list/cleanup (pending, awaiting_approval, running, completed, failed) |
| system_only | boolean | Only delete system/scheduled jobs (for cleanup action) |
ontologyManage ontologies (knowledge domains/collections): list all, get info, list files, or delete. Use action parameter to specify operation.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "list" (all ontologies), "info" (details), "files" (source files), "create" (new ontology), "rename" (change name), "delete" (remove), "lifecycle" (set state), "scores" (cached scores), "score" (recompute one), "score_all" (recompute all), "candidates" (top concepts), "affinity" (cross-ontology overlap), "edges" (ontology-to-ontology edges), "reassign" (move sources), "dissolve" (non-destructive demotion), "proposals" (list annealing proposals), "proposal_review" (approve/reject proposal), "annealing_cycle" (trigger annealing cycle) |
| demotion_threshold | number | Protection score below which to consider demotion (default: 0.15) |
| description | string | What this knowledge domain covers (for create action) |
| dry_run | boolean | Preview candidates without proposals (for annealing_cycle) |
| force | boolean | Confirm deletion (required for delete) |
| lifecycle_state | string | Target lifecycle state (required for lifecycle action) |
| limit | number | Max results for candidates/affinity (default: 20/10) |
| max_proposals | number | Maximum proposals per annealing cycle (default: 5) |
| new_name | string | New ontology name (required for rename action) |
| notes | string | Review notes (for proposal_review action) |
| ontology_name | string | Ontology name (required for info, files, create, rename, delete) |
| promotion_min_degree | number | Minimum concept degree for promotion candidacy (default: 10) |
| proposal_id | number | Proposal ID (for proposal_review action) |
| proposal_type | string | Filter proposals by ADR-206 verb (legacy promotion/demotion still accepted) |
| source_ids | array | Source IDs to move (for reassign action) |
| status | string | Filter proposals by status, or review status (approved/rejected) |
| target_ontology | string | Target ontology for reassign/dissolve actions |
programCompose and execute GraphProgram queries against the knowledge graph (ADR-500). Use search/connect/related for quick lookups (one concept, one path). Use program when you need the neighborhood of more than 2 concepts, want to combine search with traversal, or are asking an analytical question about graph structure. If you've made 3+ individual tool calls without converging, you should already be here. Programs are JSON ASTs that compose Cypher queries and API calls using set-algebra operators. Each statement applies an operator to merge/filter results into a mutable Working Graph (W). **Actions:** - "validate": Dry-run validation. Returns errors/warnings without storing. - "create": Notarize + store. Returns program ID for later execution. - "get": Retrieve a stored program by ID. - "list": Search stored programs by name/description. Returns lightweight metadata. - "execute": Run a program server-side. Pass inline AST (program) or stored ID (program_id). - "chain": Run multiple programs sequentially. W threads through each — program N's output becomes program N+1's input. Pass a deck array of {program_id} or {program} entries (max 10). **Program Structure:** { version: 1, metadata?: { name, description, author }, statements: [{ op, operation, label? }] } **Operators** (applied to Working Graph W using result R): + Union: merge R into W (dedup by concept_id / link compound key) - Difference: remove R's nodes from W, cascade dangling links & Intersect: keep only W nodes that appear in R ? Optional: union if R non-empty, silent no-op if empty ! Assert: union if R non-empty, abort program if empty **CypherOp** — run read-only openCypher against the source graph: { type: "cypher", query: "MATCH (c:Concept)-[r]->(t:Concept) RETURN c, r, t", limit?: 20 } Queries must be read-only (no CREATE/SET/DELETE/MERGE). RETURN nodes and relationships. **AGE Cypher gotchas** (Apache AGE openCypher differs from Neo4j): - Filter relationship types with WHERE, not inline: `WHERE type(r) IN ['SUPPORTS', 'CONTRADICTS']` (NOT `[r:SUPPORTS|CONTRADICTS]`) - Reference working graph concepts: `WHERE c.concept_id IN $W_IDS` - Always RETURN both nodes and relationships for full path data **ApiOp** — call internal service functions (no HTTP): { type: "api", endpoint: "/search/concepts", params: { query: "...", limit: 10 } } Allowed endpoints: /search/concepts — params: query (required), min_similarity?, limit? /search/sources — params: query (required), min_similarity?, limit? /concepts/details — params: concept_id (required) /concepts/related — params: concept_id (required), max_depth?, relationship_types? [returns nodes + edges in programs] /concepts/batch — params: concept_ids (required, list) /vocabulary/status — params: relationship_type?, status_filter? **Example** — find concepts about "machine learning", add their relationships: { version: 1, statements: [ { op: "+", operation: { type: "api", endpoint: "/search/concepts", params: { query: "machine learning", limit: 5 } }, label: "seed" }, { op: "+", operation: { type: "cypher", query: "MATCH (c:Concept)-[r]->(t:Concept) WHERE c.concept_id IN $W_IDS RETURN c, r, t" }, label: "expand relationships" } ]} **Alternative** — API-only composition (no Cypher needed): Use /concepts/related to expand from a known concept ID. Inside programs, related returns both nodes and edges (topology), making it suitable for graph exploration without writing Cypher. Read the program/syntax resource for the complete language reference with more examples.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation: "validate" (dry run), "create" (notarize + store), "get" (retrieve by ID), "list" (search stored programs), "execute" (run server-side), "chain" (run multiple programs sequentially) |
| deck | array | Array of program entries for chain action (max 10). Each entry needs program_id or program. |
| limit | number | Max results for list action (default: 20) |
| name | string | Program name (optional for create) |
| params | object | Runtime parameter values for execute (optional) |
| program | object | GraphProgram AST (required for validate, create, execute). Must have version:1 and statements array. |
| program_id | number | Program ID (required for get, optional for execute as alternative to inline program) |
| search | string | Search text for list action (matches name and description) |
searchSearch for concepts, source passages, or documents using semantic similarity. Your ENTRY POINT to the graph. CONCEPT SEARCH (type: "concepts", default) - Find concepts by semantic similarity: - Grounding strength (-1.0 to 1.0): Reliability/contradiction score - Diversity score: Conceptual richness (% of diverse connections) - Authenticated diversity: Support vs contradiction indicator (✅✓⚠❌) - Evidence samples: Quoted text from source documents - Image indicators: Visual evidence when available - Document sources: Where concepts originated SOURCE SEARCH (type: "sources") - Find source text passages directly (ADR-812): - Searches source document embeddings, not concept embeddings - Returns matched text chunks with character offsets for highlighting - Shows concepts extracted from those passages - Useful for RAG workflows and finding original context DOCUMENT SEARCH (type: "documents") - Find documents by semantic similarity (ADR-507): - Searches at document level (aggregates source chunks) - Returns documents ranked by best matching chunk similarity - Shows concepts extracted from each document - Use with document tool for content retrieval RECOMMENDED WORKFLOW: After search, use concept (action: "connect") to find HOW concepts relate - this reveals narrative flows and cause/effect chains that individual searches cannot show. Connection paths are often more valuable than isolated concepts. For multi-step exploration, compose searches into a GraphProgram (program tool) instead of making individual calls. One program can seed from search, expand relationships, and filter — all server-side in a single round-trip. Use program (action: "list") to find reusable stored programs, or read the program/syntax resource for composition examples. ESCALATION: For analytical questions or exploring more than 2 concepts, go directly to the program tool — one composed query replaces many individual calls. To verify a result, use source to retrieve the original text behind any evidence, or concept (action: "details") to see all evidence and relationships for a concept. Use 2-3 word phrases (e.g., "linear thinking patterns").| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of results to return (default: 10, max: 100) |
| min_similarity | number | Minimum similarity score 0.0-1.0 (default: 0.7 for 70%, lower to 0.5-0.6 for broader matches) |
| offset | number | Number of results to skip for pagination (default: 0) |
| ontology | string | Filter by ontology/document name (sources only) |
| query * | string | Search query text (2-3 word phrases work best, e.g., "linear thinking patterns") |
| type | string | Search type: "concepts" (default), "sources" (passage search), or "documents" (document-level search) |
session_context| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum concepts to return (default: 10, max: 50) |
| ontology | string | Filter by ontology name (default: all ontologies) |
session_ingestSave a session summary to the knowledge graph for cross-session memory. **IMPORTANT: Before your session ends or context compacts, call this tool with a summary of key topics, decisions, and insights from this session.** Text is ingested into the "${sessionOntology}" ontology, creating concepts that will appear in session_context on your next connection. The ingest job is auto-approved. Input: text (required) — your session summary. Optional: filename for source tracking.| Parameter | Type | Description |
|---|---|---|
| filename | string | Optional filename for source tracking (e.g., "session-2025-01-15.md") |
| text * | string | Session summary text to ingest into the knowledge graph |
sourceRetrieve original source content (text or image) for a source node (ADR-305). For IMAGE sources: Returns the image for visual verification For TEXT sources: Returns full_text content with metadata (document, paragraph, offsets) Use when you need to: - Verify extracted concepts against original source - Get the full context of a text passage - Retrieve images for visual analysis - Check character offsets for highlighting Source IDs appear in search results and concept details evidence. Use concept (action: "details") to see all evidence for a concept, or search (type: "sources") to find passages directly.| Parameter | Type | Description |
|---|---|---|
| source_id * | string | Source ID from evidence or search results |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by fuse/uv.lock and 2 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README