Default file-based memory provider for StrawPot
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dial_memory-0.1.17.tar.gz.
File metadata
- Download URL: dial_memory-0.1.17.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8140b48f354e8f54f8f52a952b7bd24a0971a0b69f2ec2df76a231648f433b2
|
|
| MD5 |
f4c6313f6decc8048ccdba9a87f07098
|
|
| BLAKE2b-256 |
c5924e544700e8b19a1ac9c5c81ccae5543c3c0afd1dbaa2f92b26dc791f371b
|
Provenance
The following attestation bundles were made for dial_memory-0.1.17.tar.gz:
Publisher:
publish.yml on strawpot/dial
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dial_memory-0.1.17.tar.gz -
Subject digest:
a8140b48f354e8f54f8f52a952b7bd24a0971a0b69f2ec2df76a231648f433b2 - Sigstore transparency entry: 1143019615
- Sigstore integration time:
-
Permalink:
strawpot/dial@b96922e4e84d1f64a15cc88e46a8acabd680334d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/strawpot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b96922e4e84d1f64a15cc88e46a8acabd680334d -
Trigger Event:
push
-
Statement type:
File details
Details for the file dial_memory-0.1.17-py3-none-any.whl.
File metadata
- Download URL: dial_memory-0.1.17-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da7498243b8b59cfe12ed6387e2f599406eb371f5ff0055c820a8b533e83bdbb
|
|
| MD5 |
ce7041319de04d2baa805f2f43409598
|
|
| BLAKE2b-256 |
f02f71b584ac683007add5fd83ce337cde055b53f306047493017094981a62e0
|
Provenance
The following attestation bundles were made for dial_memory-0.1.17-py3-none-any.whl:
Publisher:
publish.yml on strawpot/dial
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dial_memory-0.1.17-py3-none-any.whl -
Subject digest:
da7498243b8b59cfe12ed6387e2f599406eb371f5ff0055c820a8b533e83bdbb - Sigstore transparency entry: 1143019658
- Sigstore integration time:
-
Permalink:
strawpot/dial@b96922e4e84d1f64a15cc88e46a8acabd680334d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/strawpot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b96922e4e84d1f64a15cc88e46a8acabd680334d -
Trigger Event:
push
-
Statement type: