惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 聂微东
Y
Y Combinator Blog
WordPress大学
WordPress大学
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
A
About on SuperTechFans
小众软件
小众软件
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
GbyAI
GbyAI
I
InfoQ
The GitHub Blog
The GitHub Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
C
Check Point Blog
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
量子位
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
Does Your Startup Need an AI Data Analyst? - Hadi Javeed'...
hjaveed · 2026-05-20 · via Hacker News - Newest: "AI"

Most startups do not need a full data platform on day one. But at some point, the same questions start showing up every week.

How many active customers do we have? Which accounts are slipping? Did patient engagement improve after the last release? Why did usage drop for this client?

For a while, the answer is simple: ask an engineer to write SQL.

That works until it does not. The schema gets bigger. Metrics get weird. Customer success needs answers now. Engineers become the query interface for the company.

I built Byaan because we kept running into this problem at RevelAI. It is a small data agent harness that runs close to your database, learns your schema, shows its SQL, and stays read-only by default. The site is at byaan.ai.

Why Not Just Use a BI Tool

BI tools are useful, and I am not arguing against them. Dashboards are still the right answer for stable metrics people look at every day.

The problem is the long tail of questions.

Someone asks about one client, one cohort, one workflow, one contract, or one odd edge case. You do not want to build a dashboard for every question. You also do not want every non-technical teammate waiting on an engineer for a one-off query.

This is where a data agent starts to make sense. Not as a replacement for BI, but as a better interface for questions that are too specific for a dashboard.

Why Text-to-SQL Still Fails

The SQL is not the only hard part.

A model can generate decent SQL when the schema is small and the table names are obvious. Real databases are messier. Tables have history. Columns are named after old product decisions. Metrics have company-specific meanings. The right join is often not obvious from the schema alone.

At RevelAI, an "active customer" is not just a row in a customers table. Some clients are pilots. Some are churned but still have data. Some should be excluded from internal metrics for billing or contract reasons. That context usually lives in code, Slack, docs, and people's heads.

Raw text-to-SQL does not know that. It sees tables and guesses.

Why Not Julius, Hex, or Purpose-Built Tools

There are good products in this space. Jason Cui at a16z had a good post on X mapping the data agent landscape.

For us, many of those tools felt too heavy for a 20-50 person company. They also introduced more cloud surface area than I wanted. I did not want to hand a third party broad access to our production database if I could avoid it.

The other issue was context. A warehouse-native or SaaS data tool may understand your warehouse. It usually does not understand your application code, your internal naming conventions, or the Slack thread where the team decided how a metric should work.

The model was not always the bottleneck. The harness around the model was.

Why Not Just Claude Code

The obvious next step is to skip the product layer and point Claude Code at the database.

Two problems with that.

First, security. There should be a hard execution layer that prevents an agent from mutating the database. Relying on a prompt to stop DROP TABLE, DELETE, or a stray UPDATE is not enough. We have all seen stories about AI coding tools making destructive production changes.

Second, transparency. Even when the SQL runs, you still need to inspect it. You need to see the generated query, the result, the chart, and the assumptions before the answer ends up in a board deck or a customer conversation.

A CLI is great for engineers. It is not the right surface for a customer success or operations team asking data questions all day.

What I Built

Byaan is what sits between a CLI and a SaaS.

  • A small harness built on the OpenAI Agents SDK
  • A read-only wrapper that blocks DDL and DML at the execution layer, so the agent is incapable of mutating your database
  • A UI that shows the generated SQL, the result, the chart, and lets you correct the agent inline
  • A lightweight memory layer that learns schema meaning, common joins, and mistakes over time
  • A Mac app for individual use and a Docker setup for teams

It does not solve every tribal knowledge problem on day one. But the loop matters. When the agent gets something wrong, the correction should become part of the system instead of disappearing into chat history.

Database connections stay on your infrastructure. Only the query results and relevant schema context go to whichever model provider you configure.

What Actually Happened

Byaan started as a hobby project with two engineer friends. We wanted to build something real, and we had our own data problem to solve.

Today, most of our customer success team answers questions through it: client health, patient engagement, satisfaction trends, contract usage, and odd one-off questions that used to go to engineering.

It is still early, but it has already learned a lot of our schema, our metrics, and the weird tribal details that only the people who built the database used to know.

Along the way, I quietly gave access to a few startup founder friends. About ten startups are now using it.

What Is Next

I am going to keep solving our own problems with it. That is the main filter.

If you want to try it, grab the Mac app or run it with Docker. If something feels off, open an issue or message me directly.

I would especially appreciate blunt feedback from people who have tried to use agents against real databases. I am most interested in where this feels useful, where it feels fragile, and what would make you trust it more.

Subscribe

Honest takes on AI, startups, and digital health—delivered to your inbox.

Your privacy is paramount. Expect content once or twice a month. Unsubscribe anytime if you don't like it.

Subscribe on Substack