>

Documentation

From an empty folder to a dry run in ten minutes.

Guides for the people who set agents up, a reference for the people who integrate them, and a changelog for everyone.

Popular:

rule thresholds

approvals in Teams

dry-run flags

/

Quickstart

Three commands. Nothing written until you say so.

Install the CLI, scaffold an agent from a template, then replay last month’s items against it. The dry run reads from your systems and writes to none of them.

[01]

Install the CLI and sign in

macOS, Linux and Windows. Node 20 or later. Signing in opens the browser once and stores a token in your keychain.

terminal

zsh

$ npm install -g @loop/cli
added 1 package in 3s · loop 4.12.0
$ loop login
✓ signed in as priya@parcelwise.example
workspace parcelwise · region eu-central-1

[02]

Scaffold an agent

Start from one of six templates. You get an agent file, a rules file in plain English, and a list of the connections it expects.

terminal

zsh

$ loop init invoice-matcher
template: invoice-matching
✓ created invoice-matcher.yaml
✓ created rules.md (3 rules)
! connect gmail · netsuite · slack — read-only

[03]

Dry-run it on real history

Replay up to 1,000 past items. You see what the agent would have posted, where it would have asked, and why, before it touches a ledger.

terminal

zsh

$ loop dry-run --since 30d
replaying 214 invoices · 26 Aug – 24 Sep
auto-posted 188 87.9%
would ask 23 10.7%
failed 3 1.4% unreadable PDF
✓ nothing written · runs/dr_9c1e.html

/

Guides

Read these in order, or the one you need.

Each guide follows the loop: what the agent watches, how it decides, when it asks, what it may do, and how you check afterwards.

Concepts

Agents, runs, rules, approvals, connections and the audit log, and how one run moves through all six.

docs.useloop.example/concepts

Rules

Write when an agent must ask, set thresholds on amount and confidence, and review changes as diffs.

docs.useloop.example/rules

Approvals

Route asks to Slack, Microsoft Teams or email, set who can approve, and decide what happens on a timeout.

docs.useloop.example/approvals

Connections

Connect a system, grant actions one at a time, rotate credentials, and wrap your own API.

docs.useloop.example/connections

Audit log

What each step records, how long it’s kept, and exporting to CSV, JSON or BigQuery for your auditors.

docs.useloop.example/audit-log

Deploying

Review agents in a pull request, promote from dry run to live, and roll back a rule in one command.

docs.useloop.example/deploying

>

API reference & SDKs

Everything in the console is in the API.

Start runs from your own systems, answer approvals from your own tools, and pull the audit log into your warehouse.

REST API

v1 · JSON over HTTPS

Python SDK

pip install loop-sdk · 3.10+

TypeScript SDK

npm install @loop/sdk · Node 20+

Webhooks

signed · 4 event types

CLI

loop 4.12.0

Python

TypeScript

cURL

start_run.py

Python

import os
from loop import Loop

loop = Loop(api_key=os.environ[“LOOP_API_KEY”])

run = loop.runs.create(
agent=“invoice-matcher”,
item={“source”: “api”, “invoice”: “INV-20931”},
)

run = loop.runs.wait(run.id, timeout=120)
print(run.id, run.status, run.approval)
# run_8Q2F41 waiting_for_approval #ap-approvals

Rate limit 600 requests a minute per workspace · keys scoped per environment

/

Changelog

Shipped every other Tuesday.

Every release, with what changed for people who write rules and people who call the API.

v4.12.0

v4.11.0

v4.10.0

/

Help

When the docs don’t answer it.

Check the status page first, ask other builders second, and write to us whenever you like.

>

Get started

Run the quickstart, or build the first agent with us.

Starter is free for three agents and 1,000 runs a month. If you’d rather not start alone, a customer engineer will pair with you on a real queue.

No card · SOC 2 Type II · EU or US data residency

Create a free website with Framer, the website builder loved by startups, designers and agencies.