Skip to main content

Hebbrix Python SDK

PyPI version Python versions License

Official Python SDK for the Hebbrix api - the only memory API with Reinforcement Learning.

🚀 Features

  • Complete API Coverage - All 50+ endpoints supported
  • Reinforcement Learning - Train AI agents to optimize memory operations
  • Temporal Knowledge Graphs - Track facts over time with bi-temporal model
  • Procedural Memory - Store and execute learned skills
  • Working Memory - Short-term context buffer for conversations
  • Memory Consolidation - Automatic compression of episodic memories
  • Async/Await - Full async support with httpx
  • Type Hints - Complete type annotations
  • Clean API - Pythonic, intuitive interface

📦 Installation

pip install hebbrix

🔥 Quick Start

import asyncio
from hebbrix import MemoryClient

async def main():
    # Initialize client
    client = MemoryClient(api_key="mem_sk_your_api_key")

    # Create a collection
    collection = await client.collections.create(
        name="My AI Agent",
        description="Personal memory for my chatbot"
    )

    # Store a memory
    memory = await client.memories.create(
        collection_id=collection["id"],
        content="User prefers dark mode and loves Python",
        importance=0.9
    )

    # Search memories
    results = await client.search(
        query="What programming language does user like?",
        collection_id=collection["id"],
        limit=5
    )

    print(results)

    # Close client
    await client.close()

asyncio.run(main())

📚 Complete Documentation

Visit https://docs.hebbrix.com for full documentation.

🔗 Links

📄 License

MIT License - see LICENSE for details


Built with ❤️ by the Hebbrix team

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hebbrix-2.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

hebbrix-2.1.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file hebbrix-2.1.0.tar.gz.

File metadata

  • Download URL: hebbrix-2.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for hebbrix-2.1.0.tar.gz
Algorithm Hash digest
SHA256 e75b3f4d34515d9a506b51c8e424e52e75bd072b556b3c8389eeab9103dbe77e
MD5 fa34ba863faa215e19b0fcdccc530fa9
BLAKE2b-256 f81e2b9f69bb0361bbc5ad3105e328de96ec2672a5b3805d6c10d7c4167c464a

See more details on using hashes here.

File details

Details for the file hebbrix-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: hebbrix-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for hebbrix-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b537f43e65e0431f797edef5f7cf48bb065a8ef0e80f9039852030907cdee18c
MD5 1608ad53cec50794aa862fe7e78015be
BLAKE2b-256 d4067ba1345c0dfdf36d9314a575dd5bd4078dedbf307cc4f390d7b9562c0dde

See more details on using hashes here.

Release history Release notifications | RSS feed

2.4.1

2 files

2.4.0

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.0

2 files

2.1.1

2 files

This release

2.1.0 This release

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

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