Skip to main content

Zero-config database for AI agents.

Project description

clawdb

Official Python client for ClawDB with sync and async APIs.

Install

pip install clawdb

Optional async extras:

pip install "clawdb[async]"

Quick Start

from clawdb import ClawDB

db = ClawDB(endpoint="http://localhost:50050", agent_id="py-agent")

memory_id = db.remember_typed("Customer prefers weekly updates", type="context", tags=["customer"])
hits = db.search("weekly updates", top_k=5, semantic=True)
branch = db.branch("customer-experiment")

print(memory_id, len(hits), branch.id)

Client Variants

  • ClawDB for synchronous code
  • AsyncClawDB for asyncio applications
  • clawdb() helper for environment-aware client creation

API Surface

The Python SDK covers:

  • health and readiness
  • session lifecycle
  • memory CRUD, search, recall, and listing
  • branch fork, inspect, diff, merge, discard, and archive
  • sync run, push, pull, reconcile, and status
  • reflection run, jobs, facts, preferences, contradictions, and resolution
  • transaction begin, remember, typed remember, commit, and rollback

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

clawdb-0.1.3.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

clawdb-0.1.3-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file clawdb-0.1.3.tar.gz.

File metadata

  • Download URL: clawdb-0.1.3.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for clawdb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 362b9f22cedab89fbab7a821c8b4ae683a913e13e6369ea4cca417ee5ddd9e7a
MD5 2f432d893be71490c26265a0d86d3a0e
BLAKE2b-256 6f8904cac443c9ffed953067889cc49acb06c506e284f96e2f724dba2fdf3f88

See more details on using hashes here.

File details

Details for the file clawdb-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: clawdb-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for clawdb-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7006eef34f05d898ccd8ccd8eebb760da639ae2517379a0fb095b41dfa6f8d9
MD5 b891843d998b105d8b7baa6394861793
BLAKE2b-256 d820f76eb93d4f7b7ee17c048323e1ee45aec6c378c4e43317cbd144ffdb494a

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