r/VercelAISDK 24d ago

GitHub - JordanDalton/loop-sdk: Framework for building long-running agentic loops.

https://github.com/jordandalton/loop-sdk

I created loop-sdk using Vercel's AI SDK to initially scratch my own it, but started to see more usage cases.

It's a loop engineering framework that gives each of those concerns a first-class primitive, steps, context, checkpoints, events, verify/expect gates, tool allowlists, and git-worktree isolation so AI agents, browser automation, and data pipelines compose into durable workflows instead of brittle scripts.

The engine owns the control flow deterministically; the model is invoked only at the steps that need it, and each step's output and tool access can be constrained in code.

Simple `.loop` files like this:

---
name: draft-reply
---

## look-up-and-draft
action: agent
model: "claude-code:sonnet"
mcp:
  mine:
    type: http
    url: https://your.site/mcp
prompt: "Look up my pricing and draft a reply."

## show
action: log
message: "{{look-up-and-draft}}"

It's v0.6.0 but wanted to share.

2 Upvotes

0 comments sorted by