AgentKeeper v1.1.0
·
20 commits
to main
since this release
Cognitive continuity infrastructure for long-lived AI agents.
AgentKeeper reconstructs an agent's full cognitive state — identity, memory, decisions, relationships — across model switches, crashes, restarts, and constrained context windows.
Install
pip install agentkeeper-aiHighlights in 1.1
- Memory classes —
decision(),preference(),constraint(),relationship(),task_state(),transient(), each with its own decay behaviour. - Cognitive observability —
agent.health()reports memory volume, importance distribution, contradiction count, stale ratio. - GDPR-native retention — TTLs (
ttl="30d"),gdpr_export()(Article 20),gdpr_purge()(Article 17). - Persistent vector index —
sqlite-vecbackend survives restarts without re-embedding; scales to 10k+ facts. - Pluggable storage —
BaseStorageABC, defaultSQLiteStorage, opt-inEncryptedSQLiteStorage(Fernet at-rest encryption). - Async LLM consolidation —
AsyncAgent.compress(use_llm=True)end-to-end. - Graph memory — directed triples (
agent.link), BFS traversal (agent.find_related), shortest path. - Native MCP server —
agentkeeper-mcpCLI for Claude Desktop, Claude Code, Cursor, and any MCP host. Nine tools exposed. - Framework integrations — LangChain and CrewAI helpers, no hard dependency.
Quality
459 tests, ruff-clean, py.typed, CI on Python 3.10 / 3.11 / 3.12. Full backward compatibility with 1.0.
Built by Tom Anciaux Berner — ThinkLanceAI