Skip to main content
cohaku graph <query>
Performs semantic search over the knowledge graph with optional graph traversal to discover related entities.

Arguments

ArgumentRequiredDescription
queryYesSearch query text

Options

OptionShortDefaultDescription
--limit-n10Maximum number of results
--depth-d1Traversal depth (0 = exact match, 1 = immediate neighbors, 2 = broader context)
--scope-sprojectScope: project, global, all

Examples

# Basic graph search
cohaku graph "authentication"

# Deep traversal to find related concepts
cohaku graph "database" --depth 2

# Search across all scopes
cohaku graph "deployment" --scope all -n 5