Skip to content

API Reference parrot.knowledge.graphindex

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.knowledge.graphindex

View source

GraphIndex — Structured Knowledge Graph Indexing for AI-Parrot.

This package provides a unified knowledge graph that spans code, documents, and skills within a single tenant. It is organized as a 6-stage pipeline:

  1. Extract — Code, Loader, and SKILL.md extractors emit UniversalNode/UniversalEdge
  2. Embed — Batch embedding via EmbeddingModel → FAISS (hot) + pgvector (persistent)
  3. Assemble — rustworkx PyDiGraph built in-process from node/edge streams
  4. Resolve — Level 1 cosine-similarity cross-domain edge inference
  5. Persist — ArangoOntologyGraphStore → ArangoDB + embeddings → pgvector
  6. Analyze — Centrality, surprising connections, GRAPH_REPORT.md generation

The agent-facing toolkit lives in parrot_tools.graphindex.toolkit.

Alias AssertionMeta

Re-exported from parrot.knowledge.graphindex.schema.AssertionMeta.

Alias BuildResult

Re-exported from parrot.knowledge.graphindex.schema.BuildResult.

Alias CommitReceipt

Re-exported from parrot.knowledge.graphindex.schema.CommitReceipt.

Alias EdgeKind

Re-exported from parrot.knowledge.graphindex.schema.EdgeKind.

Alias GraphProjectionReport

Re-exported from parrot.knowledge.graphindex.schema.GraphProjectionReport.

Alias GraphUpdate

Re-exported from parrot.knowledge.graphindex.schema.GraphUpdate.

Alias IngestResult

Re-exported from parrot.knowledge.graphindex.schema.IngestResult.

Alias NodeKind

Re-exported from parrot.knowledge.graphindex.schema.NodeKind.

Alias Provenance

Re-exported from parrot.knowledge.graphindex.schema.Provenance.

Alias SourceConfig

Re-exported from parrot.knowledge.graphindex.schema.SourceConfig.

Alias UniversalEdge

Re-exported from parrot.knowledge.graphindex.schema.UniversalEdge.

Alias UniversalNode

Re-exported from parrot.knowledge.graphindex.schema.UniversalNode.

Alias stable_edge_id

Re-exported from parrot.knowledge.graphindex.schema.stable_edge_id.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally