
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@agent-pattern-labs/iso-cache
Advanced tools
Deterministic content-addressed artifact cache for AI-agent workflows: key, store, retrieve, verify, and prune local artifacts without model calls.
Deterministic local artifact cache for AI-agent workflows.
iso-cache stores UTF-8 artifacts under content-addressed blobs and small
entry manifests. It is intentionally not an MCP server and makes no model
calls. Domain packages can use it to avoid repeatedly refetching or
re-rendering artifacts that are safe to reuse:
Do not use it for live form submission state or anything whose reuse could repeat a side effect.
iso-cache key --namespace job --part https://example.test/jobs/123 --part greenhouse
iso-cache put "jd:example:123" \
--cache .iso-cache \
--kind jd \
--ttl 7d \
--content-type text/markdown \
--meta '{"url":"https://example.test/jobs/123"}' \
--input @job-description.md
iso-cache has "jd:example:123" --cache .iso-cache
iso-cache get "jd:example:123" --cache .iso-cache
iso-cache list --cache .iso-cache --kind jd
iso-cache verify --cache .iso-cache
iso-cache prune --cache .iso-cache --expired
Default cache path is .iso-cache under the current directory.
import {
cacheKey,
hasCacheEntry,
listCacheEntries,
putCacheEntry,
readCacheContent,
verifyCache,
} from "@agent-pattern-labs/iso-cache";
const key = cacheKey({
namespace: "jobforge.jd",
parts: ["https://example.test/jobs/123", "geometra-text-v1"],
});
putCacheEntry(".iso-cache", key, "# Example role\n", {
kind: "jd",
ttlMs: 7 * 24 * 60 * 60 * 1000,
metadata: { url: "https://example.test/jobs/123" },
});
const hit = readCacheContent(".iso-cache", key);
if (hit?.hit && !hit.stale) {
console.log(hit.content);
}
console.log(hasCacheEntry(".iso-cache", key));
console.log(listCacheEntries(".iso-cache", { kind: "jd" }));
console.log(verifyCache(".iso-cache").ok);
.iso-cache/
entries/
<sha256(key)>.json
objects/
<sha256(content)>.blob
Entry files include the logical key, kind, content hash, object path, content type, metadata, creation/update timestamps, and optional expiration timestamp. Object blobs are immutable and verified by SHA-256.
FAQs
Deterministic content-addressed artifact cache for AI-agent workflows: key, store, retrieve, verify, and prune local artifacts without model calls.
We found that @agent-pattern-labs/iso-cache demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.