Загрузка видео...

Не удалось загрузить видео

На главную

Databases are far from dead. Hot take within the vibe-coding community, but you can't build a reliable agentic memory system using files alone. The filesystem is a great interface for agents, but for complex, distributed, production applications, databases win hands down. I recorded a video to show you the...

29,445 просмотров • 4 месяцев назад •via X (Twitter)

Комментарии: 24

Фото профиля Santiago
Santiago4 месяцев назад

Here is the funny part: I've seen several teams already putting a ton of time "hardening" their filesystem implementation to support concurrency and improve search results. Congratulations. You are just rebuilding a database! Conclusions: • Use files when building prototypes or single-user agents • Use databases for multi-user, multi-agent production apps. Here is the link to the notebook with the benchmarks: I'm flying next week to meet with the @OracleDevs team. We are talking about agent harnesses, memory, and how Oracle fits into that space. I'll report back!

Фото профиля Mian Maaz Ullah Khan
Mian Maaz Ullah Khan4 месяцев назад

Idk who are these people who think database are there to be replaced

Фото профиля CHIHEB Nabil
CHIHEB Nabil4 месяцев назад

not wrong about the technical side. but the vibe coders who are actually breaking things don't know what ACID means, don't know what indexed queries are, and definitely don't know they need a database. they just know their app "worked" and now it doesn't. i talk to these people daily.

Фото профиля Kekko D’Amato
Kekko D’Amato4 месяцев назад

100%. Files work great for single-agent local workflows. But the moment you're coordinating multiple agents with shared state and concurrent writes, you need ACID guarantees. A vector DB + relational store is basically the new memory stack for agent-native apps.

Фото профиля Uplers
Uplers4 месяцев назад

Is the real constraint the database, or the lack of schema discipline in how agents actually write state? Curious what failure modes you're seeing most.

Фото профиля Aleksandr Fulha
Aleksandr Fulha4 месяцев назад

file-as-state breaks first on concurrent writes. paperclip lost 3 days last month to a silent decisions.md merge - two agents wrote overlapping sections, last-writer-won, the dropped call surfaced a week later as 'wait why did we do X'. moved shared state to postgres, kept markdown as derived view. files = render layer, db = truth layer

Фото профиля Heath Barber
Heath Barber4 месяцев назад

The importance of this post cannot be overstated. This is exactly where I see so many people developing locally with AI, where it works great, until it's pushed into a production cloud environment and all hell breaks loose.

Фото профиля Yann Kronberg
Yann Kronberg4 месяцев назад

Agreed, since this is one of PINA engineering points that saves you pain later. If agent memory needs concurrency, fuzzy retrieval, permissions, or history, a database stops being old-school and starts being the thing keeping your product from eating itself.

Фото профиля Big Air Lab
Big Air Lab4 месяцев назад

A lot of vibe coding culture treats plain files like they magically replace decades of database engineering

Фото профиля GenAI with Rahul
GenAI with Rahul4 месяцев назад

This mirrors what I've seen building production RAG systems. Vector stores get all the attention, but real complexity is in the orchestration layer — knowing when to hit a relational DB vs vector index vs graph store. Files-for-everything is vibe coding waiting to collapse.

Фото профиля theycantknow
theycantknow4 месяцев назад

I did the actual math and it lost. Just saying

Фото профиля Chen Avnery
Chen Avnery4 месяцев назад

Counterpoint from production: we run agent memory on flat markdown files with git commits. Agents are stateless between runs, reload context each heartbeat. Append-and-read pattern, git handles history. Database would be overkill. Concurrent writes are where it breaks though.

Фото профиля Bilko - BG Labs
Bilko - BG Labs4 месяцев назад

this matches what i kept hitting on agent memory work. files give you the illusion of state, but the moment you need to query across runs or do anything resembling a join, you're rebuilding sqlite badly. the discipline of a real schema is the unlock.

Фото профиля Duoduo
Duoduo4 месяцев назад

I like files because they are legible, local, and easy to diff. I do not confuse them with memory. Once state becomes concurrent, relational, and query-heavy, the filesystem is the interface, not the substrate.

Фото профиля Larry Diffey
Larry Diffey4 месяцев назад

I have a system like you described called Reflex. I have an early version running, this next version will be more wide ranging.

Фото профиля GG 🦾
GG 🦾4 месяцев назад

The git-commits approach is underrated for single-agent setups, but you're hitting the right failure mode — concurrent writes. We went through the same evolution. The fix we landed on: stateless agents + a proper job queue (we use Postgres with SKIP LOCKED). Agents claim work, not files. File system stays an output layer, not a coordination layer.

Фото профиля Dylan
Dylan4 месяцев назад

Ran into this last quarter... started with files, six weeks later we had custom locking logic, a search index, and a retention script

Фото профиля Overpower
Overpower4 месяцев назад

the fact that "databases are actually useful for storing data" is currently considered a controversial hot take in the vibe-coding community tells you absolutely everything you need to know about the state of software engineering in 2026.

Фото профиля tang | AI Product Maker
tang | AI Product Maker4 месяцев назад

this. tried files-only for sovra's render queue early on — worked fine until 3 users hit the same job slot and we had no transactional guarantee. switched to postgres advisory locks next day. anyone running pure-files at scale and not hitting this?

Фото профиля Bilal Hussain
Bilal Hussain4 месяцев назад

This is exactly why I keep files as the output/render layer (nice markdown logs humans can read) but moved the actual agent state and semantic memory into Postgres with proper row-level security. Agents write to the DB first, then we derive the files. Zero merge conflicts, full audit trail, and the LLM still “sees” familiar text when it needs to. Databases don’t kill the filesystem they complement it.

Фото профиля Daryl Antony
Daryl Antony4 месяцев назад

yeah i've been thinking this; there's a current romance with markdown files doesn't mean we should be ignoring the powers available in many excellent databases

Фото профиля Dmytro Yaremenko
Dmytro Yaremenko4 месяцев назад

currently building open source concept on structured storage for skills basically it can add to most of the skills some additional “deep” level as different agents can effectively collaborate on some work

Фото профиля Saylor
Saylor4 месяцев назад

To run a multi-agent swarm, I had to move orchestration entirely to a DBOS (Database-Oriented OS). By keeping all agent state, queues, and semantic memory (via PG-Git) natively inside Postgres, the swarm gets full ACID compliance and lock-free concurrent execution. Files are for local configs; databases are for agents.

Фото профиля Milan
Milan4 месяцев назад

It's fine for some things. But if you overdo it, it becomes a problem. It will make the filesystem-as-database crowd rediscover transactions, indexes, and constraints one painful bug at a time.

Похожие видео

Google open-sourced MCP Toolbox for Databases. I gave it access to everything else. For context, Google's MCP Toolbox for Databases is an open-source server that lets AI agents securely query structured databases like PostgreSQL and MySQL through the MCP protocol However, most enterprise knowledge doesn't actually live in databases. It's scattered across emails, Slack threads, GitHub repos, Salesforce records, customer reviews, and internal docs. So Agents can't see any of it, which means they're working with a fraction of the context they need. I fixed that using MindsDB. It acts as a universal SQL layer that sits on top of all your data sources: structured, semi-structured, and unstructured. This means you can query Salesforce, Gmail, GitHub, S3 files, Jira, and 200+ more sources using SQL syntax. The clever part is how it connects to the MCP Toolbox. MindsDB exposes everything through MySQL, so from the Agent's perspective, it's just running SQL and getting context back. It doesn't know or care that the data came from five different sources behind the scenes. This setup unlocks some powerful capabilities: → One SQL interface for dozens of enterprise sources → Cross-datasource joins (combine GitHub and CRM data in a single query) → Built-in ML capabilities for working with unstructured data → Simple MCP tools that now have massively expanded reach In the video below, the Agent queries GitHub data and a customer review database in one SQL query. So what used to require ETL pipelines and weeks of engineering effort now happens instantly. At the end of the day, AI agents are only as useful as the data they can access. This gives them a lot more to work with. I have shared the GitHub repo in the replies, where you can find more details about this.

Akshay 🚀

40,562 просмотров • 7 месяцев назад

Bash is all you need! Which is why I'm introducing my holiday project: just-bash just-bash is a pretty complete implementation of bash in TypeScript designed to be used as a bash tool by AI agents. Because it turns out agents love exploring data via shell scripts, even beyond coding. It comes with grep, sed, awk and the 99th percentile features that an agent like Claude Code or Cursor would use. In fact, Claude Code can use it for secure bash execution. In the package - A bash-tool for AI SDK - A binary for use by yourself or your coding agents - An overlay filesystem to feed files to your agent securely - A Vercel Sandbox compatible API, so you can quickly upgrade to a real VM if you need to run binaries - An example AI agent that explores the just-bash code base using just-bash - I imported the Oils shell bash compatibility suite and just-bash passes a very good chunk What is interesting about this codebase: It was essentially entirely written by Opus 4.5. Coding agents love bash and they are good at reproducing it. They are also great at text-book recursive descent parsers and AST tweet-walk interpreters. That said, it is, like, a lot of code and I didn't read it all 😅. This is very much a hack, but it also seems to be _really_ useful. I haven't really found anything agents want to use that it doesn't support and it's fast and secure (caveats apply). It doesn't have write access to your computer and the filesystem is given a root that the agent cannot escape from. Find it at Related: Our recent blog post how we migrated our data analysis agent to bash tools and achieved incredible quality improvements The video shows the example agent investigating the just-bash code base

Malte Ubl

125,326 просмотров • 9 месяцев назад