Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dial_memory-0.1.15.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dial_memory-0.1.15-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file dial_memory-0.1.15.tar.gz.

File metadata

  • Download URL: dial_memory-0.1.15.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dial_memory-0.1.15.tar.gz
Algorithm Hash digest
SHA256 12069c8721d0e6aea94057ca3df097fea4d66a63c48c527b8c9a35b96a03f72e
MD5 bac50ae63c1c27d23e98e8f41f1bc051
BLAKE2b-256 2b831e5adcfd56b0316140a748de9254141c0b0f0e1ba1ed08921cfb08c4f431

See more details on using hashes here.

Provenance

The following attestation bundles were made for dial_memory-0.1.15.tar.gz:

Publisher: publish.yml on strawpot/dial

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dial_memory-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: dial_memory-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dial_memory-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 52da94db9a23b9ccc1796d42167455a371b4df10f09bbae9f7a9b52f74eb625d
MD5 d8f1d1dbee32b67d4a60d247ecd940b3
BLAKE2b-256 0ffc6ae54fa080fff93be64f3199e04b3b6bb9e394122eeca019c5af13b8c3f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dial_memory-0.1.15-py3-none-any.whl:

Publisher: publish.yml on strawpot/dial

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