News for hackers. Stuff that matters.

Show HN: H-CLI – Manage network infrastructure with natural language

https://github.com/h-network/h-cli

Network engineer here. I've been building my own parallel SSH tooling (h-ssh) for years, multi-vendor (Junos, Arista, IOS, NXOS), parallel telnet, parallel REST API calls. It's been my daily driver in production.

A few months ago I gave it an AI brain. h-cli lets you manage infrastructure by sending plain English messages in Telegram. Claude Code by default, also works with self-hosted models through the Claude Code framework via API calls to vLLM/Ollama.

What it can do:

- "Discover the CLOS fabric and document everything in NetBox with cable detail" — 12 routers, full cabling, 4 minutes (GIF on the repo) - Parallel REST calls across APIs in a single job — correlated results in seconds ; copied from h-ssh - EVE-NG lab automation — natural language to full lab deployment, bootstrap, and verification - Grafana dashboard rendering straight into Telegram - Teachable skills — demonstrate a workflow, it learns it - Chunk-based conversation memory (24h) + Qdrant vector memory for your own datasets (I used EVPN docs, worked perfectly for creating templates and troubleshooting) - Redis-based horizontal scaling, designed with future plans to run multiple instances against a shared vLLM backend

Safety: a separate stateless LLM (Haiku, also adjustable for local LLMs) gates every command with zero conversation context — can't be social-engineered. Pattern denylist, two isolated Docker networks, non-root, cap_drop ALL, HMAC-signed results. 44 hardening items total.

Self-hosted, Docker Compose, 9 containers, MIT licensed.

The interesting part might be how it was built: one operator coordinating 8 parallel AI agent teams, zero human developers. The development methodology doc covers the full process, architecture, coordination via git + Redis, conflict resolution between agents. Of course i reviewed the code changes, hence the commit discipline.

https://github.com/h-network/h-cli

( 3 comments | on HN )
Re:Show HN: H-CLI – Manage network infrastructure with natur... by jlongo78 on Sunday March 01, 2026 @10:59PM (#47213715)
Nice project. One pattern I've seen work well with natural language infra tools is pairing them with persistent terminal sessions so you can resume context mid-troubleshoot without re-explaining your network state. The LLM context gets expensive to rebuild. Also worth considering multi-pane layouts when you're running diagnostics alongside the CLI itself - seeing live output next to the agent conversation catches hallucinated commands before they propagate.
Re:Show HN: H-CLI – Manage network infrastructure with natur... by h-network on Saturday March 07, 2026 @11:24PM (#47294378)
it actually saves everything as chunks and jsonl then during setup you can configure at what time to embed the conversation history daily :) So it has rag and embedding automatically out of the box.

This tackles exactly what youre describing

Re:Show HN: H-CLI – Manage network infrastructure with natur... by jlongo78 on Saturday March 07, 2026 @11:25PM (#47294385)
nice! chunking and jsonl is smart. love the auto rag—makes life easier.