Skip to main content

Module memory

Module memory 

Source
Expand description

Agent memory provider resolution and instruction rendering. Agent memory provider resolution and instruction rendering.

Memory in Ito is intentionally provider-agnostic. The user configures one of three operations (capture, search, query) under ItoConfig.memory; each operation independently picks either an inline command template or a delegated skill. This module turns those configurations plus runtime inputs into a RenderedInstruction that the agent-facing CLI can print verbatim.

See .ito/specs/agent-memory-abstraction/ for the authoritative spec.

Structs§

CaptureInputs
Inputs accepted by ito agent instruction memory-capture.
QueryInputs
Inputs accepted by ito agent instruction memory-query.
SearchInputs
Inputs accepted by ito agent instruction memory-search.

Enums§

Operation
Identifies a memory operation for diagnostics and template rendering.
RenderedInstruction
Output of resolving and rendering a memory operation.

Constants§

DEFAULT_SEARCH_LIMIT
Default value applied to memory-search’s --limit flag when the caller does not supply one.

Functions§

render_capture
Render the memory-capture instruction for the given config and inputs.
render_query
Render the memory-query instruction for the given config and inputs.
render_search
Render the memory-search instruction for the given config and inputs.
shell_quote
POSIX single-quote shell quoting.