Module identity
Expand description
Identity system supporting OpenClaw (markdown) and AIEOS (JSON) formats.
Structs§
- Aieos
Identity - AIEOS v1.1 identity structure. This follows the AIEOS schema for defining AI agent identity, personality, and behavior. See https://aieos.org for the full specification.
- Capabilities
Section - History
Section - Identity
Section - Interests
Section - Linguistics
Section - Motivations
Section - Names
- Ocean
Traits - Physicality
Section - Psychology
Section
Functions§
- aieos_
to_ system_ prompt - Convert AIEOS identity to a system prompt string. Formats the AIEOS data into a structured markdown prompt compatible with ZeroClaw’s agent system.
- is_
aieos_ configured - Check if AIEOS identity is configured and should be used. Returns true if format is “aieos” and either aieos_path or aieos_inline is set.
- load_
aieos_ identity - Load AIEOS identity from config (file path or inline JSON).
Checks
aieos_pathfirst, thenaieos_inline. ReturnsOk(None)if neither is configured.