Concept

@Serializable
data class Concept(val keyword: String, val description: String, val factType: FactType)(source)

Represents a distinct piece of knowledge that an agent can remember and recall. Concepts are the fundamental building blocks of the agent's memory system, allowing structured storage and retrieval of information across different contexts and time periods.

Use cases:

  • Storing project configuration details (dependencies, build settings)

  • Remembering user preferences and previous interactions

  • Maintaining environment information (OS, tools, SDKs)

  • Tracking organizational knowledge and practices

Constructors

Link copied to clipboard
constructor(keyword: String, description: String, factType: FactType)

Properties

Link copied to clipboard

A natural language description or question that helps the agent understand what information to extract or store for this concept

Link copied to clipboard

Determines whether this concept stores single or multiple facts

Link copied to clipboard

A unique identifier for the concept, used for storage and retrieval