Mackin (Python)
Shared reasoning memory for parallel multi-agent systems.
Install
pip install mackin
For enhanced embeddings with Anthropic API:
pip install mackin[anthropic]
Quick start
from mackin import MackinStore
memory = MackinStore(session_id="my-task")
# Agent A writes reasoning
await memory.write(
agent="researcher",
decision="use Q4 2024 earnings report",
reasoning="Most recent and authoritative source",
confidence=0.9,
tags=["source-selection"]
)
# Agent B reads structured context
context = await memory.read(
agent="writer",
filter={"tags": ["source-selection"], "confidence_min": 0.8}
)
# Detect conflicts
conflicts = await memory.conflicts(topic="revenue")
# Full trace
trace = await memory.trace()
No API key required
Mackin works out of the box with local hash-based embeddings. Set ANTHROPIC_API_KEY for higher-quality semantic search via Claude embeddings.
Full documentation
See the main repository README.
Release files for mackin 0.1.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 | |
|---|---|---|---|
| mackin-0.1.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mackin-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / mackin-0.1.0.tar.gz
| Download URL | mackin-0.1.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0723f5820795fdb587faaaefdca735ab68244371fdc39acae4ed19adc1e2470
|
|
BLAKE2b-256 checksum How to use checksums |
32b93651048dee50b0a6ff47d55a8b4869f398aaff565a7150d64a7039bfa428
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / mackin-0.1.0-py3-none-any.whl
| Download URL | mackin-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
778c25dbac1c6c69cf3439ba3fd72d345fd58db11b3eca1ef5dabc384f2e7ebf
|
|
BLAKE2b-256 checksum How to use checksums |
157871505838a261e93d4078f8de1a3e946920ef17a5e383cfb66510417574e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|