frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building an AI agent inside a 7-year-old Rails monolith

https://catalinionescu.dev/ai-agent/building-ai-agent-part-1/
36•cionescu1•2h ago

Comments

pell•1h ago
Was there any concern about giving the LLM access to this return data? Reading your article I wondered if there could be an approach that limits the LLM to running the function calls without ever seeing the output itself fully, e.g., only seeing the start of a JSON string with a status like “success” or “not found”. But I guess it would be complicated to have a continuous conversation that way.
MangoToupe•1h ago
Bruh this cannot seriously be considered interesting by hacker news guidelines. Where's the beef? Can i submit my instagram client for points next?
nomilk•47m ago
I found it interesting because they:

- Made a RAG in ~50 lines of ruby (practical and efficient)

- Perform authorization on chunks in 2 lines of code (!!)

- Offload retrieval to Algolia. Since a RAG is essentially LLM + retriever, the retriever typically ends up being most of the work. So using an existing search tool (rather than setting up a dedicated vector db) could save a lot of time/hassle when building a RAG.

Labo333•11m ago
I built a similar system for php and I can tell you what is the smart thing here: accessing data using tools.

Of course tool calling and MCP are not new. But the smart thing is that by defining the tools in the context of an authenticated request, one can easily enforce the security policy of the monolith.

In my case (we will maybe write a blog post one day), it's even neater as the agent is coded in Python so the php app talks with Python through local HTTP (we are thinking about building a central micro service) and the tool calls are encoded as JSON RPC, and yet it works.

sidd22•1h ago
Hey, interesting read. I am working on product in Agent <> Tool layer. Would you be open for a quick chat ?
tovej•29m ago
If all this does is give you the data from a contact API, why not just let the users directly interact with the API? The LLM is just extra bloat in this case.

Surely a fuzzy search by name or some other field is a much better UI for this.

midnightclubbed•6m ago
What does the end user do with the AI chat? It sounds like they can just use it to do searches of client information… which the existing site would already do.

Maybe the default settings are too high

https://www.raptitude.com/2025/12/maybe-the-default-settings-are-too-high/
607•htk•11h ago•184 comments

Geometric Algorithms for Translucency Sorting in Minecraft [pdf]

https://douira.dev/assets/document/douira-master-thesis.pdf
5•HeliumHydride•33m ago•10 comments

Building an AI agent inside a 7-year-old Rails monolith

https://catalinionescu.dev/ai-agent/building-ai-agent-part-1/
36•cionescu1•2h ago•7 comments

TurboDiffusion: 100–200× Acceleration for Video Diffusion Models

https://github.com/thu-ml/TurboDiffusion
84•meander_water•6h ago•8 comments

MiniMax M2.1: Built for Real-World Complex Tasks, Multi-Language Programming

https://www.minimaxi.com/news/minimax-m21
144•110•9h ago•43 comments

Show HN: Gaming Couch – a local multiplayer party game platform for 8 players

https://gamingcouch.com
197•ChaosOp•4d ago•51 comments

Show HN: GeneGuessr – a daily biology web puzzle

https://geneguessr.brinedew.bio/
34•brinedew•3d ago•7 comments

The Algebra of Loans in Rust

https://nadrieril.github.io/blog/2025/12/21/the-algebra-of-loans-in-rust.html
3•g0xA52A2A•3d ago•2 comments

Tiled Art

https://tiled.art/en/home/?id=SilverAndGold
141•meander_water•6d ago•5 comments

Fahrplan – 39C3

https://fahrplan.events.ccc.de/congress/2025/fahrplan/
248•rurban•15h ago•59 comments

Python 3.15’s interpreter for Windows x86-64 should hopefully be 15% faster

https://fidget-spinner.github.io/posts/no-longer-sorry.html
365•lumpa•21h ago•125 comments

The entire New Yorker archive is now digitized

https://www.newyorker.com/news/press-room/the-entire-new-yorker-archive-is-now-fully-digitized
419•thm•5d ago•55 comments

Tachyon: High frequency statistical sampling profiler

https://docs.python.org/3.15/library/profiling.sampling.html
56•vismit2000•3d ago•2 comments

Ultimate-Linux: Userspace for Linux in Pure JavaScript

https://github.com/popovicu/ultimate-linux
64•radeeyate•7h ago•15 comments

How to Reproduce This Book with LaTeX

https://github.com/BenjaminGor/Latex_Notes_Tutorial
15•nill0•6d ago•2 comments

Animating Quines for Larva Labs

https://destroytoday.com/blog/animating-quines-for-larva-labs
13•speckx•3d ago•0 comments

Lessons from a year of Postgres CDC in production

https://clickhouse.com/blog/postgres-cdc-year-in-review-2025
31•saisrirampur•6d ago•0 comments

CUDA Tile Open Sourced

https://github.com/NVIDIA/cuda-tile
177•JonChesterfield•6d ago•87 comments

Seven Diabetes Patients Die Due to Undisclosed Bug in Abbott's Glucose Monitors

https://sfconservancy.org/blog/2025/dec/23/seven-abbott-freestyle-libre-cgm-patients-dead/
272•pabs3•9h ago•87 comments

Paperbacks and TikTok

https://calnewport.com/on-paperbacks-and-tiktok/
118•zdw•3d ago•71 comments

When a driver challenges the kernel's assumptions

http://miod.online.fr/software/openbsd/stories/udl.html
55•todsacerdoti•9h ago•13 comments

Ask HN: What skills do you want to develop or improve in 2026?

110•meridion•18h ago•155 comments

Asahi Linux with Sway on the MacBook Air M2 (2024)

https://daniel.lawrence.lu/blog/2024-12-01-asahi-linux-with-sway-on-the-macbook-air-m2/
238•andsoitis•19h ago•231 comments

Archiving Git branches as tags

https://etc.octavore.com/2025/12/archiving-git-branches-as-tags/
111•octavore•3d ago•36 comments

The Program 2025 annual review: How much money does an audio drama podcast make?

https://programaudioseries.com/the-program-results-7/
73•I-M-S•3d ago•16 comments

I sell onions on the Internet (2019)

https://www.deepsouthventures.com/i-sell-onions-on-the-internet/
443•sogen•17h ago•127 comments

Show HN: Lamp Carousel – DIY kinetic sculpture powered by lamp heat (2024)

https://evan.widloski.com/posts/spinners/
81•Evidlo•1d ago•14 comments

We invited a man into our home at Christmas and he stayed with us for 45 years

https://www.bbc.co.uk/news/articles/cdxwllqz1l0o
1058•rajeshrajappan•23h ago•249 comments

Fabrice Bellard Releases MicroQuickJS

https://github.com/bellard/mquickjs/blob/main/README.md
1456•Aissen•2d ago•546 comments

Critical vulnerability in LangChain – CVE-2025-68664

https://cyata.ai/blog/langgrinch-langchain-core-cve-2025-68664/
106•shahartal•16h ago•70 comments