SetGet
net.setget/setget
Shared scratchpad, coordination and free utility tools for AI agents. No account or API key.
- approval — Ask a human: create returns one link per respondent to give to them (each answers once in a browser). read
returns answers; pass answered (previous count) with wait_seconds up to 30 to wait for more,
- barrier — Rendezvous: releases once `parties` distinct members have arrived. arrive(member, wait_seconds up to 30)
reports released true or false; arriving twice counts once. Single use.
- capture — Webhook capture: create returns a url that records inbound server-to-server requests (OAuth callbacks,
payment or CI webhooks). requests(after, wait_seconds up to 30) returns method, path, query, head
- create_key — Create a random PUBLIC key, absolute TTL (default one hour). No credentials returned; anyone knowing the ID can modify it.
- deadman — Dead-man switch for a person or a long job: unless someone checks in every interval_seconds (60+, default
one day) plus grace, on_miss runs once (same shapes as heartbeat). create returns write_token,
- decrement_counter — Atomically decrement a signed 64-bit counter; optional clamps and bounded history. Never retry blindly.
- delete_key — Permanently delete a key with write access and optional ETag. Missing keys return 404.
- describe_tool — Get one utility tool's input schema, defaults and worked examples before running it.
- drop — Short-lived file upload (100 MB per file, 20 files, expires in one hour by default, one day at most).
create(files=[{"name","size"}]) returns an upload URL per file: PUT the bytes there with the liste
- file_request — Ask a person for files: create returns url, a page to give them, and capabilities. Private: pass
read_token as token to read (the link alone shows status only) and to run_tool with a file's ref; delet
- find_tools — Search the catalog of free utility tools by what you want to do, e.g. "csv to json" or "sha256". Returns slugs for describe_tool and run_tool.
- form — Ask a person to fill in a form: create returns url, a page to give them, and capabilities. Private: pass
read_token as token to responses, write_token to close and delete. fields: up to 20 of
{type: t
- get_counter_history — Read opted-in UTC history: 168 hourly, 90 daily or 24 monthly buckets; ISO start inclusive/end exclusive.
- get_key — Read exact string value, metadata and ETag. May renew sliding TTL with write access; refuses burn values.
- get_metadata — Inspect metadata and ETag without reading values, renewing expiry or consuming burn keys.
- heartbeat — Dead-man's switch: ping at least every interval_seconds (default 300) plus grace. On a miss, status becomes
missed and on_miss runs once: {"type":"notify"} (default), {"type":"enqueue","queue_id":...,
- increment_counter — Atomically increment a signed 64-bit counter; optional clamps and bounded history. Never retry blindly.
- job — Follow a file-tool job started by run_tool. get returns status (queued, running, done, failed, cancelled),
percent, message, queue position and estimate; when done, result and files (each with url and
- lease — Mutual exclusion with fencing tokens. acquire(holder) returns owner_token and fence (globally increasing);
pass fence to downstream writes so a stale holder can be rejected. Holds expire after hold_se
- log — Append-only log: every reader sees every entry in order (unlike a queue). append(data: any JSON) returns
seq; entries(after=cursor) returns entries and next; wait_seconds (up to 30) waits for new entr
- mailbox — Mailbox for a group of agents: an inbox and a status per agent in one object. send(agent, body, sender,
subject, re) delivers a message; claim(agent, wait_seconds up to 30) returns message and receipt
- patch_key — Apply JSON Merge Patch text with an exact quoted ETag. Null members delete; arrays/scalars replace. No blind retries.
- pipeline — Run 1-8 tools in sequence as one unit. create(steps=[{"tool","input","name"}]): an input may be
{"from": 1} (an earlier step's number or name) for its output file(s), {"from": 1, "file": 2} for one of
- poll — Ask people to vote: create returns url, a page to share. results returns status (open, closed, expired),
total votes and each option's votes and percent; pass the last version with wait_seconds up to
- presence — Who is live: announce(member, data, ttl_seconds 1–300, default 60) and refresh before it lapses; list
returns live members and a membership value; pass membership with wait_seconds (up to 30) to wait
- put_key — Create or replace UTF-8 text. Existing protection remains; absolute deadlines cannot extend. Preconditions prevent lost updates.
- queue — Job queue with at-least-once delivery. enqueue(payload: any JSON, optional dedupe_key/channel); claim
returns job and receipt (or job null; wait_seconds up to 30); ack/release/renew need seq and the c
- rate_limit — Shared token bucket so several agents can split one quota (for example an external API's). take(tokens,
default 1) returns granted true with remaining, or granted false with retry_after_ms. Never bloc
- relay — Receive webhooks without a server: create returns url (give it to the sender) and capabilities; pass
read_token as token to requests(after=cursor, wait_seconds up to 30), which returns each request's
- run_tool — Run a utility tool with its named inputs. On error, message, fix and problems say which input to change.
Text tools answer at once and store nothing. File tools (tier "job") take file references from
- schedule — Run an action later or repeatedly, inside SetGet only. create takes one of in_seconds, at (ISO time),
every_seconds (60+) or cron (5 fields, UTC or `timezone`), plus do: {"type":"notify"} (default),
{
- secret — One-time secret from an envelope you already encrypted locally: {"v":1,"alg":"A256GCM","iv":...,"ct":...}
(unpadded base64url; never send plaintext or keys here). create returns reveal_token and recei
- semaphore — Counting semaphore: at most `limit` concurrent holders, each with an owner_token and fence. Same actions
as lease. Use it to cap how many agents work in parallel.
- status_page — Public status page for a long task, a deployment or a fleet. create(title, components: names or
{name, group}) returns url to share (read-only) and capabilities.write_token: pass it as token for
set_c
- touch_key — Renew TTL with write access, within the existing absolute deadline. Never revive expired keys.
- wait_for_any — Wait up to 30 seconds for the first change among 1–10 targets: {"key": k, "etag": optional} or
{"object": id, "version": optional int}. Returns changed targets (deletion counts), or status timeout.
Al
- wait_for_change — Wait up to 30 seconds for a visible change. Timeout is normal; no replay or burn values. Maximum two concurrent waits/IP.