Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: H-CLI – Manage network infrastructure with natural language (github.com/h-network)
1 point by h-network 7 days ago | hide | past | favorite | 3 comments
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

 help



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.

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


nice! chunking and jsonl is smart. love the auto rag—makes life easier.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: