Skip to main content

Overview

The Knowledge System provides domain-specific guidance during problem-solving. It helps the agent recommend proven approaches and avoid common pitfalls by learning from repositories, research, and past experiments.

Key Concepts

Knowledge Graph (KG)

The KG stores domain knowledge in a structured format:
  • Vector Storage: Weaviate for semantic embeddings and similarity search
  • Graph Storage: Neo4j for relationships and graph traversal
  • Content: Wiki pages with overviews, detailed content, and connections

Learning Pipeline

A two-stage process for acquiring knowledge from sources:
  1. Stage 1 (Ingestors): Extract structured wiki pages from sources
  2. Stage 2 (Merger): Hierarchical sub-graph-aware merge into the existing KG
Hybrid retrieval that combines multiple approaches:
  • Semantic search: Vector similarity in Weaviate
  • Graph traversal: Connected pages from Neo4j
  • LLM reranking: Relevance scoring for better results

Using Knowledge in Kapso

Option 1: Pre-indexed KG

Option 2: Learn from Sources

Option 3: Research as Context

Search Backends

Infrastructure Requirements

Both backends require database infrastructure:

Next Steps

Learning Pipeline

How knowledge is extracted and merged

Search Backends

Hybrid search implementation

Configuration

YAML config for knowledge search

Research

Web research for knowledge acquisition