frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

One Brain to Query: Wiring a 60-Person Company into a Single Slack Bot

https://merylldindin.com/thoughts/company-brain/
20•meryll_dindin•1d ago

Comments

meryll_dindin•1d ago
We're a 30-person ed-tech company. I built a Slack bot that connects our data warehouse, 250k Google Drive files, support tickets, and codebase so anyone on the team can ask it a question and get a sourced answer back. The bot took two and a half weeks to build; the data infrastructure under it took two years. Wrote up the architecture, where trust breaks down, and what I'd build first if starting over.
croemer•1h ago
Is the result good? Is it useful?

And why does your comment say you're a 30-person company but the title says 60?

jedberg•13m ago
> And why does your comment say you're a 30-person company but the title says 60?

AI hallucination? :)

r1290•54m ago
I just did the exact same thing for my company. I didn’t do the sql lite approach for gdrive though just a direct search.

The one part that is still difficult is the data modeling and table level descriptions etc. Maybe you make an update to a table - remove a column, etc. The 3rd party systems all have their schemas defined but the data warehouse is a bit more loose. So solving that really helps. Did you just use dbt schema to describe tables and columns then sync that to your bot? How did you keep it updated? And end of the day - worth building or buying? Also how did you track costs? I let users choose their model - but have learned it can get expensive fast. As I can see there are a lot of providers trying to solve this one thing. That said the data warehouse aspect is the loosely defined area and I can see dbt or one of those players try to build something.

mannanj•40m ago
Hi. thanks for sharing. One thing I'd like to know is how often do you validate the answers? If a human gives an answer like the one the AI is giving for example, you'd probably expect a margin of error of like 1% of making a mistake. The AI though, is it 1% or less - and who's validating it? Are you trusting it more or less than a human?
bob1029•27m ago
> The bot took two and a half weeks to build; the data infrastructure under it took two years.

This is the key lesson that everyone needs to step back and pay attention to here. The data is still king. If you have a clean relational database that contains all of your enterprise's information, pointing a modern LLM (i.e., late 2025+) at it without any further guidance often yields very good outcomes. Outcomes that genuinely shocked me no fewer than 6 months ago.

I am finding that 100 tables exposed as 1 tool performs significantly better than 100 tables exposed as 10~100 tools. Any time you find yourself tempted to patch things with more system prompt tokens or additional tools, you should push yourself to solve things in the other ways. More targeted & detailed error feedback from existing tools often goes a lot further than additional lines of aggressively worded prose.

I think one big fat SQL database is probably getting close to the best possible way to organize everything for an agent to consume. I am not going to die on any specific vendor's hill, but SQL in general is such a competent solution to the problem of incrementally revealing the domain knowledge to the agent. You can even incrementalize the schema description process itself by way of the system tables. Intentionally not providing a schema description tool/document/prompt seems to perform better with the latest models than the other way around.

truelson•1h ago
Just going to say it... no mention of handling the security aspects of this. Scary.

This is cool, I should say, but I would be really worried about the security aspects. Prompt injection here could be really painful.

georgeburdell•1h ago
The article mentions that there’s an identification process and that at least some data has access control. What were you expecting?
truelson•1h ago
You're wiring up a number of critical systems... and prompt injection here could be really bad. I worry about such systems with a single point of contact
jedberg•13m ago
Reading through it, I didn't see any mention of write access. It looks like the agent is strictly read-only with access controls.
mritchie712•1h ago
> The data infrastructure underneath it took two years.

yep, that's what Definite is for: https://www.definite.app/

All the data infra (datalake + ELT/ETL + dashboards) you need in 5 minutes.

RobRivera•1h ago
If I order now, do I get a second set for free?
Aperocky•1h ago
Off meta: Are we tired of "one single product that solves everything" that every single AI product has became?

grep didn't try to also do what awk does, and jq and curl did exactly what they needed to do without wanting to become an OS (looking at you emacs), can we have that in the AI world? I hope/think we will, in a few years, once this century's iteration of FSF catches up.

iLoveOncall•1h ago
Developing and serving GenAI models is highly unprofitable, so, no, we're not going to have that in the AI world.

Either those model developers & providers package them in as many services as possible so that they can be somewhat profitable, or they die, and we don't have model developers & providers anymore.

Aperocky•47m ago
Well, the product here has nothing to do with serving GenAI models. It's now application territory.

And I prefer unix philosophy vs. the Copilot product approach.

add-sub-mul-div•43m ago
I'm tired of endless LLM spam submissions from people who only use their accounts here to advertise and self promote.
Aperocky•39m ago
LLM submissions are no different from tech submission of yesterday. But most people used to build tools that does one thing well instead whatever the current meta is.
jedberg•14m ago
The thing that AI is best at is summarizing vast quantities of information. That means the most natural thing for an AI to do is be "the one tool to rule them all".

The more information it has access to, the more useful the answer can be. But that also means that it can answer all the questions.

skeeter2020•7m ago
>> The thing that AI is best at is summarizing vast quantities of information

by definition a summary is the best at nothing though, and the mentality that the best way to rule is from a single summarized interpretation is both flawed and scary. It's not answering all questions; it's attempting to provide a single summation dramatically influenced by training. Go ahead and incorporate this into your balanced and multi-perspective decision-making process, but "one tool to rule them all" is not the same thing and definitely not what we're getting.

ricktdotorg•1h ago
is it just me or was the scrollbar purposefully hidden on this site? in chrome on windows, i found it very jarring and user-hostile to NOT know how far along i was in reading the article.

i make a judgement call early on: is this worth my time? my whole article calculation algo was thrown off by this.

do not like.

pwr1•47m ago
We tried something similar at a previous company — ended up with 3 different bots all answering slightly differently depending on which doc chunk they hit. The consistency problem is real.

Curious how you handle updates. Like if someone edits the source doc, does the bot just start returning different answers or is there a review step?

oliver236•33m ago
data engineering is all you need.

everything else is smoke

all ai applications are smoke and will be obsolete in a year

do not be deceived

fishtoaster•25m ago
> This is the part that doesn’t demo well. ETL pipelines feeding into BigQuery from every operational system: Salesforce, Zendesk, and a dozen other internal tools. dbt transformations that normalize and document the data. Column-level descriptions for every table in the warehouse, because an AI agent that doesn’t know what a column means will write SQL that looks right and returns wrong numbers.

I'm glad they called this out. For the first half of this, I kept thinking: "Either your answers are confidently wrong or you've done a ton of prep work to let your AIs be effective BI analysts." Sounds like it's the latter, and they're well aware of it!

jgalt212•21m ago
She opens Slack, types a question to our internal agent: “Give me the names of all employees who have recently complain about my leadership”

Prior having such a product it was such a chore for her to track down all the people who may have objected (dispassionately or otherwise) to my plans, strategies, objectives, etc.

xmprt•8m ago
> When a question touches restricted data — student PII, sensitive HR information — the agent doesn’t just refuse. It explains what it can’t access and proposes a safe reformulation. "I can’t show individual student names, but here’s the same analysis using anonymized IDs."

This part is scary. It implies that if I'm in a department that shouldn't have access to this data, the AI will still run the query for me and then do some post-processing to "anonymize" the data. This isn't how security is supposed to work... did we learn nothing from SQL injection?

The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy

https://www.thelettersfromleo.com/p/the-pentagon-threatened-pope-leo
161•frm88•26m ago•55 comments

Vercel Claude Code plugin wants to read your prompt

https://akshaychugh.xyz/writings/png/vercel-plugin-telemetry
157•akshay2603•1h ago•36 comments

I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
22•randerson_112•1h ago•25 comments

Meta removes ads for social media addiction litigation

https://www.axios.com/2026/04/09/meta-social-media-addiction-ads
320•giuliomagnifico•3h ago•143 comments

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
1164•pluc•16h ago•394 comments

A WebGPU Implementation of Augmented Vertex Block Descent

https://github.com/jure/webphysics
74•juretriglav•5h ago•5 comments

Doing Impressions: Monet's Early Caricatures (ca. late 1850s)

https://publicdomainreview.org/collection/claude-monet-caricatures/
14•prismatic•3d ago•0 comments

FreeBSD Laptop Compatibility: Top Laptops to Use with FreeBSD

https://freebsdfoundation.github.io/freebsd-laptop-testing/
124•fork-bomber•7h ago•72 comments

Introduction to Nintendo DS Programming

https://www.patater.com/files/projects/manual/manual.html
125•medbar•1d ago•20 comments

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

https://braw.dev/blog/2026-04-06-reallocating-100-month-claude-spend/
133•kisamoto•8h ago•129 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
112•eigenspace•7h ago•62 comments

Lichess and Take Take Take Sign Cooperation Agreement

https://lichess.org/@/Lichess/blog/lichess-and-take-take-take-sign-cooperation-agreement/DZS0S0Dy
118•stevage•5h ago•20 comments

One Brain to Query: Wiring a 60-Person Company into a Single Slack Bot

https://merylldindin.com/thoughts/company-brain/
20•meryll_dindin•1d ago•25 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
89•SirHound•5h ago•69 comments

How Pizza Tycoon simulated traffic on a 25 MHz CPU

https://pizzalegacy.nl/blog/traffic-system.html
193•FinnKuhn•4h ago•38 comments

Building a framework-agnostic Ruby gem (and making sure it doesn't break)

https://newsletter.masilotti.com/p/on-building-a-framework-agnostic
24•joemasilotti•1d ago•1 comments

Open Source Security at Astral

https://astral.sh/blog/open-source-security-at-astral
305•vinhnx•13h ago•73 comments

Launch HN: Relvy (YC F24) – On-call runbooks, automated

https://www.relvy.ai
25•behat•5h ago•16 comments

Help Keep Thunderbird Alive

https://updates.thunderbird.net/en-US/thunderbird/140.0/apr26-1e/donate/
367•playfultones•9h ago•262 comments

Haunted Paper Toys

http://ravensblight.com/papertoys.html
197•exvi•3d ago•24 comments

Emperor penguin and Antarctic fur seal now endangered

https://iucn.org/press-release/202604/emperor-penguin-and-antarctic-fur-seal-now-endangered-due-c...
105•darth_avocado•1h ago•23 comments

Small Engines

https://scottlocklin.wordpress.com/2026/03/25/very-small-engines/
43•surprisetalk•3d ago•8 comments

Creating the Futurescape for the Fifth Element (2019)

https://theasc.com/articles/fantastic-voyage-creating-the-futurescape-for-the-fifth-element
93•nixass•8h ago•61 comments

Claude mixes up who said what

https://dwyer.co.za/static/claude-mixes-up-who-said-what-and-thats-not-ok.html
322•sixhobbits•7h ago•283 comments

Tree Calculus

https://treecalcul.us/
81•tosh•6d ago•18 comments

Session is shutting down in 90 days

https://getsession.org/donate
95•balamatom•4h ago•108 comments

Show HN: Moon simulator game, ray-casting

https://mooncraft2000.com
77•JKCalhoun•3d ago•15 comments

C# in Unity 2026: Writing more modern code

https://darkounity.com/blog/c-in-unity-2026-features-most-developers-still-dont-use
65•hacker_13•3d ago•71 comments

The Importance of Being Idle

https://theamericanscholar.org/the-importance-of-being-idle/
277•Caiero•2d ago•169 comments

USB for Software Developers: An introduction to writing userspace USB drivers

https://werwolv.net/posts/usb_for_sw_devs/
379•WerWolv•21h ago•43 comments