SShortSingh.
Back to feed

Developer Builds Local-First AI Memory Layer Using Rust, SQLite FTS5, MCP and Amazon Bedrock

0
·4 views

A developer has described an open-source architecture for storing and searching past AI coding sessions locally, after noticing that valuable design reasoning was lost across more than 500 multi-turn sessions. The system, implemented in Rust as chat-memory-mcp, parses session transcripts into a normalized local database and uses SQLite FTS5 with BM25 ranking for fast, offline retrieval. Coding agents and IDEs, including a JetBrains plugin, can query this history through the Model Context Protocol. Only a small set of redacted, relevant excerpts is sent to Amazon Bedrock models for deeper synthesis, with Bedrock Guardrails enforcing sensitive-information filtering. The author argues this hybrid approach reduces token costs and protects privacy compared with uploading raw logs to a cloud vector store.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Browser-Based Tool Lets Users Bulk Sign PDFs Without Uploading Files

A developer has built a free tool that applies one visible signature to many PDF files at once, all processed inside the browser. Users place their signature a single time, and the tool stamps it across the batch, returning the signed copies together as a ZIP archive. Because the files are opened and signed locally, nothing is sent to an external server, and no account or watermark is required. The tool produces visible electronic signatures rather than certificate-based digital signatures, a distinction the developer states plainly on the site. The post also describes technical challenges the builder encountered, including handling rotated and cropped pages and writing ZIP files without a library.

0
ProgrammingDEV Community ·

SSL certificate lifetime drops to 100 days in March 2027 (200 days since March 2026): how to check yours and automate renewal

Public TLS certificates are already limited to 200 days (since March 15, 2026). On March 15, 2027 the limit drops to 100 days. If someone on your team still renews a certificate by hand once a year, that routine stops working. The CA/Browser Forum adopted ballot SC-081v3 in 2025. It amends the Baseline Requirements (section 6.3.2) and shortens the maximum validity of publicly trusted TLS certificates in steps, with domain validation reuse shrinking at the same time: Date Max certificate validity Reuse of domain validation Until March 14, 2026 398 days 398 days From March 15, 2026 (now) 200 day

0
ProgrammingDEV Community ·

Append-only invoice ledger with hash chaining and VAT audits for Shopify merchants

A developer describes an invoice ledger for Shopify sellers that chains each invoice to the previous one using SHA256 hashes, so later edits become detectable. The design runs VAT audits that compare prices, discounts, tax, and totals with Decimal precision before invoices are issued, and stores VAT IDs in structured fields. Tax rules cover 31 jurisdictions and invoices render in seven languages, though the rates are flagged for legal review rather than treated as authoritative. The author stresses that the chain is tamper-evident rather than truly immutable, and that the tool does not replace an accountant or lawyer. Merchants can also import existing records and export their full history.

0
ProgrammingDEV Community ·

Claude and Apify tools let AI agents check Romanian supplier data from public registers

A developer built three Apify actors that connect AI agents such as Claude to Romanian public data sources. The tools draw on ANAF's free APIs for taxpayer status and balance sheets, and on court case records from the Ministry of Justice portal. The setup requires a single command to add the Apify MCP server, and the same connection works with several AI clients. In a test run on three suppliers, the agent returned verdicts based only on what the registers showed, noting limits such as excluded name variants. The author says the output is a reading of public records rather than legal or tax advice.