Returns the calling agent's HEXACO personality trait values as a trait→value map. The context identifies the agent instance and session that made the tool call.
Optional context: ToolExecutionContextSets a single HEXACO personality trait (already clamped) on the calling
agent. Returns false when the caller cannot be resolved, in which case
nothing was changed; returning nothing counts as applied.
Optional context: ToolExecutionContextOptional mutationDurable store for personality mutations (used by AdaptPersonalityTool for persistence).
Returns the agent's currently active skills.
Optional context: ToolExecutionContextReturns skill IDs that may not be disabled (core skills).
Dynamically loads a skill by ID and returns its metadata.
Optional context: ToolExecutionContextUnloads (disables) a previously loaded skill.
Optional context: ToolExecutionContextSearches the skill registry by query string, returning matching skill metadata.
Optional context: ToolExecutionContextExecutes a registered tool by name with the given arguments.
Optional context: ToolExecutionContextOptional signal: AbortSignalOptional tool: ITool<any, any>Returns the names of all currently registered tools.
Optional storeOptional callback for persisting self-improvement trace memories. The context identifies the calling agent and session, so the host can store the trace in that agent's memory under that session's scope.
Optional context: ToolExecutionContextOptional getOptional host-level getter for session-scoped runtime params such as temperature.
Optional setOptional host-level setter for session-scoped runtime params such as temperature.
Dependencies required to construct the four self-improvement tools.
Callers provide runtime hooks for personality access, skill management, tool execution, and optional memory storage. The engine uses these to wire each tool without hard-coupling to specific service implementations.