Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Event Kinds

Event kinds tell LocusGraph what type of knowledge you are storing, which determines how the wisdom graph processes and connects it.

Primary Kinds

fact

Aliases: knowledge, learned

Persistent information that remains true over time. Use for preferences, configurations, and learned truths.

"The user prefers dark mode." / "The API rate limit is 1000 req/min."

action

Aliases: task, operation, execution, completed

Something happened. A task was performed or a process completed.

"Deployed version 2.3." / "Sent the weekly report."

decision

Aliases: choice, selection, determination

A choice was made with reasoning. Records the what and the why.

"Selected PostgreSQL over MySQL for JSONB support."

observation

General notes and impressions. The default kind for unclassified events.

"Build times increased after adding the new dependency."

feedback

Opinions, ratings, or suggestions from users. Carries subjective weight.

"User rated the response 4/5." / "User suggested shorter summaries."

Special Kinds

constraint / rule / constraint_violation

Validation-related events. When a constraint_violation is stored, a derived_from link is auto-created to the source context.

routine / heartbeat / status

Mapped to routine_operation. Filtered from standard retrieval. Use for health checks and lifecycle tracking.

noise / debug / log

Mapped to noise. Filtered from retrieval entirely. Exists for audit only.

Kind-to-Internal Mapping

Input KindInternal TypeRetrievable
fact, knowledge, learnedknowledge_recordedYes
action, task, operation, execution, completedaction_completedYes
decision, choice, selection, determinationdecision_madeYes
observationknowledge_recordedYes
feedbackknowledge_recordedYes
constraint, rule, constraint_violationknowledge_recordedYes
routine, heartbeat, statusroutine_operationNo
noise, debug, lognoiseNo

When in doubt, use fact for things that are true and observation for things you noticed. The admission pipeline handles the rest.

Next

Sources
How source types affect knowledge weight and connections.
Payload Structure
Format your event payloads correctly.