← All projects
Project record1 mention
Originally shared on Hacker News

dwata

dwata is a local-first data extraction tool built around multiple task-specific AI agents. Its first agent scans emails deterministically in Rust—testing keywords and regex patterns, grouping by sender, sorting by email count, and filtering template-based transaction emails—then an AI regex-builder agent takes one email from a group and generates a pattern to extract financial data such as sender, amount, recipient, date, and reference ID. Generated patterns are saved to a local database and replayed across the whole sender group for high-performance extraction without sending each email to an LLM. All storage and processing is local, it is designed to run well on small LLMs up to 20b parameters (currently tested with Google Gemini 3 Flash Preview), and future data types include events, places, people, tasks, and health.

Last shared
01 / The problem

What it addresses

Extracting structured financial data from emails normally requires sending every email to an LLM; dwata instead builds reusable regex patterns from a single email, enabling high-performance extraction without per-email LLM calls.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. dwata

    dwata is a local-first data extraction tool built around multiple task-specific AI agents. Its first agent scans emails deterministically in Rust—testing keywords and regex patterns, grouping by sender, sorting by email count, and filtering template-based transaction emails—then an AI regex-builder agent takes one email from a group and generates a pattern to extract financial data such as sender, amount, recipient, date, and reference ID. Generated patterns are saved to a local database and replayed across the whole sender group for high-performance extraction without sending each email to an LLM. All storage and processing is local, it is designed to run well on small LLMs up to 20b parameters (currently tested with Google Gemini 3 Flash Preview), and future data types include events, places, people, tasks, and health.

    Problem: Extracting structured financial data from emails normally requires sending every email to an LLM; dwata instead builds reusable regex patterns from a single email, enabling high-performance extraction without per-email LLM calls.

    Posted by @brainless · Original source ↗

    Source text · @brainless · · Source ↗

    dwata is built on the idea of multiple, task-specific agents. Right now it has only one agent that can be run on an email to extract regex patterns for financial data. This enables high performance data extraction from emails or documents (in future) without sending each email to an LLM.