{"slug": "lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost", "title": "LHIC – A local-first browser agent with 30ms latency and $0 LLM cost", "summary": "LHIC, a local-first browser automation runtime, achieves sub-35ms latency and 100% success on common tasks by bypassing LLMs with a fast-path execution engine. Its self-healing semantic locators outperform traditional selectors by 80% under layout changes, and enterprise features include AWS/GCP KMS integration, AES-256 encryption, and distributed account-level locking.", "body_md": "LHIC is a secure, high-performance, local-first browser automation runtime designed to translate human intent into deterministic, verifiable computer actions.\n\n**Fast Path Execution Engine**: Executes common browser tasks (login, forms, search, navigation) locally using Playwright and high-level skills, bypassing LLMs entirely. Achieving**100% Fast Path success rate** and**< 35ms median latency** on standard tasks.**Self-Healing Semantic Locators**: Immune to typical website updates. Outperforms traditional static CSS/XPath selectors by**+80% success rate** under layout modifications.**State-of-the-Art Security & KMS**:** KmsKeyManager**: Integrates AWS KMS, GCP KMS, and HashiCorp Vault key verification for high-risk actions.** AES-256-GCM Encryption**: Secure software-based database-level static encryption for sensitive user cookies and sessions.** PII & Credential Guard**: Automatically redacts credentials, passwords, and personally identifiable information from all system traces.\n\n**Enterprise Concurrency & Durability**:** BrowserPool**: Thread-safe Chromium context pooling with pre-warming and state purification.** Account-level Locking**: Distributed SQL-based queue preventing overlapping executions on identical accounts.** Durable Workflows**: Resilient workflow execution with step recovery and state-saving.\n\n**VNC Screencast Streaming**: CDP-based real-time JPEG screen frame broadcast at configurable frame rates (e.g., 10fps) for remote intervention.** APM Observability**: OpenTelemetry (OTLP) exporting mapping tracking spans to central log systems.\n\n`packages/schema`\n\n: Core Zod schemas and validation types.`packages/browser`\n\n: Playwright CDP wrappers, Screencast, and BrowserPool.`packages/verifier`\n\n: Dynamic DOM, URL, and file download verification.`packages/trace`\n\n: Redacted JSONL event logs and OTel APM export.`packages/memory`\n\n: SQLite workflow state and resilient selector memory.`packages/security`\n\n: KMS key managers, PII redaction, and database encryption.`packages/skills`\n\n: Fault-tolerant pre-defined browser skills.`packages/controller`\n\n: Decision routing, confidence scorer, and Slow Path interface.`apps/cli`\n\n: LHIC CLI command entrypoint (`lhic`\n\n).`apps/mcp-server`\n\n: Standard Model Context Protocol stdio entrypoint and HTTP API Control Plane.\n\nInstall dependencies:\n\n```\nnpm install\nnpm run build\n```\n\nRun preflight environment verification:\n\n```\nnpm run preflight\n```\n\nRun action with human approval:\n\n```\nnpx tsx apps/cli/src/main.ts run action <action-file> [approval-file]\n```\n\nRun internal regression benchmarks:\n\n```\nnpm run bench:internal\n```\n\nRun selector resilience simulation:\n\n```\nnpm run bench:simulate\n```\n\nBusiness Source License 1.1 (BSL) - see introduction website for more details.", "url": "https://wpnews.pro/news/lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost", "canonical_source": "https://github.com/chengmatt416/LHIC", "published_at": "2026-07-15 18:45:36+00:00", "updated_at": "2026-07-15 18:58:25.597722+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-infrastructure"], "entities": ["LHIC", "Playwright", "AWS KMS", "GCP KMS", "HashiCorp Vault", "OpenTelemetry", "SQLite"], "alternates": {"html": "https://wpnews.pro/news/lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost", "markdown": "https://wpnews.pro/news/lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost.md", "text": "https://wpnews.pro/news/lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost.txt", "jsonld": "https://wpnews.pro/news/lhic-a-local-first-browser-agent-with-30ms-latency-and-0-llm-cost.jsonld"}}