frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

AI agents accessing production data

1•Socrates06•1h ago
We are building an ai agent for a dental firm. So while building we face this issue of what the agents should actually see.

If anyone built similar systems or worked on this would you help like. I mean any insights or learnings.

The issue is actually there is no granular enforcement of what the agents should access. I even thought of building an standalone tool for this. But, need to complete the given current work fast.

Comments

andsoitis•1h ago
What are the goals of this AI agent?
Eapz_06•51m ago
So it's nothing much ..just basically answering some questions from their data pool, need to check inventory. Still il the read only version.
andsoitis•43m ago
Who are the users of this AI agent?
Eapz_06•38m ago
Mostly internal employees itself.
gnat•48m ago
Fast is probably going to get in the way of Good, but here are some things to think about.

1. In many businesses, different users of the agent should have different read/write permissions to data.

2. Log everything. There will be problems. You'll need to debug, attribute, defend yourself against accusations that the cockup was your fault, etc.

3. If you're just providing read-only then the more you can enforce that at all layers of the stack (e.g., read-only user in the database).

4. Don't give the agent direct SQL access to the database. Write functions in your favourite programming language, expose them as tools to the LLM.

5. Don't make your LLM do maths in its head, they're crap at it. I had some success giving the agent tools that fetch data from the database (where I control the SQL that runs) into a SQLite in agent memory, then the agent can run SQL against that database. Gives you a chance to put the data into an obvious, easy to query, format rather than whatever arcane historic chaotic state your main schema has evolved to).

Eapz_06•39m ago
Thank you so much... One doubt I have is when we expose tools instead of this raw sql, how do ensure that agents are using the correct data like right source and not stale.

Do we have to enforce some checks manually or is it not worth to worry(now it's read only right).

And one more doubt, what's the reason u introduced a lite layer in between?

Show HN: A map of every UK company, updated monthly

https://companymap.co.uk/platform/index.html
1•optionalltd•32s ago•0 comments

FM-Synthesis in the Browser. Part 1

https://habr.com/en/articles/1053484/
1•sss1024•1m ago•0 comments

The Clouds of Hiroshima

https://doomsdaymachines.net/p/the-clouds-of-hiroshima
1•handfuloflight•1m ago•0 comments

AI 2027

https://ai-2027.com
1•StefanBatory•3m ago•0 comments

New Biological Clues Behind Coffee's Benefit to Liver Health

https://www.cedars-sinai.org/newsroom/study-new-biological-clues-behind-coffees-benefit-to-liver-...
1•littlexsparkee•4m ago•0 comments

Show HN: An always-fresh memory that learns your repo, so agents stop re-reading

https://github.com/shofer-dev/claude-code-live-memory
1•alsterg•5m ago•0 comments

Prediction Markets Let You Bet on Whether a Wildfire Will Burn Down Your Town

https://www.wired.com/story/prediction-markets-let-you-bet-wildfire/
1•1vuio0pswjnm7•7m ago•0 comments

Cartes.app – a free and open map, a Web alternative to Google and Apple maps

https://cartes.app
1•mistermatt•8m ago•0 comments

Riot Engineering: How VALORANT Solved Peeker's Advantage (2020)

https://www.riotgames.com/en/news/peeking-valorants-netcode
1•xeonmc•11m ago•0 comments

2027 is comming, and Siri still can't distinguish between thirteen and thirty

1•fernvenue•15m ago•1 comments

George Orwell's guide to making a perfect cup of tea (1946)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/a-nice-cup-o...
2•xeonmc•15m ago•0 comments

MI5 knew agent was misogynist 'obsessed' with violence, watchdog finds

https://www.bbc.co.uk/news/articles/cj9gggjekyjo
1•pera•16m ago•0 comments

Word Count for Students: What You Need to Know

https://fastwordcount.com/blog/how-word-count-affects-students/
2•rajkverma123•17m ago•0 comments

A Gost Client for Android

https://github.com/lkebin/GostX
1•lkebin•19m ago•0 comments

LiveSpace – Browser orbital tracking console on live NASA/JPL data

https://livespace-console.netlify.app
1•sn001•19m ago•0 comments

Plotline – a context-integrity benchmark for LLM apps, and the fixes it drove

https://github.com/Doric-builder/plotline
1•Dorid-builder•20m ago•0 comments

X has launched its complete rewrite of X Web

https://twitter.com/wongmjane/status/2073141434484666724
2•insin•20m ago•2 comments

Harness Engineering for Self-Improvement

https://lilianweng.github.io/posts/2026-07-04-harness/
1•handfuloflight•22m ago•0 comments

Air pollution linked to DNA changes in sperm

https://www.theguardian.com/science/2026/jul/07/air-pollution-dna-changes-sperm-men
4•Earw0rm•25m ago•1 comments

When the Heat Steals Your Smile

https://www.earthisland.org/journal/index.php/magazine/entry/Extreme-heat-is-rapidly-decaying-tee...
4•bryanrasmussen•31m ago•0 comments

Family's $300 Stake in OpenAI

https://www.technologyreview.com/2026/07/06/1140176/your-familys-300-stake-in-openai/
2•joozio•33m ago•0 comments

Why We Don't Trust the Database with Authentication

https://blog.sturdystatistics.com/posts/api_keys/
2•kianN•35m ago•0 comments

Elastic's Agentic SOC

https://www.elastic.co/security-labs/alert-triage-agentic-soc-elastic-workflows
2•shahargl•38m ago•0 comments

Efficiency focused "Thinking CAP" model series

https://www.bottlecapai.com/thinkingcap-qwen3-6-27b
3•nitramm•40m ago•0 comments

Flex your Claude Code usage

https://www.claudeusage.com/leaderboard
2•bazarkua•41m ago•0 comments

I built Tempo Kit to keep everything I need for music practicing in one place

https://tempo-kit.vercel.app
2•crescendocompa•43m ago•0 comments

Riot – Image Optimizer

https://riot-optimizer.com/
2•wolfi1•44m ago•0 comments

Show HN: I made a browser TUI with its own layout engine

5•keepamovin•45m ago•1 comments

Polymarket has a real CLOB API and nobody is talking about it

https://github.com/casatrick/polymarket-arbitrage-bot
1•casatrick•46m ago•0 comments

Thinflation

https://mitxela.com/rants/thinflation
1•Miraltar•47m ago•0 comments