Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

langchain-recallic

Latest version: v0.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: AyishikD
0 Stars
0 Forks
1 Versions
C++ Repo language

Scan summary

langchain-recallic was last scanned on 29 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

langchain-recallic: Recallic memory for LangChain and LangGraph

Long-term memory for LangChain and LangGraph agents, backed by a self-hosted Recallic server.

  • No LLM calls for memory. Storing and searching use Recallic's local models.
  • Across threads and sessions. Each turn, what this user said before that bears on their latest message is recalled, whatever thread it was said in.
  • Honest. When nothing answers it, the model is told there is no record instead of being handed near-misses to guess from.
  • Your data stays on your server, separated per user and per agent.

Install

pip install langchain-recallic

Run Recallic (quickstart) and create a key with role service, which acts for each of your users (or use a user's own key and leave user_id out):

python -m backend.tools.keys create --user my-langchain-app --role service

Automatic memory: RecallicMiddleware

For agents built with create_agent (LangChain 1.x; it runs on LangGraph):

import os

from langchain.agents import create_agent
from langchain_recallic import RecallicMiddleware

memory = RecallicMiddleware(os.environ["RECALLIC_SERVICE_KEY"], base_url="http://localhost:8000",
                            mode="balanced")                       # or "cautious" / "helpful"
agent = create_agent("openai:gpt-5-mini", tools=[...], middleware=[memory])

alice = {"configurable": {"user_id": "alice"}}
agent.invoke({"messages": [{"role": "user", "content": "I moved to Pune in March."}]}, config=alice)

# days later, another thread
agent.invoke({"messages": [{"role": "user", "content": "Which city did I move to?"}]}, config=alice)  # "Pune."

Before each model call it recalls on the user's latest message and adds the memories to the system message (your own system prompt is kept), or tells the model there is no record. Then it stores that message. In a tool loop the recall runs once per user message.

Parameter Default What it does
user_id None A fixed user. None reads user_id per run from the run's context (with context_schema) or config["configurable"].
agent_id langchain Recallic agent id; each agent reads back what it wrote (and what any agent shared).
mode server's recall.mode cautious checks every answer twice; helpful answers more counting, ordering and "how long between" questions.
limit 5 Memories given to the model per turn.
store_user_messages True Store the user's latest message each turn (after recalling).
tell_model_on_decline True When nothing answers, tell the model not to guess about the user's past.

Retriever: RecallicRetriever

For chains, RAG pipelines and your own LangGraph nodes:

from langchain_recallic import RecallicRetriever

retriever = RecallicRetriever(api_key=os.environ["RECALLIC_SERVICE_KEY"], user_id="alice", k=5)
docs = retriever.invoke("Where do I work?")    # [] when Recallic has no memory that answers it

Tools: recallic_tools()

When the agent should decide itself when to look things up or save them:

from langchain_recallic import recallic_tools

tools = recallic_tools(os.environ["RECALLIC_SERVICE_KEY"])    # recall_memory(query), save_memory(fact)
agent = create_agent("openai:gpt-5-mini", tools=tools)
agent.invoke({"messages": [...]}, config={"configurable": {"user_id": "alice"}})

Notes:

  • format_memories(recall_result) turns any Recallic recall result into the text the middleware gives the model.
  • Needs Recallic server 0.2.5 or newer. Tested with langchain 1.5 and langgraph 1.2.

Tests

Against a running Recallic: RECALLIC_URL=http://127.0.0.1:8000 RECALLIC_SERVICE_KEY=rx_... pytest tests. They include real create_agent runs with a scripted model.

Licence: Apache-2.0.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases langchain-recallic

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229