About
The LangChain family spawned another package, deepagents.
Details
With that package, you can use PostgreSQL as long-term memory. What about CrateDB?
from langgraph.store.postgres import PostgresStore
import os
store = PostgresStore(connection_string=os.environ["DATABASE_URL"])
agent = create_deep_agent(
store=store,
backend=lambda rt: CompositeBackend(
default=StateBackend(rt),
routes={"/memories/": StoreBackend(rt)}
)
)
About
The LangChain family spawned another package,
deepagents.Details
With that package, you can use PostgreSQL as long-term memory. What about CrateDB?