mubit-langgraph
LangGraph BaseStore backed by MuBit.
This adapter now uses the canonical Python SDK transport internally instead of raw httpx, while preserving the LangGraph store interface and adding MuBit-specific helpers for MAS and long-running coding-agent loops.
Install
pip install mubit-langgraph[langgraph]
Basic usage
from mubit_langgraph import MubitStore
store = MubitStore(
endpoint="http://127.0.0.1:3000",
api_key="mbt_...",
)
store.batch(
[
PutOp(
namespace=("memories", "user-1", "session-1"),
key="deploy-note",
value={"text": "Canary before rollout.", "intent": "lesson"},
)
]
)
Namespace mapping
| Namespace | MuBit scope |
|---|---|
("memories",) |
global |
("memories", user_id) |
user-scoped |
("memories", user_id, session_id) |
user + session scoped |
Store behavior
PutOpwrites through MuBit control ingest withupsert_keyGetOpandSearchOpuse MuBit control query- evidence metadata is normalized from current MuBit response fields
- namespace listing remains local-cache based
- single-item delete remains a no-op because MuBit deletion is explicit and scope-based
MuBit extension methods
Existing MAS helpers:
checkpoint()record_outcome()surface_strategies()
Current observability and coordination helpers:
get_context()memory_health()diagnose()archive()dereference()register_agent()list_agents()handoff()feedback()
Config
| Parameter | Default | Purpose |
|---|---|---|
endpoint |
http://127.0.0.1:3000 |
MuBit HTTP endpoint |
api_key |
"" |
MuBit API key |
For tests or custom embedding, you can inject mubit_client directly.
Development
PYTHONPATH=sdk/python/mubit-sdk/src:integrations/python \
python3 -m unittest integrations.python.mubit_langgraph.tests.test_store -v
License
Apache-2.0
Metadata
Release files for mubit-langgraph 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mubit_langgraph-0.6.0.tar.gz | 12.6 kB | Without provenance | Details for mubit_langgraph-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mubit_langgraph-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for mubit_langgraph-0.6.0-py3-none-any.whl |
Total release size: 18.9 kB
Release files / mubit_langgraph-0.6.0.tar.gz
| Download URL | mubit_langgraph-0.6.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c314788da4e7dffc1e1448eb4ec2c04764708160ea45c1ead640353bef92d4fb
|
|
BLAKE2b-256 checksum How to use checksums |
785812e9f0c5435848c0daae7fdfc1fe68f8efd6a688ac6899d4d853e33d7238
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / mubit_langgraph-0.6.0-py3-none-any.whl
| Download URL | mubit_langgraph-0.6.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09f6b5288d6fb45dd0aa397c0796263bc4a92898a60719dfe6f03dae2d48d679
|
|
BLAKE2b-256 checksum How to use checksums |
2b1fac9c4fefdcb412bddbf1e944398f2a312fb7021c829a2ec0caaa3ee28157
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for mubit-langgraph 0.6.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.