FluctlightDB

LlamaIndex

FluctlightLlamaMemory constructs, on main

FluctlightLlamaMemory lives in fluctlightdb.integrations.llamaindex. On main it constructs, both with a positional brain and through from_defaults. This run used llama-index-core 0.14.25. put() then get() returned the stored turn, on the same brain. That fix is not in the published package yet. It ships in the next release.

What ran

The positional constructor took connect_agent() and kept the default session id llamaindex. from_defaults required a brain and accepted session_id s1. put() stored one user turn. get("pytest") returned that turn. get_all() returned one message. A second process was not opened for this adapter.

Run from main, against llama-index-core 0.14.25

from fluctlightdb import connect_agent
from fluctlightdb.integrations.llamaindex import FluctlightLlamaMemory
from llama_index.core.llms import ChatMessage, MessageRole

brain = connect_agent("./llama-brain")
positional = FluctlightLlamaMemory(brain)
print(type(positional).__name__, positional.session_id)
memory = FluctlightLlamaMemory.from_defaults(brain=brain, session_id="s1")
print(type(memory).__name__, memory.session_id)
memory.put(ChatMessage(role=MessageRole.USER, content="Use pytest for this repository"))
for message in memory.get("pytest"):
    print(message.role, message.content)
print(len(memory.get_all()))

Printed

FluctlightLlamaMemory llamaindex
FluctlightLlamaMemory s1
MessageRole.USER Use pytest for this repository
1

Where it lives

The example in docs/INTEGRATIONS.md is the positional constructor above. The class source is llamaindex.py . The embedded API does not depend on this adapter. A coding agent that remembers a decision is connect_embedded, experience, activate and checkpoint, and that path was run against the published package.