Skip to main content

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.

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.13-cp313-cp313-win_amd64.whl (89.2 kB view details)

Uploaded CPython 3.13Windows x86-64

madb_anthropic-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (640.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (631.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

madb_anthropic-0.2.13-cp313-cp313-macosx_11_0_arm64.whl (93.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

madb_anthropic-0.2.13-cp312-cp312-win_amd64.whl (89.4 kB view details)

Uploaded CPython 3.12Windows x86-64

madb_anthropic-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (641.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (631.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

madb_anthropic-0.2.13-cp312-cp312-macosx_11_0_arm64.whl (94.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

madb_anthropic-0.2.13-cp311-cp311-win_amd64.whl (90.8 kB view details)

Uploaded CPython 3.11Windows x86-64

madb_anthropic-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (666.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (669.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

madb_anthropic-0.2.13-cp311-cp311-macosx_11_0_arm64.whl (95.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

madb_anthropic-0.2.13-cp310-cp310-win_amd64.whl (90.6 kB view details)

Uploaded CPython 3.10Windows x86-64

madb_anthropic-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (633.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

madb_anthropic-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (636.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

madb_anthropic-0.2.13-cp310-cp310-macosx_11_0_arm64.whl (96.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a272134be3d1fed5b8c56b312366b0d259bd852d965b437fc878782e4bbf7422
MD5 a3d2b2117e27bd3a4a7788a19cfdb42a
BLAKE2b-256 45fbe9784a1f24f830b9c8478ebb9c7ce91f5c17ee3159e2c5e527cc81f38a3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 020ed9f31ced608ef7765c5509b3ff309f99f9cddb3fdee45dff576cd3a60aaa
MD5 896f23a1d65b9f5f9635b7b560ffc5fb
BLAKE2b-256 c7ae430c43a01f4e06ad5eeccdc51ca5425759c4876368290e19c0fd3d040a58

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1858fd5e763edf8f9e3ccd486504929a1fa57dbee4413ebc2513d4546ffec72
MD5 0501333406f95b2ad802c50c3c22ac1f
BLAKE2b-256 ee222023962449a42f89e641bf4c3577737b58f12802e94c604fd8933e3cc902

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.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.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f74ecb622243389edc42034fb56310840f227731817f149bb37b35d4caa57a73
MD5 1f7a7deeb1f3f4dda59f35aa04a595a6
BLAKE2b-256 e233f228fb3e59e2043d4e194f359bbdff7f614915c916444d2f06a17cfd5e3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8fce77638b14cce6fddcf99dc292e34461be3549a7289d487dc711c1b98153d3
MD5 5196d1e595873ff9b8058cea535b6028
BLAKE2b-256 70b4e08e062bc47951d2a24c398865052aa9ee18913be30dc7d0194946750855

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2dfb75ed9481ffa0032719b334cad8c21153ea8345129aaa2f83fe21fd205011
MD5 2fddb05498c70d80543f3a40fbb83bab
BLAKE2b-256 1b1cd931273c2e17bd8233bbe67f67417ffb4c27945e6b60f290090723eb76eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd6959761c195f3996363c929584812ed3d3fa63ca2d3b00c531b8dcb9c967af
MD5 9e15089f4f84a1f9d6a7d95160e6dc9f
BLAKE2b-256 e043f4968fe8d49fefb8f11632c95c029470dfabd0f3234af601fcefb7c09d34

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.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.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8301ba774e7bd6a30e9eccab377761d1cd25d2e9c5b728d80048da9372e4a4a0
MD5 065f1c838cbce686b71b598d112f7ddf
BLAKE2b-256 05fe39ac501ddd83a619e05e873017f41f72facbd90ebb927074d113fb837fb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c7591e0c4b20db84a2eeabaf7eee266ea043130e662867fb4be1bf58e2cf7ab8
MD5 0f97b3ad4398f0624e9296afd306720d
BLAKE2b-256 5bb3c75fc9fbd39a311898124e3db217d7c0a52b8a59c2affa85d1dd9527b528

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e35cd8240da54f64fd0716bfeec9fd4972e87c2b3e0b371adfed95ff3cf2660
MD5 b6b36bbbfdc0aff3491391e71588e31a
BLAKE2b-256 26ae9a6cf20edf9ac16df71bb90890602402798f2f4f4c90e1a69084c6fd469b

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7615098db6e8ae5e1142f9271e3e3adae6f899049a574de5e86b3f2665480a8
MD5 7c9cc0419d9cc09475e9b542eacd47ff
BLAKE2b-256 d0b8a80fcacc5f32e764e01ca63358415d43486c878aa009ee2afe1d5de99995

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.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.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b66ea8eb3a6434c2312e36d40d028a7589cb106251393cea098c72dee89c7c3d
MD5 9d317c112981e8cc90aa81d3921f5825
BLAKE2b-256 1483fe536da8a9f6b67def2288f3998af14ba0b6331ebfcf3aeafba18c4621b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2ed470b8a3b4f66d63cd66d82b317918546ee8a47e78a39392f2748dd6ee357f
MD5 f003b0ac86e1b2c552e0172961d92fca
BLAKE2b-256 351383ba212dd0d723b81da4abcbb802d622efdff77654b1699226bf25b97fec

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c6866e7c0227f6da4318e689134d6e7f92f1d5d152e8004c189cac91ebcb294
MD5 4f2c2921fe2fd39cc1106e6467cb826c
BLAKE2b-256 179ca70747fc0ae18a6490e496a20aba13a38bad583772088190fa4fc3da23d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 19171675d065c3f036a1000a3b4b9bb5d724ac6eb0bebe4872793de73c630a1c
MD5 937eda3cb8b0639587eca4d6ca86b4f8
BLAKE2b-256 d050084451bd5048d27952732ec07b9a310590998c2f4796f74fca5573a70cf1

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.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.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for madb_anthropic-0.2.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbb53cdf2debfd75b87c3a71e9066804c7b409dfa1610fc6e12044229e776b82
MD5 fd6f8f755fc95171905664a1f11e7a91
BLAKE2b-256 80e74376e319cb88808a0e082ca3a154c3496743f7e1435998e3c835deaf291c

See more details on using hashes here.

Provenance

The following attestation bundles were made for madb_anthropic-0.2.13-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.

Release history Release notifications | RSS feed

This release

0.2.13 This release

16 files

0.2.12

16 files

0.2.11

16 files

0.2.10

12 files

0.2.6

12 files

0.1.0

12 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page