AgentRegistry¶
Methods¶
add¶
Register a personality from a { name, model, modes, ... } table.
Parameters
spec:{name: string, description: string?, spawn_description: string?, model: string, skip_default_prompt: boolean?, prompt: string?, modes: {[integer]: {name: string, description: string?, prompt: string?, tools: {[integer]: string}, tool_options: {[string]: any}?}}}name— The advertised name, unique across the set.description— Human-facing text shown in the/personalitypicker.spawn_description— The text advertised to a parent model on thespawntool.model— TheModelRefstring the personality activates on, in the same syntax as--modeland/model.skip_default_prompt— When true, the personality's prompt fragment replaces the static base prompt rather than following it.prompt— A prompt fragment establishing the personality's identity.modes— The personality's modes, in declaration order; the first is the default.