Skip to main content

Module tools

Module tools 

Source
Expand description

The full memory system’s tools: remember_fact, manage_memories, and manage_people, over the memory stores.

Each is an aidaemon_tools::OutcomeTool, so a host with its own dispatcher (receipts, approvals, result fitting) runs it directly and keeps the typed outcome; kernel_tools gives the same tools to a plain aidaemon_core agent. tool_facts says how a host’s turn should treat each tool’s calls and results.

Structs§

LocalSettings
Settings kept in memory, for a host with no settings store of its own: people_enabled lasts until the process ends.
ManageMemoriesTool
The stored facts and episodes, managed by the model: list, search, forget, change who may see a fact, and check or repair the store.
ManagePeopleTool
The people store’s tool. People intelligence is on while the host’s people_enabled setting is "true"; enable/disable set it.
MemoryToolFacts
How a host’s turn treats one memory tool’s calls and results.
RememberFactTool

Constants§

MEMORY_ACTIONS
The actions this tool runs.
TOOL_NAMES
The names of the full memory system’s tools.

Functions§

action_from_arguments
The action argument, trimmed, if any.
call_deletes_facts
True when this exact call would delete at least one fact. Mirrors the entry selection in call: a non-empty facts batch wins, otherwise the single key/value pair. Deletion is the typed delete flag, never a value.
kernel_tools
outcome_tools as kernel tools, for an agent without a dispatcher of its own.
manage_memories_evidence
What a manage_memories call can prove: a fact lookup reads the canonical memory ledger; episodes are generated summaries.
memory_parameters
The memory actions’ parameters, each described. A host that offers more actions on the same tool (personal goals) extends this map.
outcome_tools
The three tools over store. settings holds the people_enabled switch manage_people reads and sets.
tool_facts
The facts of each of this system’s tools, by name.
unknown_action_message
The answer to an action the tool does not have, naming the ones it has.

Type Aliases§

Evidence
What a call with these arguments can prove.