Skip to main content

recallic (Python)

Website: recallic.com

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

pip install recallic

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

from recallic 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: Recallic 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")                     # stricter: declines more
mem.recall("What dose did the doctor prescribe?", mode="cautious_lite")                # cautious, with a second try before declining

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}])

Correcting a memory keeps when it was said; the memory gets a new id (server 0.2.7 or newer):

mem.update(memory_id, "I moved to Mumbai in March.")

Changes

  • 0.3.3: the MCP server takes RECALLIC_USER_ID, so one service key can serve many users (one server per user).
  • 0.3.2: a recallic command (what uvx recallic runs); the MCP server reports its real version.
  • 0.3.0: renamed from recallix to recallic: pip install recallic, from recallic import Memory, recallic-mcp. Nothing else changed; RECALLIX_API_KEY / RECALLIX_URL and the recallix-mcp command still work.
  • 0.2.7: update(memory_id, content) corrects a memory (PUT /memory/{id}); the MCP server has an update_memory tool.
  • 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": {
  "recallic": {
    "command": "recallic-mcp",
    "env": {"RECALLIC_API_KEY": "rx_...", "RECALLIC_AGENT_ID": "claude-desktop"}
  }
}

Environment: RECALLIC_API_KEY (required), RECALLIC_URL (default http://localhost:8000), RECALLIC_AGENT_ID (default mcp), RECALLIC_USER_ID (with a service key: the end user this server acts for; default: the key's own user). uvx recallic starts the same server.

License: Apache-2.0.

Metadata

Release files for recallic 0.3.4

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

Source distribution (sdist)

Source distribution for recallic 0.3.4
File Size Uploaded Provenance Actions
recallic-0.3.4.tar.gz 15.6 kB Without provenance Details for recallic-0.3.4.tar.gz

Built distribution (wheel)

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

Total release size: 31.6 kB

Release files / recallic-0.3.4.tar.gz

Download URL recallic-0.3.4.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e71a2b503f52c98fc049a32db65eb39aa04d703f97e2ce240394e3f356799ba7
BLAKE2b-256 checksum
How to use checksums
e0998b62749a845b989b1f8657e03841a0d24a516d0c2a16f61504d38fd53183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / recallic-0.3.4-py3-none-any.whl

Download URL recallic-0.3.4-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dc3fb2fc4f17f23e6a57f4c662b14649afd671689a93d77c1dd08d475e43b5e
BLAKE2b-256 checksum
How to use checksums
8c8fbeefd64dc0ef586c079b080a69ed458e3e5e3573a6d3251e4eb49ccdcca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for recallic 0.3.4

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