Skip to main content

The ultimate memory system library for AI agents.

Project description

outomem

outomem logo

Outomem is the ultimate memory system library for AI agents. This tool manages user preferences, finds contradictions, and builds context for agents. The system organizes data into four layers: personalization, long term, temporal sessions, and raw facts. It tracks sentiment and detects when a user changes their mind by looking for polarity flips. Memory strength decays over time to keep context fresh. We built it with a Korean first design approach.

Installation

pip install outomem

Note: You need external database instances running.

Quick Start

from outomem import Outomem

# Initialize the memory system
memory = Outomem(
    provider="openai-responses",
    base_url="https://api.openai.com/v1/responses",
    api_key="your-api-key",
    model="gpt-5.4",
    embed_api_url="https://api.openai.com/v1/embeddings",
    embed_api_key="your-api-key",
    embed_model="text-embedding-3-small",
    neo4j_uri="bolt://localhost:7687",
    neo4j_user="neo4j",
    neo4j_password="password",
    db_path="./outomem.lance",
    style_path="./style.md"
)

# Store a new memory
memory.remember("I prefer dark mode for all my applications.")

# Get context for a query
context = memory.get_context("What are the user's UI preferences?")
print(context)

Philosophy

See Design Philosophy.

Architecture Overview

Outomem uses a layered approach to manage different types of information. The vector store handles semantic retrieval while the graph store manages complex relationships between facts. This hybrid setup allows for both fast similarity search and deep graph traversal.

See Architecture for more details.

API Overview

Class Description
Outomem Main API for managing agent memory and context.
LayerManager Handles vector storage and retrieval.
GraphLayerManager Manages graph database operations for relational facts.

Documentation Index

Core Concepts

Project Management

Requirements

  • Python >= 3.10
  • External database instances (configurable)

License

Apache License 2.0 - See LICENSE

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

outomem-0.3.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

outomem-0.3.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file outomem-0.3.0.tar.gz.

File metadata

  • Download URL: outomem-0.3.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for outomem-0.3.0.tar.gz
Algorithm Hash digest
SHA256 138a7153ea107afdb6d27260e5748c381c3bd2d7e006ede50554af20f86fedd0
MD5 4299b715c1136b1f6dc4a1e0c3233f32
BLAKE2b-256 8e19ab7db72c0fb7d2212ef2ef4fb3cbd392c708831583569a10137cc69d0ece

See more details on using hashes here.

Provenance

The following attestation bundles were made for outomem-0.3.0.tar.gz:

Publisher: publish.yml on llaa33219/outomem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file outomem-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: outomem-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for outomem-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dae13166923fcf88d5da94d889b6923cc510494b4fb44fce5aebc6134307d3f6
MD5 54a40c6a8f1ffd0e153cffac32f0c024
BLAKE2b-256 7fe38a3e4810eb802a769cd009ed5fe4698382114d9aed3f63684d63a7c0dfed

See more details on using hashes here.

Provenance

The following attestation bundles were made for outomem-0.3.0-py3-none-any.whl:

Publisher: publish.yml on llaa33219/outomem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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