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§
- Capture
Inputs - Inputs accepted by
ito agent instruction memory-capture. - Query
Inputs - Inputs accepted by
ito agent instruction memory-query. - Search
Inputs - Inputs accepted by
ito agent instruction memory-search.
Enums§
- Operation
- Identifies a memory operation for diagnostics and template rendering.
- Rendered
Instruction - Output of resolving and rendering a memory operation.
Constants§
- DEFAULT_
SEARCH_ LIMIT - Default value applied to
memory-search’s--limitflag when the caller does not supply one.
Functions§
- render_
capture - Render the
memory-captureinstruction for the given config and inputs. - render_
query - Render the
memory-queryinstruction for the given config and inputs. - render_
search - Render the
memory-searchinstruction for the given config and inputs. - shell_
quote - POSIX single-quote shell quoting.