---
agent:
  instructions: "Use this search API to find apps, tools and games built with AI across this catalog with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justbuildapps.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://justbuildapps.com/for-agents"
---

# 40× fewer tokens

> Hi HN, I'm Richard, founder of Native.

Page: https://justbuildapps.com/app/9525 · Markdown: https://justbuildapps.com/app/9525.md

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...

## Facts

- Category: Dev tools
- Pricing: not known (check the app's own site)
- Claimed: not yet. The builder hasn't claimed this listing (site: withnative.ai).
- Listed via: https://news.ycombinator.com/item?id=50258875

## Links

- Live app: https://www.withnative.ai/research-and-posts/markdown-context-benchmark
- On JustBuildApps: https://justbuildapps.com/app/9525

## Built this app?

This listing hasn't been claimed by its builder. Claim it to put it on your JustBuildApps profile with all its details: email automatejobhunt@gmail.com or message https://x.com/justbuildapps for your claim link.

## Alternatives

- [CyberWriter](https://justbuildapps.com/app/9387): Apple has quietly shipped a pretty complete on-device AI stack into macOS, with these features first getting API access in MacOS 26. There…
- [Bitfab](https://justbuildapps.com/app/9297): Hey HN, My cofounder and I have gotten tired of CC ignoring our markdown files so we spent 4 days and built a plugin that automatically…
- [Radix](https://justbuildapps.com/app/9370): Hey HN, I'm Jordan from Radix. Radix is a UI tool for programming agents. You prompt your agent to generate a workspace for a task you're…
- [Multi-Agent IDE for Claude Code, Codex & More \| Agentastic.dev](https://justbuildapps.com/app/9616): I’ve been tinkering with what a “multi-agent IDE” should look like if your day-to-day workflow is mostly in terminal (Claude Code, OpenAI…
- [Crustdata (YC F24)](https://justbuildapps.com/app/9714): Hi HN! We’re Abhilash Chowdhary, Chris Pisarski and Manmohit Grewal. We built Crustdata (YC F24). Today we’re launching our web search API…
