filepacks fits agent workflows because it produces deterministic files that both humans and automation can reason about. An agent can create an artifact at the end of a run, another agent can inspect or compare it later, and a human reviewer can verify the same file before accepting it.Documentation Index
Fetch the complete documentation index at: https://filepacks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Pattern: package the run output immediately
When an agent writes files to a directory, package that directory before the workspace changes again:Pattern: compare against an accepted baseline
Keep one explicit baseline artifact and compare new runs against it:- exit
0: the packaged output matches the accepted baseline - exit
20: the packaged output changed and needs review - exit
1: the command failed or an artifact could not be read
Pattern: use artifacts as durable evidence
Artifacts are useful when the original run environment is temporary:- ephemeral CI runners
- sandboxed agent workspaces
- eval jobs that clean up after completion
- handoff between one agent run and the next review step
.fpk file.
Pattern: hand off to a human reviewer
A human reviewer can work from the same artifact:Pattern: embed filepacks in a harness
Use@filepacks/core when the workflow already runs inside Node.js:
What filepacks helps agents do better
- preserve generated outputs as one portable file
- compare repeated runs using deterministic rules
- hand off durable evidence to the next tool or reviewer
- reduce ambiguity around “what exactly changed?”