Wraith Browser

Knowledge Graph

Track entities, relationships, and connections discovered across browsing sessions

The knowledge graph is an in-memory entity store for tracking companies, people, technologies, and other entities discovered while browsing. Add entities, define relationships between them, merge duplicates, and visualize the graph as a Mermaid diagram. Use entity_query for natural language questions about your collected knowledge.

Tools

ToolDescriptionKey Parameters
entity_queryQuery the graph with natural languagequestion (required)
entity_addAdd an entity to the graphname (required), entity_type (required), attributes
entity_relateAdd a relationship between two entitiesfrom (required), to (required), relationship (required)
entity_mergeMerge two entities (second into first)name_a (required), name_b (required)
entity_find_relatedFind entities connected to a given entityname (required)
entity_searchFuzzy search entities by namequery (required)
entity_visualizeGenerate a Mermaid diagram of the graph(none)

Examples

Build a knowledge graph from browsing

{
  "tool": "entity_add",
  "arguments": {
    "name": "Stripe",
    "entity_type": "company",
    "attributes": {
      "industry": "fintech",
      "headquarters": "San Francisco",
      "hiring": true
    }
  }
}
{
  "tool": "entity_relate",
  "arguments": {
    "from": "Stripe",
    "to": "Rust",
    "relationship": "uses"
  }
}

Supported entity types: "company", "person", "technology", "product", "location", "other".

Query with natural language

{
  "tool": "entity_query",
  "arguments": {
    "question": "what companies use Rust?"
  }
}

Returns matching entities and their relationships. The graph persists across the browsing session, accumulating knowledge as you visit more pages.

Visualize the graph

{
  "tool": "entity_visualize",
  "arguments": {}
}

Returns Mermaid graph syntax that renders as an interactive diagram showing all entities and their relationships.

On this page