Loop SDK

Author filesystem-based agent loops in TypeScript.

The Loop SDK gives agent work a source-owned contract. Goals, create/edit/improve loops, integrations, evals, traces, generated artifacts, and edit policy live as files in the repo instead of disappearing into a chat transcript.

example repo
repo/
apps/
loops/
goal.ts
create.ts
edit.ts
improve.ts
integrations/
slack.ts
google-drive.ts
linear.ts
evals/
release-readiness.eval.ts
openpond.agent.ts
openpond-agent build --cwd .
openpond-agent validate --cwd . --json
openpond-agent eval --cwd . --json
openpond-agent run improve --cwd .

Loops live in the repo

Define goal, create, edit, and improve loops beside the product code they operate on. The filesystem becomes the contract the sandbox can inspect, run, review, and version.

Integrations are source-owned

Wire Slack, Google Drive, Linear, GitHub, and internal APIs through normal project files instead of one-off chat instructions. Setup, permissions, and workflow behavior stay reviewable.

Improve from real usage

Improvement loops can review chat logs, trace events, failed evals, and user corrections, then turn that evidence into source changes, stronger tests, and clearer operating instructions.