Skip to main content

Interface: LearnerKey

Defined in: packages/agentos/src/cognition/learning/types.ts:28

One agent with one user, in one namespace: what learned state belongs to.

Properties​

agentKey​

agentKey: string

Defined in: packages/agentos/src/cognition/learning/types.ts:32

The agent: learning.agentKey when the host sets it, else the id of a registered persona or a named agent.


namespace​

namespace: string

Defined in: packages/agentos/src/cognition/learning/types.ts:30

The organization the user belongs to; '' when the host has none.


userId​

userId: string

Defined in: packages/agentos/src/cognition/learning/types.ts:34

The user's id, as the host passes it.