Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Quick demo of Zero’s new background queries. Zero’s sync is query-based. Rather than specifying what data you want using rules or some other separate system, you just use queries. Right inside the client app, you do a query using a full sql-style language. You get filters, subqueries , limits,...

18,808 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von Johannes Schickling
Johannes Schicklingvor 1 Jahr

Dope tech, dope video demo, dope music choice! 🔥

Profilbild von typeofalex
typeofalexvor 1 Jahr

„background queries“ SPAs like they always should have been 🎉

Profilbild von kitze 🚀
kitze 🚀vor 1 Jahr

is a cloud version coming soon?

Profilbild von Aaron Boodman
Aaron Boodmanvor 1 Jahr

Yep

Profilbild von Khagesh Sharma
Khagesh Sharmavor 1 Jahr

Looks like GraphQL bundled with backend code to access db. Won't it have same problems as GraphQL?

Profilbild von Aaron Boodman
Aaron Boodmanvor 1 Jahr

It’s not very much like graphql at all. GraphQL is about abstracting query description from implementation: you describe queries in an abstract syntax and impl can vary. Zero is like the opposite: query language and inpl are coupled (zero provides the only impl). Also Zero is streaming socket based and incremental vs GraphQL which is request/response. So no, it has entirely different problems 😆(and some benefits too). Is there a specific GraphQL problem you’re worried about?

Profilbild von Davide Segullo
Davide Segullovor 1 Jahr

the only thing I do not understand about zero is whether it is possible to integrate it with an existing backend (already having REST services) or if you have to migrate to a specific architecture

Profilbild von Juan
Juanvor 1 Jahr

so wait, using zero i would just not need a backend api?

Profilbild von Aaron Boodman
Aaron Boodmanvor 1 Jahr

Not in the normal sense. You still have the option* to put code on server for auth, custom validation, etc., but the basic read/write model is you specify queries on the client directly against the backend db and they sync continuously. It feels like having direct access to program against backend db from client.

Profilbild von Zach
Zachvor 1 Jahr

What are the perf implications? Would it be unwise to set a ttl in days? And what happens if I hit the back button without this ttl?

Profilbild von Aaron Boodman
Aaron Boodmanvor 1 Jahr

The expectation is to set ttls of days or even years. Our dogfood app zbugs uses ttl “forever” for some base queries that we expect the user to always need, and ttl “1d” for other queries. We also use ttl “none” for some queries that don’t need to be maintained. This is possible because Zero uses a custom built incremental query engine. “ZQL” can maintain queries far more efficiently than simply re-running them over and over. Like any query it’s definitely possible to write slow zql queries - not least because it’s in alpha. But the intent is to keep these queries running for long periods and we’ve designed the whole system to make this possible.

Ähnliche Videos

Your agents can't keep up with real-time data. Especially when it's scattered across dozens of sources. Most teams waste weeks building custom connectors for every database, API, and data warehouse. Then they build ETL pipelines to sync everything. By the time your agent retrieves the data, it's already outdated. Picture this: Your Postgres database updated 5 minutes ago. Your MongoDB collection changed 2 minutes ago. Your agent is still pulling from yesterday's snapshot. This is why most production RAG systems fail. There's a better approach: MindsDB is an open-source AI platform with a federated data engine that lets you query multiple data sources in real-time using SQL - without moving any data. Here's what makes it different: ↳ Your data stays in place. No ETL pipelines or data duplication ↳ Query Postgres, MongoDB, REST APIs, and more using consistent SQL ↳ JOIN across different sources in real-time with a unified interface ↳ Works with both structured and un-structured data And here's the best part: You don't even need to write SQL. Just describe what you want in plain English, and MindsDB converts it to SQL automatically. The system does all the heavy lifting. The breakthrough for AI agents is simple: When data updates at the source, your agent gets fresh results immediately. No sync delays. No stale embeddings. No custom code for each integration. You can literally write a SQL query that joins a Postgres table with a MongoDB collection and gets live results. This is what production AI applications need but rarely get. In this video, I give you a complete walkthrough of what we just discussed and how to actually do it. Make sure you watch this till the end. I've shared the link to MindsDB's GitHub repo in the next tweet!

Akshay 🚀

65,672 Aufrufe • vor 7 Monaten

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 🚀

39,331 Aufrufe • vor 4 Monaten