s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All packages
Agents & runtime v0.57.40 New

@happyvertical/smrt-personas

Tenant-owned agent personalities that scope instructions, tools, identity, memory, feedback, and human-approved adaptation.

Source ↗

What it gives you

Tenant-owned agent personalities that scope instructions, tools, identity, memory, feedback, and human-approved adaptation.

  1. 01Context-aware persona resolution
  2. 02Independent memory and schedules per durable agent instance
  3. 03Feedback-driven directive proposals with a human approval gate

Resolution walks the context hierarchy

PersonaResolver.resolve selects an exact context before a type-scoped or tenant-wide persona, then uses priority and name for a stable tie-break. It walks ancestors and intersects the persona ceiling with TenantAgent, so a closer or broader record cannot silently widen the agent tool ceiling.

Learning signals propose; people approve

Feedback accepts accept, reject, correction, rating, outcome, and metric signals and deduplicates them by fingerprint. reinforceFromFeedback can strengthen memory, while ReflectionRunner creates a DirectiveProposal. DirectiveApprovalService remains permission-gated. Durable instances use personaInstanceKey, agentOptionsForPersona, and schedulePersonaInstance; upgradeSingletonToDefaultPersona preserves an existing singleton path.