Interface: LearningLayerOptions
Defined in: packages/agentos/src/cognition/learning/LearningLayer.ts:29
What a layer is built from: the host's learning config, and what the host says about itself.
Extends
Properties
agentKey?
optionalagentKey:string
Defined in: packages/agentos/src/cognition/learning/types.ts:45
Names the agent its learners belong to. Unset: the id of the registered persona, or of a named gmi() agent.
Inherited from
anonymousUserIds?
optionalanonymousUserIds:string[]
Defined in: packages/agentos/src/cognition/learning/types.ts:52
User ids that never name a learner, added to DEFAULT_ANONYMOUS_USER_IDS.
Inherited from
LearningConfig.anonymousUserIds
hostLoops?
optionalhostLoops:Partial<Record<"memory"|"memory_mechanisms"|"memory_observer_reflector"|"memory_store"|"sentiment"|"metaprompts"|"emergent_tools"|"self_improvement_tools"|"forged_code_executor"|"hitl"|"tool_policy"|"rag",LoopState>>
Defined in: packages/agentos/src/cognition/learning/LearningLayer.ts:35
What the host's own configuration says about the loops it runs, for the manifest.
lessons?
optionallessons:boolean
Defined in: packages/agentos/src/cognition/learning/types.ts:56
Asks for lessons. Default: asked for in the full profile. The manifest says whether the loop runs.
Inherited from
mode?
optionalmode:LearningMode
Defined in: packages/agentos/src/cognition/learning/types.ts:43
Default 'on'.
Inherited from
namespace?
optionalnamespace:string
Defined in: packages/agentos/src/cognition/learning/types.ts:50
The organization of a gmi() agent's learners, fixed for the agent. The full runtime takes each turn's resolved
organization and refuses this field.
Inherited from
profile?
optionalprofile:LearningProfile
Defined in: packages/agentos/src/cognition/learning/LearningLayer.ts:31
The host's cognition profile, which sets the switches the config leaves unset. Default 'custom'.
skills?
optionalskills:boolean
Defined in: packages/agentos/src/cognition/learning/types.ts:58
Asks for the skill library. Default: asked for in the full profile. The manifest says whether the loop runs.
Inherited from
surface?
optionalsurface:"custom"|"gmi"|"runtime"
Defined in: packages/agentos/src/cognition/learning/LearningLayer.ts:33
The host that builds the layer. Default 'custom': a product that calls the layer around its own turn loop.
traits?
optionaltraits:boolean
Defined in: packages/agentos/src/cognition/learning/types.ts:54
Asks for trait changes. Default: asked for in the full profile. The manifest says whether the loop runs.