acoyfellow/pantry — explained in plain English
Analysis updated 2026-07-27 · repo last pushed 2026-07-11
Save a text-transformation utility your AI agents use repeatedly so they fetch the same vetted version each time.
Build a shared library of reusable functions that multiple AI tools can discover and retrieve via API.
Connect an MCP client like Claude Desktop to fetch recipes on demand during coding sessions.
Use curl or any HTTP client to list and pull specific recipes for ad-hoc automation workflows.
| acoyfellow/pantry | abdulkader-safi/obsidian-image-magick-plugins | acartag7/mcp-sso | |
|---|---|---|---|
| Stars | 8 | 8 | 8 |
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | 2026-07-11 | — | — |
| Maintenance | Active | — | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Cloudflare Workers account with D1 database provisioning and a bearer token for authentication.
pantry is a storage shelf for reusable code snippets that AI agents can fetch on demand. Instead of an AI assistant re-deriving the same logic every time it runs, you save that code once as a "recipe," and any tool can retrieve the exact saved version whenever needed. The key promise is that pantry stores and returns your code but never runs it, the calling tool decides whether and how to execute it. A recipe is a named JavaScript function with metadata: a description, an input schema, capability tags, and a version. You push recipes to the store via a simple API or a command-line tool. When an agent needs a piece of logic, it lists available recipes, fetches the one it wants, reviews the code, and then runs it in whatever environment it chooses. The store is private by default, scoped to an owner via a bearer token, though authors can optionally mark recipes as shared so other owners can discover and read them. This is designed for teams running AI coding agents or orchestrators that benefit from a shared library of vetted, reusable functions. For example, if you have a text- transformation utility your agents use repeatedly, you save it once as a recipe. Any connected tool, an MCP client like Claude Desktop, the Pi agent framework, or a plain curl command, can fetch that same recipe. The capability tags help agents reason about what a recipe does before fetching it. The project runs on Cloudflare Workers and uses D1 for storage, which keeps it lightweight and globally distributed. Security is straightforward: every request requires a bearer token, owner scoping prevents cross-access, and the server fails closed if misconfigured. Notably, the demo runner that executes fetched code is explicitly called out as not a sandbox, it does some basic scanning but the project is honest that running untrusted code is the caller's responsibility.
Pantry is a code snippet store for AI agents. You save reusable JavaScript functions once, and any AI tool can fetch the exact saved version on demand without re-deriving the logic each time.
Mainly TypeScript. The stack also includes TypeScript, Cloudflare Workers, D1.
Active — commit in last 30 days (last push 2026-07-11).
No license information is provided in the explanation, so default copyright restrictions may apply.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.