frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Dbcli – A Lightweight Database CLI Designed for AI Agents

1•justvugg•2h ago
I built dbcli, a lightweight database CLI designed specifically for AI agents that need fast, low-overhead access to relational databases.

The main idea is to make database introspection and querying simple and efficient when an agent has shell access. With a single command (dbcli snap), you can retrieve schema details, table relationships, and basic data profiling (column stats, ranges, cardinality) without stitching together multiple queries or tools. This helps reduce token usage and unnecessary round-trips in agent workflows.

Dbcli supports multiple databases, including PostgreSQL, MySQL, MariaDB, SQLite, DuckDB, ClickHouse, SQL Server, and others via optional drivers. It allows running queries, executing SQL files, and writing data directly from the CLI. There’s no server process or external service required — just install locally with:

pip install -e .

The goal is to provide a simple, agent-agnostic alternative to heavier protocol-based approaches, working with any system capable of executing shell commands.

I’d really appreciate feedback, especially from those building AI agents or tools that require structured database access.

Github repo: https://github.com/JustVugg/dbcli

Comments

xing_horizon•2h ago
Nice tool direction. For agent workflows, a snapshot command that returns schema + stats in one shot is genuinely useful. One thing that could make this even stronger for multi-agent pipelines: stable snapshot metadata (timestamp, source DB identity, row-count hash) so downstream agents can detect staleness and avoid reasoning on outdated state.
justvugg•2h ago
Thanks for the suggestion and for the comment! I will try to implement more and more things as soon as the usage becomes hopefully wider!

Trae Stephens: I want to buy Wired

https://twitter.com/i/status/2028824764656283997
1•mudil•33s ago•0 comments

Show HN: I build a free topical authority map generator for blog

https://kitful.ai/write-tools/topical-map-generator
1•eashish93•2m ago•0 comments

Show HN: Headless Obsidian Sync Client

https://github.com/alexjbarnes/vault-sync
1•recouptreadmill•2m ago•0 comments

Show HN: VibeDiff – Blocks Claude Code from shipping breaking changes

https://github.com/SallahBoussettah/vibe-diff
1•Boussettah•2m ago•0 comments

Buckle Up for Bumpier Skies

https://www.newyorker.com/projects/interactive/2026/20260226-bilger-turbulence-header-prod/202602...
1•rbanffy•4m ago•0 comments

How To Put 30 Languages Into 1.1MB – hypher, a fast hyphenation library for Rust

https://laurmaedje.github.io/posts/hypher/
1•zdw•5m ago•0 comments

Prediction markets on Deutsche Bahn departure delays

https://bahn.bet
1•dancric•5m ago•0 comments

AI causing programmers to work longer hours fixing bugs

https://www.scientificamerican.com/article/why-developers-using-ai-are-working-longer-hours/
3•timoth3y•7m ago•1 comments

Show HN: A Free, interactive API course for product managers

https://api101.org/en
1•matb31240•7m ago•0 comments

Qwen 3.5: best open-weight vision models, now on live video at 200ms

https://blog.overshoot.ai/blog/qwen3.5-on-overshoot
1•YounElh•7m ago•0 comments

Voice Can Make Coding Agents Better (In Some Cases)

https://nimasadri11.github.io/random/voice-input-agents.html
2•nimasadri11•9m ago•0 comments

A Vindication of Bjorn Lomborg

https://humanprogress.org/a-vindication-of-bjorn-lomborg/
1•mpweiher•10m ago•0 comments

Study: LLMs Able to De-Anonymize User Accounts on Reddit, Hacker News

https://wjamesau.substack.com/p/warning-llms-able-to-de-anonymize
1•SLHamlet•11m ago•0 comments

A Soft-Landing Manual for the Second Gilded Age

https://www.joanwestenberg.com/a-soft-landing-manual-for-the-second-gilded-age/
1•spking•13m ago•0 comments

Claude Code skills for modern xOS (iOS, iPadOS, watchOS, tvOS) development

https://github.com/CharlesWiltgen/Axiom
1•rob•16m ago•0 comments

How Teens Use and View AI

https://www.pewresearch.org/internet/2026/02/24/how-teens-use-and-view-ai/
1•bookofjoe•18m ago•0 comments

Three scientists who said no to Epstein

https://www.science.org/content/article/meet-three-scientists-who-said-no-epstein
4•klipt•18m ago•0 comments

TrustLoop – Real-time policy enforcement and audit logging for AI agents

https://www.trustloop.live/
1•soji_mathew•21m ago•0 comments

Cybersecurity Forecast 2026 [pdf]

https://services.google.com/fh/files/misc/cybersecurity-forecast-2026-en.pdf
1•bookofjoe•24m ago•0 comments

Show HN: Interactive WordNet Visualizer-Explore Semantic Relations as a Graph

https://wordnet-vis.onrender.com/
1•ricky_risky•26m ago•0 comments

How to Manage Team Offsites Across Multiple Departments Without Micromanaging

https://daydreamsinruby.com/blog/2026-02-23-aligned-offsite-outcomes/
1•mooreds•27m ago•0 comments

Clud – super light-weight tool to turn natural language to terminal commands

https://github.com/oskob/clud
1•oskob•27m ago•2 comments

Log messages are mostly for the people operating your software

https://utcc.utoronto.ca/~cks/space/blog/programming/LogMessagesAreForOperation
1•todsacerdoti•28m ago•0 comments

A Race Within a Race: Exploiting CVE-2025-38617 in Linux Packet Sockets

https://blog.calif.io/p/a-race-within-a-race-exploiting-cve
3•WalterSobchak•29m ago•0 comments

So long, and thanks for all the logs

https://jerodsanto.net/2026/03/so-long-changelog/
2•mooreds•29m ago•0 comments

Computer Use Protocol – AI agents can perceive and interact with any desktop UI

https://github.com/computeruseprotocol/computeruseprotocol
3•k4cper-g•29m ago•0 comments

Why we love Vim (2021) [audio]

https://changelog.com/podcast/450
1•mooreds•31m ago•0 comments

Show HN: Limabean – a new implementation of Beancount in Clojure/Rust

https://github.com/tesujimath/limabean
1•tesujimath•31m ago•0 comments

Light-responsive porous aromatic frameworks manipulate CO2 uptake

https://www.pnas.org/doi/10.1073/pnas.2520024123
1•PaulHoule•31m ago•0 comments

Tech Legend Stewart Brand on Musk, Bezos and His Extraordinary Life

https://www.theguardian.com/technology/2026/feb/25/tech-legend-stewart-brand-on-musk-bezos-and-hi...
1•rmason•32m ago•0 comments