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.

Metadata

Release files for madb-anthropic 0.2.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for madb-anthropic 0.2.14
File
madb_anthropic-0.2.14-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
madb_anthropic-0.2.14-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
madb_anthropic-0.2.14-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
madb_anthropic-0.2.14-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
madb_anthropic-0.2.14-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
madb_anthropic-0.2.14-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
madb_anthropic-0.2.14-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
madb_anthropic-0.2.14-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 5.9 MB

Release files / madb_anthropic-0.2.14-cp313-cp313-win_amd64.whl

Download URL madb_anthropic-0.2.14-cp313-cp313-win_amd64.whl
Size 89.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
098ba33a78a3c08d0ca00d630c4fd3094a3c319e300cd33c760c5adf81754f54
BLAKE2b-256 checksum
How to use checksums
7ca2b78e22434bc2d4bf1d11ab615887ea031b44c24555f993ebe7c581d451b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 640.8 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
bcb2fbfe1ea9f7d6e61eee8cfd46c02ec5c3d21085c9b66732be2d38ff6b07b4
BLAKE2b-256 checksum
How to use checksums
20c26d791381e546975c083800432bdf378b9c5a7746ac1c7a10cc042f07b2cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL madb_anthropic-0.2.14-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 631.2 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
049c26f5e1c4a2ef6161a3636ebef86766feb2e95f39d799f51e39dda4d6f8ad
BLAKE2b-256 checksum
How to use checksums
d2fdb59b6fcf0c38a06f46c4ff3248ad3200adab5190053661f07a7eb867bd44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp313-cp313-macosx_11_0_arm64.whl

Download URL madb_anthropic-0.2.14-cp313-cp313-macosx_11_0_arm64.whl
Size 93.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
056efe187b5c5ff207bbd809f658cdf830c70148d91885628914248682bea44f
BLAKE2b-256 checksum
How to use checksums
aef738e75271662ef5cea08fa95fbd59a81534fb2cddf7f526cfac1381e7e91a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp312-cp312-win_amd64.whl

Download URL madb_anthropic-0.2.14-cp312-cp312-win_amd64.whl
Size 89.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a09aba14fa2df5c84ac7f38486931bea92d80eab41f6f07a012526e5f4978cca
BLAKE2b-256 checksum
How to use checksums
fcd5175cb0a13db7950bed7165860ec4e54eb6cb9977b5133c1d95897a7593ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 641.9 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1ce9390b0821bfdd8f45eab7e539e0776d99a3bbb7c611ac432a0228b13c0195
BLAKE2b-256 checksum
How to use checksums
2a251771ab7855dbd3b9fa94b244a0b23d3be231e824d677ef70081b775a3cf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL madb_anthropic-0.2.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 631.9 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
c3560d954f1c0a5400433a39205618802a26415688a5174d3fb535de74ba2ee0
BLAKE2b-256 checksum
How to use checksums
84c9caa436b7f6461c6ed0882af327901ca431dd9a1cc87caeca04aca7e7ec1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp312-cp312-macosx_11_0_arm64.whl

Download URL madb_anthropic-0.2.14-cp312-cp312-macosx_11_0_arm64.whl
Size 94.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ebf9a4d4c08c21d5d694943fa24aac321d2a7b07ae2eb0694f729f7e3bfefe7c
BLAKE2b-256 checksum
How to use checksums
f601c85f1eb1ba60bf7d8695d7955097ad12933927f5cab0525c3f99dddc5815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp311-cp311-win_amd64.whl

Download URL madb_anthropic-0.2.14-cp311-cp311-win_amd64.whl
Size 90.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e9ed380b3aee9b506e78b0add414ca0d90f61a85a18b6486e0b152c98fc2f586
BLAKE2b-256 checksum
How to use checksums
6b14d927f4e6a6b6e71a4be56918fc02f77b05d20fa01fa33d68b89eaf4a6d1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 666.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3714bc772889bee0826316bee293016252d8b7c58e8a9ed6704eb3a273253d64
BLAKE2b-256 checksum
How to use checksums
9d73495811337a62617139862b8b0e8575fecb1118c9f61452aa25bebb1061a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL madb_anthropic-0.2.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 669.0 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
920f63172b80744001d530963bdac0b4be829d81009b765c952c58a02d4d5d2e
BLAKE2b-256 checksum
How to use checksums
4fecc5644fb856229b9d52c817edd5d73e78d4e98a2d83d06e7bf72d3d03f4b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp311-cp311-macosx_11_0_arm64.whl

Download URL madb_anthropic-0.2.14-cp311-cp311-macosx_11_0_arm64.whl
Size 95.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
153bc3d7e41ccf30f13d13ed8dc5eaf33b32d6d14940fcefec6b3798fc11b37d
BLAKE2b-256 checksum
How to use checksums
b55b249e04332bb9d1fdf54b3f9ae981cf3f5626055e147d143f2770f77e559a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp310-cp310-win_amd64.whl

Download URL madb_anthropic-0.2.14-cp310-cp310-win_amd64.whl
Size 90.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
4de093e88472df84118663b56740425627492bd0936d045e847b259466d426b8
BLAKE2b-256 checksum
How to use checksums
022f2e28e6e51c3ace2891cbce746846df4be2de3e1d30019bc8e9f803928302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 633.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
567d27dcb35f1609c3e4a380fde4aabdcb2fe3b155710c223256b25224583849
BLAKE2b-256 checksum
How to use checksums
3ac97f4c7512bd4b917e1b2b0b41de424ba24e4a7549acc6fe66314bec453e6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL madb_anthropic-0.2.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 636.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
a775b6f9d00b6b79da5149c9c321b2ee329578bb937dd7d7858d9f7736604ad5
BLAKE2b-256 checksum
How to use checksums
9254f55106f63a7cab673188c519547d080df3f747cbff0cd3ac795b4f837501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / madb_anthropic-0.2.14-cp310-cp310-macosx_11_0_arm64.whl

Download URL madb_anthropic-0.2.14-cp310-cp310-macosx_11_0_arm64.whl
Size 96.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
09ef9620887dbdd87e82b637682e30b04a8982f1f90985cf3757228e1b6604b1
BLAKE2b-256 checksum
How to use checksums
26c3755f8f63b895dcc6c27a42fab2934ec3ad927e17193f7d2fb5ef05bfed28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Security for madb-anthropic 0.2.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for madb_anthropic-0.2.14-cp313-cp313-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.14 This release

16 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page