Skip to content

Releases: h-network/h-cli

v2.0.0 — Four Interfaces, Self-Learning Memory, Concurrent Processing

06 Mar 07:57

Choose a tag to compare

h-cli is now a multi-interface, self-learning infrastructure assistant.

What's new

Interfaces

  • Slack — Socket Mode, slash commands, thread-aware replies
  • Discord — Gateway, embeds, abort buttons, ephemeral messages
  • Web UI — FastAPI + WebSocket, HTTPS, multi-user, h-cli.ai theme, conversation history restore
  • Telegram — activity stream improvements, source tracking

All four interfaces share the same Redis contracts. Enable any combination via setup.sh or compose profiles.

Concurrent Processing

  • Thread pool dispatcher with MAX_CONCURRENT_TASKS (default 3)
  • Per-chat serialization — same user sequential, different users parallel
  • Long-running command feedback (elapsed timer after 30s)

Self-Learning Vector Memory

  • Conversations auto-indexed into Qdrant nightly via MiniLM embeddings
  • Multi-collection support — drop JSONL into data/collections/, restart
  • Smart default collection resolution from QDRANT_COLLECTIONS env var
  • Generic memory proxy — forwards all parameters without interpretation

Security

  • Env output redaction — env/printenv values blanket-redacted
  • 45 hardening items across 12 services
  • All interfaces fail-closed on empty credentials

Deployment

  • Interactive setup.sh with interface selection
  • Compose profiles per interface (telegram, slack, discord, web)
  • Self-signed SSL auto-generated for web UI
  • Conversation auto-indexing schedule (configurable time)
  • ACTIVITY_CMD_MAX_LEN configurable via env (default 150)

Quick Start

git clone https://github.com/h-network/h-cli.git && cd h-cli
bash setup.sh
docker compose up -d

Full docs: https://h-cli.ai

Asimov Firewall — Natural Language Infrastructure Management

16 Feb 23:16

Choose a tag to compare

What's included

  • Asimov Firewall — layered safety model (Asimov's Laws + TCP/IP stack hierarchy). Pattern denylist + independent Haiku gate on every command.
  • Plain text context injection — 71% fewer tokens vs JSONL replay, 4-hour session persistence.
  • 44 security hardening items — non-root containers, network isolation, HMAC-signed results, read-only rootfs.
  • Vector memory — optional Qdrant-backed semantic search over curated Q&A knowledge.
  • log4AI — drop-in shell logger, structured JSONL, bash + zsh.
  • Multi-channel ready — Redis bus decouples the interface from the engine.

Architecture

Four containers, two isolated Docker networks. Runs on your Claude Max/Pro subscription — zero API costs.

Telegram → Redis → Dispatcher → Core (ParrotOS)

Asimov Firewall

Get started

./install.sh
nano .env          # set TELEGRAM_BOT_TOKEN, ALLOWED_CHATS
docker compose up -d


Full docs: docs/architecture.md · docs/security.md · docs/configuration.md

**Full Changelog**: https://github.com/h-network/h-cli/commits/v1.0.0