Understanding email: what a message is, what the person needs from it, and what to do about it.
Given a message that has already been turned into safe, checked text and facts (by rinse-mail, behind the sandbox walls of the open repository rinse), and Pellet's spam verdict reduced by the host to a SpamSummary, bento answers, on the device or on the person's own node, offline and deterministically:
- What kind of message is this? A class from a versioned taxonomy with stable ids:
commerce.order,delivery.shipment,travel.flight,account.otp,account.password_reset,finance.statement,marketing.promotion,person.direct, ... (see docs/TAXONOMY.md). - What is in it for the person? One-time codes, verification, sign-in and reset links, unsubscribe options, tracking numbers, order numbers, booking references, amounts and dates, each with evidence, confidence and a security grade that says whether it is safe to put on a lock screen or behind a "copy code" button (see docs/EXTRACTION.md).
- Can the sender be trusted? Trust states from authentication results; only an aligned sender raises a grade or earns attention.
- Notify? Now, quietly, later or not at all: VIP people, kinds and topics, per-account rules, quiet hours, and presence on the person's other devices, so the phone stays silent while the desktop is in use (see docs/NOTIFY.md).
- Who is it from? People grouped from contacts and correspondence; VIP is a property of a person, not of an address.
- In short? A summary through the
Summarizercontract: from a platform model on the device, or from an endpoint the person connects, external ones only with explicit consent. Off by default (see docs/PRIVACY.md).
It is a set of Rust libraries with no I/O of their own, in three layers: the input boundary (bento-input), classification and extraction, and insight (trust, notifications, categories, people, summaries). The same code runs in app and in rowboat. It never sees raw message bytes and never runs a language model of its own. Signed open-data domain tables (Wikidata and other sources whose licenses allow it, see docs/DATA.md) are planned; no per-message network lookup ever happens.
Status: the input type, the extractor and classifier contracts, the lexicon, the taxonomy, eight extractors, the rules classifier, the runner, the brands format and the corpus evaluation pass the corpus gate; the insight layer (trust, its own extractors and runner, categories, people, the notification policy, the summary contract with its implementations and model-remote) is built as libraries. The signed domain and brands tables, apps/bento-builder, fuzz targets for layer 2 and the replacement of the insight extractors by layer 2 are not. Nothing is published. See docs/PLAN.md.
The name: a bento box keeps every part of a meal in its own compartment, as bento puts every message in its class and every code, link and number in its own slot. Packages are named bento-*.
bento is open source under either the MIT license or the Apache License 2.0, at your option. Contributions are accepted under the same terms and signed off with the Developer Certificate of Origin (git commit -s).
- docs/PLAN.md — goals, non-goals, phases, follow-ups
- docs/ARCHITECTURE.md — the three layers, contracts, crates, data flow
- docs/TAXONOMY.md — classes, stable ids, versioning, mapping to insight topics
- docs/EXTRACTION.md — codes, links, references, amounts, dates, security grades
- docs/DATA.md — open datasets and their licenses, the build pipeline, signing
- docs/NOTIFY.md — the notification policy
- docs/SECURITY.md — threat model and defenses
- docs/PRIVACY.md — what each summarizer sees, consent, logging
- docs/MODELS.md — platform models, connected endpoints, prompt injection research
- docs/EVALUATION.md — invented corpus, metrics, the gate, fuzzing, load
- docs/INTEGRATION.md — what
app,rowboatandrinse-mailprovide - docs/DECISIONS.md — decisions taken so far, to review
- docs/QUESTIONS.md — decisions for the maintainer
crates/*/docs/README.md,apps/*/docs/README.md— each crate's API, guarantees and limits- AGENTS.md and docs/RULES.md — rules for contributors and agents