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-brain

With LLM integrations

pip install agentic-brain[anthropic]   # Claude
pip install agentic-brain[openai]      # GPT
pip install agentic-brain[ollama]      # Local models
pip install agentic-brain[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.2.0.tar.gz (36.7 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.2.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentic_brain-0.2.0.tar.gz
  • Upload date:
  • Size: 36.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 d9bf7c916b438b81fa291d307b88e22f6f43ef952661ea356981c2110b7274d4
MD5 60a4e487183d8cb3ad88b2d542e2e2f1
BLAKE2b-256 4f1e1bab272ed46050deb5a147774d3777c55c78038cd23675931b1f6446d1fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentic_brain-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 918fd9092d0e85a616b292b0095cfe19d3a6ab84976ae8e80b4bc68f85747ded
MD5 9ea7e8c04aff148ab94fe2cc25ed0c5c
BLAKE2b-256 f9148ec4be540bf49fa988321af622de29a0721c7205cc868dd77bbda53075d7

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