295 karma · joined Mar 7, 2023 (3y ago) · 45 submissions
1.
Show HN: Context Mode Insight – observability layer for AI coding agents(context-mode.com ↗)
1 points · by mksglu · 5mo ago · discuss
comment 8mo ago · link · parent
So I built Hatice.
comment 8mo ago · link · parent
Codex proved the concept. Symphony showed the architecture in Elixir/OTP. I wanted the same thing with Claude Code.
So I built Hatice.
comment 8mo ago · link · parent
What's new:
- Five platform adapters: Claude Code, Gemini CLI, VS Code Copilot, OpenCode, Codex CLI
- Session Continuity: survives context compactions, restores state automatically (~3h sessions vs ~30 min)
- ctx_batch_execute: one call replaces 30+ individual commands
- Three-layer fuzzy search: Porter stemming, trigram substring, Levenshtein
- FTS5 deduplication, background mode, SSL cert auto-detection
Breaking: repo renamed claude-context-mode → context-mode, tools prefixed with ctx_. Install (Claude Code): /install context-mode
Install (all platforms): npm install -g context-mode
GitHub: https://github.com/mksglu/context-mode
Release notes: https://github.com/mksglu/context-mode/releases/tag/v1.0.0
Four adapters are in beta — PRs welcome. The codebase is designed for Agentic Engineering: point your coding agent at it and let it propose fixes.Thank you to everyone who commented, starred, and opened issues on the original post. You made this release happen.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
SecLaw runs 4 Docker containers with strict boundaries: non-root,
cap_drop ALL, read-only filesystem, 512MB/1CPU limits per container,
zero inbound ports via Cloudflare Tunnel. API keys are sealed per service,
not shared across containers.
The interesting part is multi-agent auto-routing. You install agents as
templates (npx seclaw add inbox-agent, npx seclaw add research-agent)
and they stack onto one Telegram bot. The LLM routes each message to the
right capability — email questions go to Inbox, lead questions go to Sales.
Every response shows which agent answered.
Architecture: Node.js agent + Inngest for scheduled workflows + Desktop
Commander (MCP server, read-only) + Cloudflare Tunnel. All orchestrated
by a single CLI command.
Setup is `npx seclaw` — walks you through LLM provider, API key, Telegram
token, and runs docker compose up. 60 seconds, no YAML editing.21.
Show HN: SecLaw – Self-hosted AI agents on your machine, Docker-isolated(github.com ↗)
2 points · by mksglu · 9mo ago · 2 comments
comment 9mo ago · link · parent
comment 9mo ago · link · parent
The core idea: every MCP tool call dumps raw data into your 200K context window. Context Mode spawns isolated subprocesses — only stdout enters context. No LLM calls, purely algorithmic: SQLite FTS5 with BM25 ranking and Porter stemming.
Since the last post we've seen 228 stars and some real-world usage data. The biggest surprise was how much subagent routing matters — auto-upgrading Bash subagents to general-purpose so they can use batch_execute instead of flooding context with raw output.
Source: https://github.com/mksglu/claude-context-mode Happy to answer any architecture questions.