Settings

Theme

Show HN: Give Your ORM Superpowers

github.com

2 points by dipankarsarkar 7 days ago · 1 comment · 1 min read

Reader

I am obsessed with ORMs and the simple reason was that I didn't want to keep using postgres or mysql on my local system.

Jk, The real reason has always been to enforce access policy, do easy CRUD interfaces and so on.

Now with all these agents being built, I figured they should not be making SQL calls directly (just like junior eng :P).

So i present ormAI, this is the official blurb.

OrmAI wraps your existing ORM models in a policy-enforced runtime. Your agents get typed tools for querying and writing data — while you keep control over what they can see and do. No raw SQL. No prompt injection into your database. Just safe, auditable, tenant-scoped database tools.

I did benchmark it with Text to SQL tools, and for obvious reasons this did not do badly at all.

Check it out, write more AI agents.

dipankarsarkarOP 6 days ago

Its confirmed no-one wants their ORMs to have super powers ;).

We shall continue to grok the LLMs till the right SQL is found and make feeble attempts at policy enforcement by whispering sweet kid but terse instructions to it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection