Skip to main content

Module identity

Module identity 

Expand description

Identity system supporting OpenClaw (markdown) and AIEOS (JSON) formats.

Structs§

AieosIdentity
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.
CapabilitiesSection
HistorySection
IdentitySection
InterestsSection
LinguisticsSection
MotivationsSection
Names
OceanTraits
PhysicalitySection
PsychologySection

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_path first, then aieos_inline. Returns Ok(None) if neither is configured.