Skip to main content

Portable binary graph memory for AI agents

Project description

AgenticMemory Python SDK

Python SDK for AgenticMemory — portable binary graph memory for AI agents.

Install

pip install agentic-memory

With LLM integrations

pip install agentic-memory[anthropic]   # Claude
pip install agentic-memory[openai]      # GPT
pip install agentic-memory[ollama]      # Local models
pip install agentic-memory[all]         # All providers

Quick Start

from agentic_memory import Brain

brain = Brain("my_agent.amem")
brain.add_fact("User is a Python developer", session=1)
brain.add_decision("Recommended FastAPI for REST APIs", session=1)

print(brain.facts())
print(brain.info())

With LLM Integration

from agentic_memory import Brain, MemoryAgent
from agentic_memory.integrations import AnthropicProvider

brain = Brain("my_agent.amem")
agent = MemoryAgent(brain, AnthropicProvider())

response = agent.chat("My name is Alice. I work on ML systems.", session=1)
response = agent.chat("What do I work on?", session=2)

Requirements

  • Python >= 3.10
  • amem binary (Rust core engine) — install via cargo install amem

Documentation

License

MIT

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

agentic_brain-0.1.0.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

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

agentic_brain-0.1.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentic_brain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f3fe7738cea00f237343471fcdc0d1973239aa2713b48072a011a0b8d56629f
MD5 c6d61daa71b82da5accd6232b37adab9
BLAKE2b-256 ec8434ecb7cf77bf67a133af8fd28af966df79d4a46f298c6f8a8dce5ca5d872

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agentic_brain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34ddca34fa117ba2d4b8c8b83dae915b96572feebb1981de17100e68e3df9a9e
MD5 9628d01c1d45efb1c8331f04e47ac407
BLAKE2b-256 577bdf64e488db9344f6b1989184b1d9e3824270ae2ff103b1209ef19b1b339d

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