Persistent causal memory for AI agents — LangChain, LlamaIndex, AutoGen, CrewAI
Project description
hipcortex
Persistent causal memory for AI agents — LangChain, LlamaIndex, AutoGen, CrewAI.
1.74ms p50 write latency. Temporal decay. Causal world model. Merkle-chained audit log. GDPR right-to-forget.
Install
pip install hipcortex
Quick start
from hipcortex import HipCortexClient
client = HipCortexClient("http://localhost:3030")
# Store memory
client.add_memory(actor="alice", action="said", target="The meeting is at 3pm")
# Search (keyword or cosine similarity)
results = client.search("meeting time", limit=5)
# Stats
print(client.stats())
# GDPR forget
client.forget("alice")
Framework integrations
# LangChain — drop-in for ConversationBufferMemory
from hipcortex.langchain_memory import HipCortexMemory
memory = HipCortexMemory(session_id="user-42", url="http://localhost:3030")
# LlamaIndex
from hipcortex.llamaindex_storage import HipCortexChatStore
store = HipCortexChatStore(client=client)
# AutoGen
from hipcortex.adapters.autogen import HipCortexAutoGenMemory
mem = HipCortexAutoGenMemory(client=client, agent_id="researcher")
agent.register_hook("process_message_before_send", mem.on_message_sent)
# CrewAI
from hipcortex.adapters.crewai import HipCortexRememberTool, HipCortexRecallTool
tools = [HipCortexRememberTool(client=client), HipCortexRecallTool(client=client)]
Start the server
# Self-hosted (single binary, zero deps)
cargo run --bin webserver --no-default-features --features "web-server,petgraph_backend"
# Fly.io
fly deploy
# Live demo
https://hipcortex.fly.dev
Full docs: https://github.com/farmountain/HipCortex
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hipcortex-0.2.0.tar.gz.
File metadata
- Download URL: hipcortex-0.2.0.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b54eb979650d76b72753f8276f5f79eb597730d7f22e364f2b224d0354860104
|
|
| MD5 |
e8be01725ebda24aa1f4324af08d0233
|
|
| BLAKE2b-256 |
017b279a344b745b0e36cc458afd0fee4b0f7b3a0a55ce7dfce2d4b4701d55a4
|
File details
Details for the file hipcortex-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hipcortex-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5307d9b77ae3bc68fe6623d309543a55f940c3bf4d65f0be98408b7bb7a17387
|
|
| MD5 |
bcfb0bb19d4f14b4e8159e8263b1d431
|
|
| BLAKE2b-256 |
ad88ef6d25b78b1beece05f0019ea8513e9ab2fd83634ad097f2faa28a385115
|