Dial
Default file-based memory provider for StrawPot.
Two memory layers — Event Memory and a unified Knowledge store — using local JSON/JSONL files. Zero external dependencies.
Quick Start
# strawpot.toml
memory = "dial"
How It Works
- EM — Append-only event log per session. Fully automatic. Events are consolidated (deduped by task), ranked by relevance to the current task, and failures are prioritised.
- Knowledge (SM) — Facts and conventions, always included. Scoped to global, project, or role.
- Knowledge (RM) — Domain-specific entries, included only when the task keywords match.
Knowledge is scoped at three levels:
| Scope | Example |
|---|---|
| Global | "Always use conventional commits" |
| Project | "This project uses pytest" |
| Role | "Check migration dir before modifying models" |
Agents write knowledge via the denden remember RPC during execution:
denden send '{"remember": {"content": "This project uses pytest", "scope": "project"}}'
denden send '{"remember": {"content": "Payments API needs idempotency keys", "keywords": ["payment", "stripe"]}}'
Entries are deduplicated and written directly to the knowledge store.
Agents can query stored knowledge on-demand via the recall RPC:
denden send '{"recall": {"query": "testing framework", "scope": "project", "maxResults": 5}}'
Results are scored by keyword relevance and returned sorted best-first.
See DESIGN.md for architecture details.
License
Metadata
Release files for dial-memory 0.1.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dial_memory-0.1.22.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dial_memory-0.1.22-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.3 kB
Release files / dial_memory-0.1.22.tar.gz
| Download URL | dial_memory-0.1.22.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfa3c7f96f0d91d13dac312b81ca059bc754395b4f8f8a028f809988e0ada80f
|
|
BLAKE2b-256 checksum How to use checksums |
3d2beda3b4139d05f78d6630043eee66f44a98cd8fd43ff03d41b25cd3f36652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 30, 2026.
Transparency logRelease files / dial_memory-0.1.22-py3-none-any.whl
| Download URL | dial_memory-0.1.22-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a94044b3f6310ee024baad259945f40b8d762c0d23ab8bed4260973c0fc2e556
|
|
BLAKE2b-256 checksum How to use checksums |
8d8a3f34992b655e71a2dba7ec7d5707f50aa81cf8335e79a4c456181629864d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 30, 2026.
Transparency log