News for hackers. Stuff that matters.

Jonathanfishner

jonathan from OneCLI here, yes - approval binds to the exact req by opening it (method, URL, body) when there’s a matching policy defined. then the gateway holds the call and the card shows the parsed payload.

just to clarify how it works - on same host, rules match based on method + path + body, not only the host. for example, GET /calendar/v3/* can be allowed while POST needs approval.

Re:PGSimCity - How PostgreSQL Works on Sunday July 26, 2026 @10:33PM (#49064589)
thats cool. n1. spent 15min looking on it rn
got it. we have not heard that need from users yet, but, can def see it being usefule as a fallback mechanism, since we are already sit at this network proxy layer.

what type of calls are you aiming to? can share example of that "call is billed.." is that specific apps you have in mind?

thanks, both are useful.

1. we support OAuth apps today, and we're growing the catalog based on demand. we support rotating and refreshing tokens for those.

2. I'd like to understand your case better. sitting in the request path means we could own retry mechanisms, but I'm curious what made you think of it, what kind of use cases did you have in mind?

yes the agent controls its environment which is exactly why nothing sensitive should live there. The gateway and the real secrets sit outside the sandbox. that said, not holding the secrets doesn't make the agent harmless. It still acts autonomously, and it can use whatever access those credentials grant. do you see the second half as the bigger risk? curious how people are thinking about it.

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://onecli.sh

hey HN, Jonathan and Guy here, creators of OneCLI. OneCLI is an open source vault for AI Agents. traditional vaults are used to store your secrets and, on demand, provide them to you all in a secure way, trusting the person to keep them safe. we figured that in the agent's world, this is not the case, as you don't know what happens with the secret after it's delivered to the agent, or where it...

( Read More... | 32 comments | 2 points | on HN )
Re:NanoClaw Adopts OneCLI Agent Vault on Tuesday March 24, 2026 @09:56AM (#47502679)
Creator of OneCLI here.

On (1), the agent runs in its own container where OneCLI doesn't exist. It can't spin up OneCLI or access its process because it's completely isolated from it. The agent only ever sees placeholder tokens, the real secrets live in a separate container it has no way to reach.

On (2), we actually address this with OneCLI Rules, deterministic constraints enforced at the proxy level before a request ever hits the API. So the agent doesn't need to "behave", it just can't do what the rules don't allow. Would love to hear more about your signed tokens approach.

Re:Show HN: OneCLI – Vault for AI Agents in Rust on Friday March 13, 2026 @07:02AM (#47362797)
that's exactly the idea. appreciate you framing it so clearly
Re:Show HN: OneCLI – Vault for AI Agents in Rust on Friday March 13, 2026 @06:13AM (#47362505)
Re IronClaw is probably the most hardened open-source implementation I've seen for this, but a sufficiently clever prompt injection against the built-in tools (especially shell) could still reach secrets.

Re TLS: OneCLI itself runs in a separate container, acting as an HTTPS proxy. The SDK auto-configures agent containers with proxy env vars + a local CA cert. When the agent hits an intercepted domain, OneCLI terminates TLS, swaps placeholder tokens for real creds, and forwards upstream. Containers never touch actual keys.

More here: https://www.onecli.sh/docs/sdks/node#how-it-works

Re 1Password adapters: not yet, but on the roadmap.

Re:Show HN: OneCLI – Vault for AI Agents in Rust on Friday March 13, 2026 @05:39AM (#47362315)
It's not the same. The core overlap is that agents shouldn't be holding raw credentials, that part isn't new, agreed. But the problem space goes further when you're building for agents specifically:

- Requiring human approval before sensitive actions go through (as @guyb3 mentioned in the post)

- Managing short-lived JWT tokens (refresh/access) with tight TTLs.

- Scoping permissions per-session rather than per-service

Auth-proxying solves the "don't give the box your API key" part. But the approval layer and token lifecycle management are what make this agent-specific, not just "SSO proxy repackaged."

Re:Show HN: Clawe – open-source Trello for agent teams on Tuesday February 10, 2026 @03:44PM (#46966628)
i have 34 more minutes to edit this post, give me something good and i'll change it

Show HN: Clawe – open-source Trello for agent teams

https://github.com/getclawe/clawe

We recently started to use agents to update some documentation across our codebase on a weekly basis, and everything quickly turned into cron jobs, logs, and terminal output.it worked, but was hard to tell what agents were doing, why something failed, or whether a workflow was actually progressing.We thought it would be more interesting to treat agents as long-lived workers with state and...

( Read More... | 41 comments | 33 points | on HN )

Show HN: ChartDB Cloud – Visualize and Share Database Diagrams

https://app.chartdb.io

Me and Guy (@guyb3) built ChartDB to generate ER diagrams from your database without a need of any database access (via query/sql/dbml). We started with an open-source version, and after seeing a lot of use we decided to make a cloud version.Our OSS launch (1y ago) - https://news.ycombinator.com/item?id=41339308Now we’re launching ChartDB Cloud - built for teams:- Embed ERDs into docs, dev...

( Read More... | 13 comments | 45 points | on HN )
Re:Ask HN: What are you working on? (July 2025) on Sunday July 27, 2025 @03:21PM (#44703818)
We’re building ChartDB - an open-source tool to visualize and edit your database schema.

Supports Postgres, MySQL, SQLite, MSSQL, ClickHouse. Includes AI export to generate DDL in any SQL dialect.

17.5k+ GitHub stars, Feedback welcome!

https://github.com/chartdb/chartdb https://www.chartdb.io

Really interesting to see this built on Google Apps Script such an underrated gem for quick, reliable automations! Cal.com is already out there and doing great, but it’s still cool to see this lightweight approach. Sometimes simpler is just better, especially for folks who don’t need a full setup and just want a scheduling tool that ties right into Gmail.

It may be early, but great job putting it out there! Appreciate seeing alternatives that keep things lean and accessible-nice work!

Re:ChartDB – Free and open source, database design editor on Wednesday August 28, 2024 @01:03PM (#41381634)
Thank you for the kind words! I'm glad you're enjoying ChartDB. We appreciate your feedback about handling large tables with 100+ columns. Improving that experience is definitely on our radar! It would be great if you could open an issue on our GitHub repo with more details, that way, we can ensure it gets the attention it deserves and make it even better for your use case. Looking forward to your input!
Re:Show HN: Visualize database schemas with a single query on Sunday August 25, 2024 @03:29PM (#41350487)
Thanks for catching that! I’ve fixed it for you here: https://dbfiddle.uk/F2vuGKVS. I also tested the export script with a table name like "table", and it worked. If you don’t mind, could you open an issue in our repo? I’ll work on pushing a full fix today.
Re:Show HN: Visualize database schemas with a single query on Sunday August 25, 2024 @08:38AM (#41346878)
Thanks for giving it a try! I just tested it on an RDS PostgreSQL 15.4 instance, and it worked on my end. Would you mind opening a GitHub issue so we can dig into this further and help resolve it? Your input will be really helpful in fixing the issue.
Re:Show HN: Visualize database schemas with a single query on Sunday August 25, 2024 @08:37AM (#41346874)
Thanks for pointing that out! Just to clarify, we provide a single, hardcoded query that fetches metadata, with no option for user input. The user only needs to take the generated JSON and use it in a React app that they can also run locally. Since there's no user input involved, SQL injection shouldn't be a concern here. If you see any specific risks, though, I’d love to hear more!
Re:Show HN: Visualize database schemas with a single query on Saturday August 24, 2024 @07:20PM (#41342715)
Thank you for catching that issue with the STRING_AGG limit! I just pushed a fix that now supports nvarchar(max) to avoid truncation. This should resolve the issue with large outputs in MSSQL. If you still encounter any problems, please let me know. I'd love for you to give it another try and see if everything works as expected now. Your feedback is invaluable!
Re:Show HN: Visualize database schemas with a single query on Saturday August 24, 2024 @05:29PM (#41341684)
Thanks for the feedback! The emphasis on a single query highlights how easy it is to import your database schema: just run the query, get the JSON output, and start editing your diagram in ChartDB. Plus, there’s no need to sign in or set your database credentials. It’s all about simplifying the process and saving time so you can get started quickly. Speed is a bonus, but the main value is the simplicity and ease of use. Glad you're giving it a try!
Re:Show HN: Visualize database schemas with a single query on Saturday August 24, 2024 @05:24PM (#41341646)
Thank you first of all! ChartDB stands out with its one-query for visualization, AI-powered migration for easy cross-DB transitions, and interactive editing, all free and open-source, combining these features in a user-friendly way.
Re:Show HN: Visualize database schemas with a single query on Saturday August 24, 2024 @05:18PM (#41341597)
Thanks for the feedback! We aimed to make database migration easier and found that AI could really enhance this process by handling the complexities of different DB dialects. We'll also explore more deterministic approaches, as you suggested, using a common internal representation. The "Examples" link is being fixed—thanks for catching that!
Re:Show HN: Visualize database schemas with a single query on Saturday August 24, 2024 @01:41PM (#41339886)
Thank you! We use GPT-4o to generate database schema creation scripts for different database dialects. Basically, we wanted to add the option to export the db schema to any type of database (for easy Migration for example from MySQL to PostgreSQL or from SQLite to MariaDB). First, we tried to implement that logic, after getting into trouble with too many different edge cases and dialect differences between different databases we decided to leverage AI in order to achieve that.

Show HN: Visualize database schemas with a single query

https://github.com/chartdb/chartdb

Hey HN! We are Jonathan & Guy, and we are happy to share a project we’ve been working on. ChartDB is a tool to help developers and data analysts quickly visualize database schemas by generating ER diagrams with just one query. A unique feature of our product is AI-Powered export for easy migration. You can give it a try at https://chartdb.io and find the source code on GitHub. Next steps...

( Read More... | 64 comments | 73 points | on HN )