Scan
Discover MCP identities, AI-related packages, skills, instructions, and configuration names.
AgentLock creates a deterministic lockfile for the models, MCP identities, instruction files, skills, packages, and configuration names that shape agent behavior—without copying secret values.
> npm install -g https://htmltoolz.com/downloads/agentlock
> agentlock init .
AgentLock wrote agent.lock.json
MCP servers 7
instruction files 4
AI packages 9
integrity sha256:9fa3…c12e
> agentlock verify .
✓ no agent dependency drift
Paste a small MCP config, package.json, and instruction excerpt to see the sanitized fields AgentLock records before you install the CLI. The preview hashes instruction text locally and compares against an existing lockfile when supplied.
{
"status": "Paste inputs, then generate a browser-local preview."
}
After the preview looks right, commit the generated lockfile and add this workflow so dependency drift fails CI before it reaches main.
Generate a lock preview to create .github/workflows/agentlock.yml.
Code can stay unchanged while an MCP schema, instruction file, client configuration, or model identifier changes underneath it. AgentLock turns those invisible dependencies into a reviewable contract.
Discover MCP identities, AI-related packages, skills, instructions, and configuration names.
Produce canonical ordering and a stable integrity hash that belongs in source control.
Fail CI with exit code 2 when the current AI stack drifts from the accepted baseline.
Explain added, removed, and changed agent-facing dependencies in human or JSON form.
The lock records hashes and identities—not prompt contents, credential values, URL query strings, header values, or command arguments.
agentlock scan . --json
agentlock verify .
agentlock diff agent.lock.json