News for hackers. Stuff that matters.

eggermarc

Show HN: Chat-rs, yet another LLM provider

https://github.com/eggermarc/chat-rs

Hello everyone! I'm happy to announce chat-rs, another LLM inference provider written in rust with streaming capabilities, tool calling, and intuitive ergonomics. I was heavily inspired by vercel's ai-sdk react framework and I wanted to have a semi opinionated rust alternative. Aside from the basics, we support full on model routers, human-in-the-loop for stop and pause, and thanks to...

( Read More... | no comments | on HN )

Show HN: Run Python tools on rust agents

https://github.com/eggermarc/tools-rs

Over at Tools-rs, we wanted to script tools faster with the help of large communities. The interest arose to build a way to bridge our Rust LLM runtimes together with more traditional scripting languages, so we decided to find a way to bring Python tools into our ecosystem. Hence, we're introducing our first FFI on Python (powered by PyO3)!Calling a Python tool is as easy as writing a...

( Read More... | 1 comment | 2 points | on HN )
Re:Better Auth Usage (plugin) on Wednesday March 25, 2026 @06:09PM (#47523955)
I kept rebuilding the same thing in every SaaS: tracking usage, enforcing limits, gating features by plan. Better Auth handles auth/orgs well, but not this layer. So I made a plugin for it.

The basic idea is for you to define features (api calls, credits, seats, clicks, anything really) set limits per plan and some functionality if you're sharing quotas with other accounts, track usage, and block when limits are hit (or surcharge, up to you)

So instead of scattering checks across your app, it lives in one place.

It's in early development so any takes are welcome. Would appreciate feedback! (PS, there's a demo in the repo, you can use it, it's not the fastest because I didn't set it up right though, not using the ws you'd get in local)

Show HN: Tools-rs, a Rust library to easily setup AI tools

https://github.com/EggerMarc/tools-rs

I created a tools library to easily serialize, collect, manage, and call AI custom tools written in rust. Just add #[tool] on top of a function with your typical comments and the AI will take it from there! It's inference / client agnostic, and serializes your function to a JSON, so you can build your own inference client or plug this into an existing one with ease :)

( Read More... | no comments | 2 points | on HN )