Vibe.Agent.Memory (vibe v0.2.3)

Copy Markdown View Source

Ephemeral runtime memory scoped by running agent/subagent id.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clear(agent_id)

@spec clear(String.t()) :: :ok

get(agent_id, key)

@spec get(String.t(), atom()) :: {:ok, term()} | :error

list(agent_id)

@spec list(String.t()) :: map()

put(agent_id, key, value)

@spec put(String.t(), atom(), term()) :: :ok

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()