# `ADK.Memory.InMemory`
[🔗](https://github.com/zeroasterisk/adk-elixir/blob/main/lib/adk/memory/in_memory.ex#L1)

ETS-backed in-memory memory store for development and testing.

Uses keyword matching (not semantic search). Mirrors Python ADK's
`InMemoryMemoryService`.

## Usage

    ADK.Memory.InMemory.start_link([])

    ADK.Memory.InMemory.add("app", "user1", [
      ADK.Memory.Entry.new(content: "User prefers dark mode")
    ])

    {:ok, results} = ADK.Memory.InMemory.search("app", "user1", "dark mode")

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
