Skip to main content

Agent-native database with causal memory, composite-scored recall, and storage-layer policy enforcement

Project description

meta-agents-db

Agent-native database with causal memory, composite-scored recall, and storage-layer policy enforcement.

The first database designed for autonomous AI agents.

Install

pip install meta-agents-db

Quick start

from meta_agents_db import MetaAgentsDB

db = MetaAgentsDB("./data")
event_id = db.write(content="SPY broke below 200-day MA", tags=["signal", "SPY"])
results = db.recall("SPY bearish signals", top_k=10)
chain = db.trace_cause(event_id, direction="backward", max_depth=5)

Features

  • Causal DAG — every memory links to its causes; trace full decision chains
  • 5-signal composite recall — vector similarity + recency + causal proximity + importance + tag overlap
  • Storage-layer policy — risk caps, budget caps, rate limits enforced at write time
  • HNSW vector index — sub-millisecond approximate nearest neighbor search
  • Session caching — deduplicates repeated recalls within a pipeline cycle
  • MVCC — snapshot isolation for concurrent readers/writers
  • WAL + SSTables — crash-safe append-only log with background compaction

License

Apache-2.0

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.

meta_agents_db-0.2.0-cp39-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.9+Windows x86-64

meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

meta_agents_db-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file meta_agents_db-0.2.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for meta_agents_db-0.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b07d30191bb3cc0048c9b43fd3ced849d9ffeb76c02d49dc9eb95035d025dcc
MD5 fb5e74d4ef62eddecba442b451e4186a
BLAKE2b-256 116503fc68dba3d4c4376c99d4c698f15f69230f76320f7b0d141b1cb30e7f6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_agents_db-0.2.0-cp39-abi3-win_amd64.whl:

Publisher: ci.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 meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51dcb12b0305884cdbc852bca6924494124ba627538404451523f1ad8e77eab8
MD5 5251b86d2dfa3a2c91c1ac8de4a90edd
BLAKE2b-256 698b3c2b6360fd7ca424e7b9013e48d0376f8b8ce4212e89486ac8a239156c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.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 meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 68c8f776721f6cc817e60386f892d7640312807c3fe3efd920beed72b5871a3f
MD5 d30e6d7980756ae2b1ae8d90edb5a219
BLAKE2b-256 3af8b64b14ee0f8ce7cc3450c9e05fe440d94396931fc6255d3fa131d992a3f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_agents_db-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.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 meta_agents_db-0.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for meta_agents_db-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5339ff90bbf3d14472f61cf8cac142880f925c9e3568cf544380b4bbc5d35e6c
MD5 cc5aeb85e6962b6d302ab339991bd89f
BLAKE2b-256 d9c9afb00f357f10dec538220cfe01652f80bfdd6a28c09ab1d88c84ac50e50c

See more details on using hashes here.

Provenance

The following attestation bundles were made for meta_agents_db-0.2.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: ci.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