Skip to main content

Axim Memory SDK

PyPI Version Python Versions License: Proprietary

Axim Memory SDK™ is an enterprise-grade AI memory and extreme vector compression engine engineered by Cognitus Lab. Designed specifically for autonomous AI agents, multi-agent frameworks, and conversational pipelines, it provides instantaneous context recall and persistent local vector storage backed by a compiled, native Rust SIMD core.


⚠️ Proprietary Notice & License Terms

Axim Memory SDK™ is 100% Cognitus Lab Property. This software is licensed for execution only under the terms of the Cognitus Lab Proprietary End User License Agreement (EULA).

  • Execution-Only License: Conditioned upon compliance with the EULA, users are licensed to download and run compiled packages to power AI workloads.
  • Strict Restrictions: Resale, sublicensing, unauthorized mirroring, commercial redistribution, and decompilation/reverse-engineering are strictly prohibited.
  • See the full LICENSE for legal terms.

Key Features

  • ⚡ Native Rust SIMD Acceleration: Core quantization, bitwise Hamming distances, and vector projections are compiled directly into stripped native machine code via Maturin/PyO3.
  • 🤖 Drop-in Agent Harness Connectors: First-class support for autonomous agent loops, prompt synthesis, and tool-calling schemas (OpenAI, Anthropic, Gemini, LangChain, CrewAI, AutoGen).
  • 🛡️ Strict User & Tenant Isolation: Multi-tenant memory management ensures that queries and stored memories are strictly isolated by user_id.
  • 📦 Zero External Runtime Python Dependencies: Pure standard library Python with a compiled native engine — zero third-party pip dependencies required.
  • 💾 Crash-Resilient Persistence: Atomic disk-commit protocol guarantees zero file corruption during unexpected power loss or process termination.

Installation

Install the official package directly from PyPI:

pip install axim-memory-sdk

Agent Harness Integration (Quick Start)

Plug Axim Memory directly into any autonomous agent loop:

from axim_memory import AgentMemory

# 1. Define any vector embedding provider (OpenAI, Ollama, Cohere, etc.)
def get_embedding(text: str):
    return [0.1, -0.2, 0.4, 0.8] * 256  # 1024-dimension vector

# 2. Initialize the agent memory harness
memory = AgentMemory(
    embedding_fn=get_embedding,
    storage_path="~/.agent_memory.json",
    original_dim=1024,
    target_dim=128,
)

# 3. Record interactions and episodic facts
memory.remember_interaction(
    user_prompt="I prefer dark mode and concise TypeScript code",
    agent_response="Preferences noted: dark mode and TypeScript.",
    user_id="dev_user",
)

# 4. Inject memory context directly into your LLM system prompt
prompt_context = memory.build_system_prompt_context(
    query="Write a button component",
    user_id="dev_user",
)
print("System Prompt Context:\n", prompt_context)
# Output:
# <user_memory>
# - User: I prefer dark mode and concise TypeScript code Agent: Preferences noted...
# </user_memory>

# 5. Export as an Agent Tool Schema (OpenAI / Anthropic / Gemini function calling)
tool_schema = memory.as_tool()

Core Dual-Layer API (MultiLayerMemory)

For custom low-level retrieval architectures:

from axim_memory import MultiLayerMemory

mem = MultiLayerMemory(
    embedding_fn=get_embedding,
    original_dim=1024,
    target_dim=128,
)

# Store memory
mem.add("Project deadline is next Friday", user_id="alice")

# Search dual tiers (fast cache + persistent store)
results = mem.search("When is the project due?", user_id="alice")
print(results)

Support & Enterprise Licensing

For enterprise licensing inquiries, custom OEM runtime integration, or support:

Metadata

Release files for axim-memory-sdk 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axim-memory-sdk 0.2.2
File Size Uploaded Provenance Actions
axim_memory_sdk-0.2.2.tar.gz 23.0 kB Without provenance Details for axim_memory_sdk-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for axim-memory-sdk 0.2.2
File Interpreter ABI Platform Actions
axim_memory_sdk-0.2.2-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for axim_memory_sdk-0.2.2-cp39-abi3-macosx_11_0_arm64.whl

Total release size: 344.2 kB

Release files / axim_memory_sdk-0.2.2.tar.gz

Download URL axim_memory_sdk-0.2.2.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
425ef5cd966e46ea88fab43ca12ded18c7f65fd0113de789c87a1e1d63c6913e
BLAKE2b-256 checksum
How to use checksums
d39eaee236cffaa7138c78296c91c96cb1974541f491b88b993cb7b419137598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release files / axim_memory_sdk-0.2.2-cp39-abi3-macosx_11_0_arm64.whl

Download URL axim_memory_sdk-0.2.2-cp39-abi3-macosx_11_0_arm64.whl
Size 321.2 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e6e87cbd1b6919b56ed00bb6efe8ff5c79ce70a8340d4dae8ccb36e0d4d2fe31
BLAKE2b-256 checksum
How to use checksums
a9a5e098692b5de6f59c9314b9fa659a54dd0ece9aebc1c3284b0b8da0942e30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Security for axim-memory-sdk 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page