Skip to main content

The database for AI agents - zero-config, causal, edge-ready

Project description

KoruDelta Python Bindings

Python bindings for KoruDelta - The Causal Database.

Installation

pip install koru-delta

Or install from source:

git clone https://github.com/swyrknt/koru-delta.git
cd koru-delta/bindings/python
pip install maturin
maturin develop

Quick Start

import asyncio
from koru_delta import Database

async def main():
    async with Database() as db:
        # Store data
        await db.put("users", "alice", {"name": "Alice"})
        
        # Retrieve
        user = await db.get("users", "alice")
        print(user["name"])  # "Alice"

asyncio.run(main())

Run the Examples

# Quick start - basic operations
python examples/01_quickstart.py

# AI Agent - semantic memory with vectors
python examples/02_ai_agent.py

# Audit Trail - fraud detection with time-travel
python examples/03_audit_trail.py

# Config Management - incident post-mortem
python examples/04_config_management.py

Features

  • Causal Storage: Every change is versioned and auditable
  • Time-Travel: Query any historical state with get_at()
  • Vector Search: Built-in semantic search with embeddings
  • Natural Lifecycle: Hot→Warm→Cold→Deep memory tiers
  • Edge-Ready: 8MB binary, runs anywhere

Documentation

See the main repository for full documentation.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

koru_delta-2.0.0-cp39-abi3-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file koru_delta-2.0.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for koru_delta-2.0.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 732e53b0a92fb65b77842d68d85fa8d30a8a5407f4e10f8428653e1dc0953198
MD5 38c437bf8524badf3d1c032a261481b2
BLAKE2b-256 01e599907b9772a0d1cf40aceef51e7e3bceeacce9ed24fdf22830743d759799

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