Skip to main content

LearnProtocol

Defined in the protocols module.
AI Agent Protocol for learning store implementations. Enables custom backends (file, SQLite, Redis, MongoDB, etc.) while maintaining a consistent interface.

Methods

add()

Add a new entry to the store.

search()

Search entries by query.

list_all()

List all entries.

get()

Get entry by ID.

update()

Update an existing entry.

delete()

Delete an entry.

clear()

Clear all entries.

Usage

Source

View on GitHub

praisonaiagents/memory/learn/protocols.py at line 15

Agent Learn

Learn Configuration