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
ClawDBfor synchronous codeAsyncClawDBfor asyncio applicationsclawdb()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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
clawdb-0.1.3-py3-none-any.whl
(24.2 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
362b9f22cedab89fbab7a821c8b4ae683a913e13e6369ea4cca417ee5ddd9e7a
|
|
| MD5 |
2f432d893be71490c26265a0d86d3a0e
|
|
| BLAKE2b-256 |
6f8904cac443c9ffed953067889cc49acb06c506e284f96e2f724dba2fdf3f88
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7006eef34f05d898ccd8ccd8eebb760da639ae2517379a0fb095b41dfa6f8d9
|
|
| MD5 |
b891843d998b105d8b7baa6394861793
|
|
| BLAKE2b-256 |
d820f76eb93d4f7b7ee17c048323e1ee45aec6c378c4e43317cbd144ffdb494a
|