Skip to content

Letta Adapters

memio.providers.letta.LettaFactAdapter

FactStore implementation backed by Letta archival passages.

Parameters:

Name Type Description Default
agent_id str

The Letta agent whose archival memory stores facts.

required
api_key str | None

Letta Cloud API key. Mutually exclusive with base_url.

None
base_url str | None

URL of a self-hosted Letta server.

None

memio.providers.letta.LettaHistoryAdapter

HistoryStore implementation backed by Letta conversations.

Maintains a session_id -> conversation_id mapping. Creates a new Letta conversation on first add for each session.

Parameters:

Name Type Description Default
agent_id str

The Letta agent that owns the conversations.

required
api_key str | None

Letta Cloud API key. Mutually exclusive with base_url.

None
base_url str | None

URL of a self-hosted Letta server.

None

memio.providers.letta.LettaDocumentAdapter

DocumentStore implementation backed by Letta archival passages.

Parameters:

Name Type Description Default
agent_id str

The Letta agent whose archival memory stores documents.

required
api_key str | None

Letta Cloud API key. Mutually exclusive with base_url.

None
base_url str | None

URL of a self-hosted Letta server.

None