Skip to main content
cohaku graph entity add <name>
Adds a new entity (node) to the knowledge graph.

Arguments

ArgumentRequiredDescription
nameYesEntity name

Options

OptionShortDefaultDescription
--summaryEntity description
--type-tEntity type (e.g., service, file, person, component, library)
--scope-sprojectScope: project, global

Examples

# Add a service entity
cohaku graph entity add "AuthService" --type service --summary "Handles JWT authentication"

# Add a library entity
cohaku graph entity add "React" --type library --scope global