Skip to main content

Module persona

Module persona 

Source
Expand description

Persona definition types for agent personas with SFIA skill framework support.

This module provides types for defining agent personas with:

  • Core characteristics and personality traits
  • SFIA (Skills Framework for the Information Age) skill definitions
  • TOML serialization/deserialization for persona configuration files

§Example TOML

agent_name = "Terraphim Architect"
role_name = "Systems Architect"
name_origin = "Greek: Terra (Earth) + phainein (to show)"
vibe = "Thoughtful, grounded, precise, architectural"
symbol = "⚡"
speech_style = "Technical yet accessible"
terraphim_nature = "Earth spirit of knowledge architecture"
sfia_title = "Solution Architect"
primary_level = 5
guiding_phrase = "Structure precedes function"
level_essence = "Enables and ensures"

[[core_characteristics]]
name = "Systems Thinking"
description = "Views problems holistically"

[[core_characteristics]]
name = "Pattern Recognition"
description = "Identifies recurring structures"

[[sfia_skills]]
code = "ARCH"
name = "Solution Architecture"
level = 5
description = "Designs and communicates solution architectures"

Structs§

CharacteristicDef
Definition of a core personality characteristic.
PersonaDefinition
A complete persona definition for an AI agent.
SfiaSkillDef
SFIA skill definition.

Enums§

PersonaLoadError
Errors that can occur when loading a persona definition.