frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Markdown is 40× more token-efficient with SQLite

https://www.withnative.ai/research-and-posts/markdown-context-benchmark
6•richardcrng•4h ago
Hi HN, I'm Richard, founder of Native. I'm working on open-source context ownership, to stop AI centralisation: https://github.com/withnative/native

My first focus has been making Markdown vaults powerful enough so that teams can self-host all of their context (messaging, docs and projects), without it being externally fragmented or rate-limited.

I'm sharing some early results: Markdown vaults can be 40× more efficient with SQLite!

https://www.withnative.ai/research-and-posts/markdown-contex...

Here's some of the main ideas:

- SQLite or Markdown folders, you pick. You can project the same authoritative event log into either form; more projection formats will follow (e.g. maybe neo4j; we do use a graph structure).

- Empirically: SQLite is better for agents! On a 120 trial evaluation for 11,000 records, agents use 40× fewer tokens with SQLite vs Markdown, per correct answer.

- Everything is a file or SQLite row. Messages, documents and projects: all can be modelled in your vault. You get local-first collaboration with teammates, synced to a cloud of your choice.

- You can render your vault with arbitrary UI. Your WhatsApp-like UI speaks to your teammate's Slack-like UI; both are just views over the same database.

A few things I've learned building this:

- Agents do pretty well even without SQL if you give them strongly typed Markdown frontmatter. This was one arm of the trial I ran. I didn't have any clear expectations, but it was cool to watch: agents ended up writing Python scripts to do SQL-like queries.

- Cumulatively, cached input tokens can get expensive. I feel silly in hindsight here. I'd gotten used to letting my sessions run long, "It's all cached so it's very cheap". But when I looked at my results here, over 2/3 of the token bill on long sessions was cached input...

- "Markdown vaults don't scale as well as databases" isn't as self-evident as I think. This is why I decided to benchmark it... I've had some very blank stares when I try to explain how Markdown files might break at true agent-scale volume.

Unfortunately, the dataset is private, because it's two months of my own work. I am considering open-sourcing it even so, but there is definitely some embarrassing stuff in there. TBD... I know that independent result verification matters!

The core engine that I evaluated is open-source, with more to be released soon: https://github.com/withnative/native

If you're interested in trying connected context on an open engine, you can get updates from our website or email me directly: richard@withnative.ai

https://www.withnative.ai/

Show HN: Specification First Agentic Development Plugin and Prove

https://spec-first.dev/
14•hleichsenring•3h ago•2 comments

Show HN: Make your AI agent think before it codes

https://github.com/sanmak/specops
2•sanmak•36m ago•0 comments

Show HN: Search2o Simplifies AI Agents

https://search2o.com/
2•ramvenkat11•59m ago•0 comments

Show HN: Agent-relay for multi-vendor coding sessions

https://github.com/saranyan/agent-relay
2•svts•1h ago•0 comments

Show HN: AgenticBench, 9 security tests run on 25 AI coding agents

https://agenticbench.org/
2•pantaleone•1h ago•0 comments

Show HN: Encarta 95 Web

https://benwinding.github.io/encarta_95_web/#/article/Art
90•gitgud•3d ago•48 comments

Show HN: Duotone icon library with 2.5k+ icons and 250 flags, RTL aware

https://github.com/andrsrxn/icons
3•andrsrxn•1h ago•0 comments

Show HN: AperFolio – a portfolio for every camera and lens you own, from EXIF

https://apps.apple.com/us/app/aperfolio/id6809083914
2•rufusguo•1h ago•0 comments

Show HN: Freightfloor. Have 3 minutes? Drive a forklift vs. AI

https://freightfloor.com
3•davenportjw•1h ago•0 comments

Show HN: Aigent-OS, a Claude Code harness that clears and resumes

https://github.com/wrg32786/aigent-os
2•wrg32786•2h ago•0 comments

Show HN: MacID – Bringing Face ID to the Mac

https://akshith.io/notes/macid
2•akshithio•2h ago•0 comments

Show HN: Trama, Meta Vibe Coding Agent 0.1.1 Released

https://nicchia-code.github.io/trama/
7•nicchia•2h ago•1 comments

Show HN: Shobr – Job seach CLI via browser automation

https://github.com/sebastiancarlos/shobr
2•httbs•2h ago•0 comments

Show HN: Gifup – GIF tools that run in the browser (ffmpeg.wasm)

https://gifup.com/
2•alexdev2•2h ago•0 comments

Show HN: Sectr – Serverless backend platform for easy deployment of AI agents

https://sectr.dev
2•donald_pinckney•2h ago•0 comments

Show HN: OpenComply, drafts each section of a filing from your documents

https://opencomply.thecompound.tech
2•kyisaiah47•3h ago•0 comments

Show HN: Carmen – harness for reliable AI-written Metal kernels

https://github.com/utsav1033/carmen
2•utsav1033•3h ago•0 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
304•NotARoomba•2d ago•107 comments

Show HN: Hob - Open-source, on device alternative to Claude Cowork and ChatGPT

https://github.com/FrigadeHQ/hob
161•pancomplex•1d ago•38 comments

Show HN: Bouncer, an MCP proxy that denies sends to addresses the agent read

https://github.com/Ezed9/mcp-bouncer
2•Nishit9•4h ago•0 comments

Show HN: Markdown is 40× more token-efficient with SQLite

https://www.withnative.ai/research-and-posts/markdown-context-benchmark
6•richardcrng•4h ago•0 comments

Show HN: Tiny Tube – A self hosted video sharing server in a single Go binary

https://github.com/spapas/tiny-tube
5•spapas82•6h ago•0 comments

Show HN: Diagonals (Diago) – a chess variation where the pieces stay diagonally

https://diagonals.vercel.app/
4•knarykov•6h ago•0 comments

Show HN: TitleArt – Make text like it's 1997

https://titleart.dvy.io/
395•davidbarker•1d ago•79 comments

Show HN: ChemX – Architectural AST linter for LLM context bloat, AI slop

https://chemicalx.xophz.com
2•DoItForTheXP•2h ago•0 comments

Show HN: Open Dataset of the Lebanese Law

https://huggingface.co/datasets/taktekhq/lebanese-legislation
2•nizarmah•2h ago•0 comments

Show HN: Software Hate Index (real-time ranking of SaaS complaints)

https://hissingkitty.com/predictions
5•drewlem•9h ago•2 comments

Show HN: Hurston-1 open source TTS that speak Southern American and Afro-English

https://huggingface.co/destined/hurston-1
66•Gcarter08•2d ago•25 comments

Show HN: Freehire, open-source search 3M+ tech jobs from company career boards

https://freehire.me/
31•i_strelov•1d ago•8 comments

Show HN: Proc-CLI – An agent-friendly CLI tool for process and port management

https://proc-cli.com/
24•yazeedaloyoun•1d ago•5 comments