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.4.tar.gz (18.1 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.4-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for clawdb-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d0049770cc178710fda4d1aa88aeafad8d417d233b29a88163eddf25c3c31e95
MD5 889c965bd4b7dddae99f6cf1be780226
BLAKE2b-256 efb9111a5655b13e2797bf4c6a09723def834199070379f8691e32e6d63d6b3f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clawdb-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8cacd43952c6de550e1ee07d8990f291282dc69a75b5a9ed1965f5eb2ac870e6
MD5 7aca3377fbe802679444d9b0e0754c6c
BLAKE2b-256 a54af7c1398b43ec62a016745821b50afa139c292fef339ca5c1df9d2dd3edd7

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