Skip to main content

Memory infrastructure for AI agents — persistent context, session governance, and three-tier memory

Project description

zeos-memory

Your AI agents remember.

Install

pip install zeos-memory

Quick Start

from zeos_memory import ZeosMemory

zm = ZeosMemory(project_id="my-project", agent="claude")
zm.start_session()
zm.snap(delta="Built the auth module")
zm.snap(delta="Added JWT validation")
journal, memory = zm.end(
    summary="Authentication complete",
    delta="All tests passing",
    next_actions="Add refresh token rotation",
)
print(zm.render_memory())

Features

  • Three-tier memory — long-term (SOUL), mid-term (journals), short-term (working state)
  • Decay curation — entries auto-archive by relevance score (0-6), pinned entries persist
  • Session lifecycle — deterministic create/snap/end with continuity digests
  • Decision tracking — first-class entities with rationale and alternatives
  • Agent-agnostic — same protocol governs Claude, Gemini, Codex, Kimi
  • Zero dependencies — core SDK needs only pydantic

Optional Extras

pip install zeos-memory[mcp]       # MCP server for AI agents
pip install zeos-memory[graphiti]   # Temporal knowledge graph backend
pip install zeos-memory[full]       # Everything

MCP Server

Add to your agent's MCP config:

{
  "mcpServers": {
    "zeos-memory": {
      "command": "python",
      "args": ["-m", "zeos_memory"]
    }
  }
}

Tools: zeos_boot, zeos_snap, zeos_recall, zeos_curate, zeos_end.

Architecture

Tier Content Persistence
Long-Term SOUL identity, MEMORY.md Permanent, rolling synopsis
Mid-Term Session journals, blueprints Session-scoped, summarized
Short-Term Working state Ephemeral, checkpointed

Memory entries carry decay scores. Each session decrements non-pinned scores. Over-budget entries auto-archive. The system curates itself.

Protocol

zeos is a governance and persistence protocol for AI agents. It runs IN context, not ON hardware. See the full Protocol Specification.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeos_memory-0.1.0.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeos_memory-0.1.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file zeos_memory-0.1.0.tar.gz.

File metadata

  • Download URL: zeos_memory-0.1.0.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for zeos_memory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bde90ff33990e8831df4820dbb3f588334d8e793abc06e317e5d7edebdacdbb
MD5 3e577f0dd0ac24c495dd662e20684887
BLAKE2b-256 5e698aca26457967f5e692fe76c2332f91a73c7fdb8616dc8af9f609abf1a8ed

See more details on using hashes here.

File details

Details for the file zeos_memory-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zeos_memory-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for zeos_memory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef4c7154fc3b6424be10115514e140776db1d7324098417d8e78d7e2a7cd15ab
MD5 637d3271ca961203902908693cc65b83
BLAKE2b-256 9a2fa09fbd7a61deba5e4a89db1317a75fb60bfe68e54c390000333352e6adad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page