Skip to main content

ACIS — AI Context & Intelligent System SDK. Persistent memory for LLM applications.

Project description

ACIS SDK

AI Context & Intelligent System — Memory for LLM Applications

Installation

pip install acis-memory

Quick Start

from acis import MemoryClient

# Point to your ACIS deployment
client = MemoryClient(
    tenant_id="your-tenant-uuid",
    base_url="http://your-acis-server:8000",
)

# Create session
session = client.create_session(user_id="user-123")

# Every turn:
client.add_event(session_id=session.session_id, role="user", content="Hello")
ctx = client.get_context(session_id=session.session_id, query="Hello")

# ctx.messages → pass directly to any LLM (OpenAI, Azure, Anthropic, etc.)
response = your_llm(messages=ctx.messages)

client.add_event(session_id=session.session_id, role="assistant", content=response)

# End conversation
client.close_session(session_id=session.session_id)

What is ACIS?

ACIS provides persistent memory for AI assistants. It automatically:

  • Stores conversation history (Short-Term Memory)
  • Extracts facts, preferences, and constraints (Long-Term Memory)
  • Assembles relevant context for every LLM call (token-budgeted)
  • Handles memory decay, contradiction detection, and entity graphs

Requirements

  • Python 3.9+
  • An ACIS server deployment (contact your admin for base_url and tenant_id)

Only Dependency

  • httpx (HTTP client)

That's it. No PostgreSQL, Redis, Celery, or Django needed on the app side.

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

acis_memory-1.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

acis_memory-1.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file acis_memory-1.0.1.tar.gz.

File metadata

  • Download URL: acis_memory-1.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for acis_memory-1.0.1.tar.gz
Algorithm Hash digest
SHA256 95a671c2cb8b592c7b06037162d8c1fa9102ac239494ea8989efa6dc101fe1c4
MD5 e2a1e4df03c40c5df1f7d8384d52bbc4
BLAKE2b-256 1327af0c2505e7ca84f4cd505528ca835ed0ec5e0d6f583e0d90b87aae9baa84

See more details on using hashes here.

File details

Details for the file acis_memory-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: acis_memory-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for acis_memory-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce224926738a6b5a4e4d69bde63df7d8060f3dec66d79b83f9b0b3da8d3e9918
MD5 194bae479c65abff454435a5bf07ca1a
BLAKE2b-256 cc4bde5983f726bd6fd40bc69dc208ffd8111f0bb438d66333ab5d680e21368c

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