whereismyai
Hlock
Hlock is an open-source packaging tool captures and restores AI agent setups with locked configurations and dependencies.
Hlock is an open-source packaging layer written in Rust that makes agent setups portable by pinning models, servers, skills, and configuration into a lock file. It records existing environments, checks for changes, and rehydrates the locked setup on any machine. Users can optimize their stack by measuring performance against tasks, evaluating templates, and tuning prompts or hyperparameters. It supports migrations to different setups and local execution with tools like Ollama or LM Studio. Designed for developers and teams, it runs on Linux, macOS, and Windows.
Hlock at a glance
- Best for: Software engineer
- Runs on: Linux, macOS, Windows, CLI, open source
- Pricing: Free
- Released: October 2026
- Category: AI coding tool
- Website: github.com/unionai-oss/hlock
Key features
- Pin agent setups into a lock file
- Rehydrate locked configurations anywhere
- Track changes with drift checks
- Optimize stacks against custom tasks
- Migrate configurations between setups
- Run evaluations using built-in or custom packs
- Automate maintenance with a built-in meta agent
Use it for
- Share reproducible agent configurations with teammates
- Migrate agent setups to local open-source models
- Evaluate agent stack performance on custom tasks
- Lock and version agent dependencies in git
Companions
Tools that articles about Hlock recommend using with it, each with its job.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Ollama — Run local models at zero marginal cost, with code kept on your machine.
- OpenRouter — Access over 500 models and 80 providers through one unified API.
- Daytona — Runs sessions in isolated sandboxes synced to git branches.
- Composio — Equips AI agents with tools, managed user auth, and sandboxes across 1,500+ apps
- Oh My OpenCode Slim — Lightweight multi-agent orchestration and background tasks.
Alternatives to Hlock
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
- Invariant — Persistent isolated Linux environments and parallel coding agent experiments.
- Airlock: coding agents, kept contained — Isolates coding agents in a virtual machine and lets users review file diffs before applying changes.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- OpenViking — Unifies agent memory, knowledge RAG, and skills into a single directory structure.
- Varlock — It secures environment variables for both humans and AI agents.
- DeadBolt — Controls software agent actions locally without cloud dependencies.
- OpenAPPA — Tracks data flows algebraically to prevent prompt injection without breaking agents.
- Load Lock — Coordinates parallel coding agents to prevent cache thrashing and core starvation.
- Hazzel — Brings inspectable safety mechanisms, local model support, and zero subscriptions.
- Eve — Builds durable AI agents with file system based configuration and isolated sandboxes.
- OpenSandbox — Provides isolated environments with multi-language SDKs and lifecycle management.
All Hlock alternatives