1. Clone the agent source
2. Edit the agent
Define the agent inagents/extract-invoice/agent.ts, using the public SDK:
AGENT.md in the same directory. Attach
shared resources through typed imports. Validate
with eigenpal agents validate agents/extract-invoice; source is compiled in
the platform sandbox. Each run captures its compiled definition and exact Git
commit in eigenpal.lock. Resumes reuse that snapshot.
3. Commit, push, and release
Run release from the agent package directory (the folder that containsagent.ts), not the organization repo root:
save validates, commits, and pushes local changes. release creates an
immutable source tag from the current package, and sync points the automation
at the latest release.
4. Run the agent
.withFilesystem() first.
The command prints a run id. Poll or watch it like any other run: