Skip to main content

recallix (Python)

Client and MCP server for Recallix: an LLM-free memory layer for AI agents. Recallix runs on your own machine, needs no LLM calls, and declines instead of guessing.

pip install recallix

You need a running Recallix server. The quickest way is docker compose up -d in the repository; see the quickstart there.

from recallix import Memory

mem = Memory(api_key="rx_...")              # base_url defaults to http://localhost:8000
mem.store("I moved to Pune last month for a job at Infosys.")
out = mem.recall("Where do I live?")
print(out["status"], [m["content"] for m in out["memories"]])   # CONSISTENT ['I moved to Pune ...']
print(mem.recall("What is my brother's name?")["status"])        # ABSTAINED: nothing answers it
mem.used(out)                               # one line of feedback: Recallix learns from it on its own

How readily recall answers is one option (server 0.2.5 or newer; default "balanced"):

mem.recall("Which came first, the Goa trip or the Pune workshop?", mode="helpful")   # fewer refusals, computed_answer
mem.recall("What dose did the doctor prescribe?", mode="cautious")                     # checks every answer twice

Storing a whole conversation at once (server 0.2.6 or newer; an older server gets one store per message):

mem.store_many(["I moved to Pune in March.", {"content": "Mira got married.", "timestamp": 1717200000}])

Changes

  • 0.2.6: store_many(items) stores many messages in one request per 100 (POST /memory/store_batch).
  • 0.2.5: recall(..., mode="cautious" | "balanced" | "helpful"); store(..., timestamp=...) keeps when a message was originally said.
  • 0.2.4: requests>=2.33.0.

MCP (Claude Desktop, Cursor, any MCP client)

"mcpServers": {
  "recallix": {
    "command": "recallix-mcp",
    "env": {"RECALLIX_API_KEY": "rx_...", "RECALLIX_AGENT_ID": "claude-desktop"}
  }
}

Environment: RECALLIX_API_KEY (required), RECALLIX_URL (default http://localhost:8000), RECALLIX_AGENT_ID (default mcp).

License: Apache-2.0.

Metadata

Release files for recallix 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recallix 0.2.6
File Size Uploaded Provenance Actions
recallix-0.2.6.tar.gz 13.1 kB Without provenance Details for recallix-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for recallix 0.2.6
File Interpreter ABI Platform Actions
recallix-0.2.6-py3-none-any.whl Python 3 none any Details for recallix-0.2.6-py3-none-any.whl

Total release size: 27.0 kB

Release files / recallix-0.2.6.tar.gz

Download URL recallix-0.2.6.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0bc4e4360361a7df8ede9e6ea39f211e7f945ab7ee36e9296fe8d204d2232c21
BLAKE2b-256 checksum
How to use checksums
4f56ddce495e28d50b02d77df188176c62bbb2955685aa6761018a735d059f0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / recallix-0.2.6-py3-none-any.whl

Download URL recallix-0.2.6-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fa77d290998cfeb5ca2ed79b24cde5e2bffab700d286abfbeb80285f9d35387
BLAKE2b-256 checksum
How to use checksums
df9e2e3543ef97bcb2c43ddbddcdc5ab7a3711490e9490b66f620ce3033963ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for recallix 0.2.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page