Skip to main content

Drop-in Anthropic client with MADB causal memory. One import, every turn persisted.

Project description

madb-anthropic

Drop-in Anthropic client with automatic MADB causal memory. One import, every turn persisted.

# Before
# from anthropic import Anthropic

# After
from madb_anthropic import Anthropic

client = Anthropic(tenant_id="my-agent")
# Every client.messages.create() call now:
#   1. Recalls relevant prior memories (composite-scored),
#   2. Prepends them to the system prompt,
#   3. Calls Anthropic as usual,
#   4. Persists the turn with caused_by set to the strongest recalled memory.

No other code changes. See the monorepo's examples/basic_usage.py for a runnable demo.

Install

pip install madb-anthropic

Depends on:

  • anthropic>=0.40
  • meta-agents-db>=0.2 (the MADB engine wheel)

Both are pulled in automatically by pip.

Environment variables

Variable Default Purpose
MADB_TENANT_ID "default" Tenant isolation key. Use one tenant per long-running agent identity, not per session.
MADB_DATA_DIR ~/.madb/data Local engine storage directory.
MADB_API_ENDPOINT (unset) Reserved. When the hosted MADB API launches, set to route writes/reads to the managed tier. Currently emits a one-shot warning and falls back to local mode.
MADB_API_KEY (unset) Reserved. Paired with MADB_API_ENDPOINT above.

License

Meta-Agents.AI Proprietary License v1.0.

  • You may install and run this client in your own infrastructure for your own users.
  • You may not redistribute, reverse-engineer, or offer it as a hosted service to third parties.
  • Source code is not public. The wheel ships compiled binaries only.
  • For source access, OEM / embed rights, or hosted-service rights: 01@meta-agents.ai.

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 Distributions

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

madb_anthropic-0.2.10-cp313-cp313-win_amd64.whl (85.5 kB view details)

Uploaded CPython 3.13Windows x86-64

madb_anthropic-0.2.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (629.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.10-cp313-cp313-macosx_11_0_arm64.whl (89.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

madb_anthropic-0.2.10-cp312-cp312-win_amd64.whl (85.4 kB view details)

Uploaded CPython 3.12Windows x86-64

madb_anthropic-0.2.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (627.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.10-cp312-cp312-macosx_11_0_arm64.whl (91.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

madb_anthropic-0.2.10-cp311-cp311-win_amd64.whl (87.3 kB view details)

Uploaded CPython 3.11Windows x86-64

madb_anthropic-0.2.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (650.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.10-cp311-cp311-macosx_11_0_arm64.whl (92.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

madb_anthropic-0.2.10-cp310-cp310-win_amd64.whl (86.3 kB view details)

Uploaded CPython 3.10Windows x86-64

madb_anthropic-0.2.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (610.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.10-cp310-cp310-macosx_11_0_arm64.whl (93.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file madb_anthropic-0.2.10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 afaa54599ace753366c97b724c7a103d36aa09949a5b729fcccd61c8ce871adc
MD5 896a406deee9812e70a2406cc2778717
BLAKE2b-256 eef7b51f9e50ede7001e9de8234b35a04e88b90a35fde2ec01e677fffbe671fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp313-cp313-win_amd64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72e824b1c08a8b600fdeba2ed30085332a8c193940a2ea540ff4cfe0c59ad584
MD5 d2f0b40099bb0abc65ff6f743356c990
BLAKE2b-256 249769a27ffff97a0d75743c90aa610a48d8a9b4598a2f3bb020a1184a8cb4a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 973149846ba807c4c4c2a2fdeff3a4b69fa379f5cfc2c4ed2cf6615c1ffb491d
MD5 1668d823711617f9f24f19254c178f1f
BLAKE2b-256 075474ee3a497a622e46b8b89c095a1aaeb0b740d444113baf9d6487b85b3286

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d3fb16746699b8177ab9d3a27cd554e084f1f0f5725df99a7a6a89b19df42eb7
MD5 40663dde50525e0e15141a63dfe01e9c
BLAKE2b-256 eb8ba6c9e9e9e699fb4b608feceb91652c2825335cf27ff727e0f6126ed3a415

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp312-cp312-win_amd64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 31d3c384ea701f32d68dc4a056a978a877e115de8aeea7eb4175c87fe3089bd2
MD5 a457cbc5d757a16b4dbdab88c9d22b6e
BLAKE2b-256 d4a825302c3907f8d82cb5faead506585dfad3092636a5fadf05872e8e0b4ce9

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b025ea0cd1af3cf6f3b3eae1dc6bb1fb8ef4177ac3352d63eae05054dc690ae3
MD5 1398de818d610cb083dc71cb64dcac2c
BLAKE2b-256 b22deb3b7acdc7b2d6965be4bd2b8bd6d00d6acaca0b67af623df0212267aee5

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4b4cae184d72b82386b8acc0b246e6bee5d74c9bc587bd968e7d61a352fc0cd3
MD5 baf886274c40125536010c6ca8f39981
BLAKE2b-256 b3e4906d6eef25de80dcef472987855fb2e68ee1b1031d655f02644e8a3f7b41

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp311-cp311-win_amd64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ad0f3efc4e75a0ea2d6232d1754d918f950392f9ab0ba27a2ea2a4feacdf63a8
MD5 85ae99fc554ccf975e0a502b7d76f5d4
BLAKE2b-256 13934c02dd891d5a84f4c7ef738b5a431ccf23e78a9e5af864e08570f80d6ec3

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 29db5adc36d64acd7ff87610603c2758a0bf61f22a63b761be320eea30f6ccc1
MD5 fbf39ed32bc6f9912529cdc67835d0f9
BLAKE2b-256 59b819c64ceab9b56c73a3d156505ad09fdad0e31d2ac3ddc97f0be830631fc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6091d0750fbee12d1362b56bd6def407cf8c5a99e889f48b57f5f197fa86cb9f
MD5 398f76e28ff6c7b7d7b71b250ba9b767
BLAKE2b-256 a62563c566a90ec4ceebd9996e0bc570f7ae3f1ad3a2969abb731872b939cab1

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp310-cp310-win_amd64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1cb5f8460c95cfb22cbc3977e336db277e089d1358ad4f12c40e8716983b5277
MD5 7c6b5e262ff1e21b78ccbd5b296c9d87
BLAKE2b-256 6e0c0ee7da919004866ab82e4eaf0d6b5f2b0c9ce363eeef6530770c1f557a22

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file madb_anthropic-0.2.10-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.10-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0f2c62999b41341bcc9afe775002d4947c00bd2569b6eb6569cdeabe5ea0a5c
MD5 4fa5720ce79cf7e30d3c8c5d56ee03cd
BLAKE2b-256 eb581f7cad7034984ec0923401ba594332e0d62b988e86c550847dbeaf13b886

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.10-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release-anthropic-shim.yml on spshkar84/meta-agents-db-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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