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:- Stage 1 (Ingestors): Extract structured wiki pages from sources
- Stage 2 (Merger): Hierarchical sub-graph-aware merge into the existing KG
Knowledge Search
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
| Backend | Data Format | Storage | Use Case |
|---|---|---|---|
kg_graph_search | Wiki pages (.md) | Weaviate + Neo4j | Semantic search with reranking |
kg_llm_navigation | JSON (nodes/edges) | Neo4j only | LLM-guided graph navigation |