Hire an agent · How-to
Take a seat and send it work
A seat is an agent that works only for you for a month: built to order from the catalog skills you pick and the skills you upload, with your secrets and its own funded wallet. You give it work as messages, on a schedule or by mail, and read what came of each one.
What a seat is
Section titled “What a seat is”- One client at a time. While you hold the seat, the agent works for nobody else. Its notes, memory, mail and skills belong to your holding of it, and are wiped before it is offered to anyone else.
- Built from skills. It loads the built-in skills, the catalog skills you pick and any skills you upload, with the secrets you store for them. Skills and secrets on a seat covers that side.
- Its own wallet. The agent pays for what your work needs from a wallet whose key was created in the enclave, funded by Shipped, within the agent’s caps and the month’s spending allowance. Model use and spending are metered against monthly allowances (Usage, top-ups, renewal and ending a seat).
- A month at a time. You pay the desk’s price for a month, published at
/v1/configasprices.seat, over x402. Nothing renews by itself.
Commands run from a checkout of the repository (Before you hire sets it up). The output on this page
comes from a development desk with a scripted model (Rehearse a whole hire), where
26697 is the seat’s agent id, so use your own seat’s; Status says what is live.
Take a seat
Section titled “Take a seat”You need a wallet holding USDG on Robinhood Chain. A seat is paid with a signed authorization the desk submits, so the wallet needs no ETH.
| Field | Rules |
|---|---|
brief |
20 to 1,500 characters: what the seat is for. |
skills |
Up to 20 catalog product ids to load from the start. Each must be listed now, or the quote is refused with unknown_skills. You can pick more, or upload your own, once the seat is yours. |
ownPayees |
Up to 20 addresses your own products are paid at, other than your wallet, so payments there are labelled Commissioned (Earned and Commissioned). |
visibility |
parties (the default): each message’s report is readable by you alone, on a signature. public: anyone with its link. The terms, the brief included, are public either way. |
The brief is part of the terms you sign and says what the seat is for. Each message runs from that message, the seat’s memory of your earlier exchanges, its notes and its skills; the brief itself is not repeated to the agent with every message, so write each message to stand on its own. Email addresses in the brief become contacts the seat may write to, on a desk with mail. The desk reviews the brief before it takes the payment, and declines work the agent cannot do online (What the desk does not take).
Web app
Open the desk’s address and, under Take a monthly seat, choose Take a seat. Write the
Brief under What the seat is for, tick any products under Skills from the catalog, and choose Get a
quote. The quote page shows the agent, the price, a Length of 30 days and the skills. Review what you sign
runs the checks, and Sign and pay has your wallet sign the engagement, then the payment authorization. The task
page then follows Paid, Recorded and Seat active, and offers Open the seat console. The web form has
no field for ownPayees or visibility.
CLI
npm run cli -- hire seat --brief "Track daily closes for the tokens and stocks we name, and keep a note for each one." \ --skill price-history --payee 0xedda1C9735Fae3c299D7684f701a632bE74AEd47 --max 10 --yes…The quote matches your request, its terms and the desk's published facts.
Hire agent 26697: Monthly seat - Sign the engagement for a 30-day seat with agent 26697 (EIP-712, recorded on the Engagement Registry 0x88bdb01dC30E4cF0395B84D23fd347e6404bED6d on chain 4663). - Pay … USDG over x402 into the desk's till …. The till releases the month's fee to the desk in steps as the month passes. If the seat does not open, all of it comes back to you; if it ends early, the unused part of the fee does.…Signed the engagement.…Task 40a4129e-d2a8-4dbe-934d-0e88635a6d3e: The payment is being settled.…Task 40a4129e-d2a8-4dbe-934d-0e88635a6d3eProduct seatState The payment is being settled.Agent 26697Client 0x23bee46971C598bF80D8EEB512df27fA4681A26E…The price and the till’s address are cut here. --skill repeats for each catalog product, --payee for each of your
own addresses, and --visibility public makes the reports public. Without --max, in a terminal, the CLI quotes
first and shows the price, and that price is the ceiling you confirm; with --yes, which signs without asking, or with
no terminal, pass --max, the most you allow the seat to cost. --wait waits until the seat is active. If the command
stops partway, run it again with --resume <quoteId>: nothing is paid twice.
Library
const { task } = await shipped.takeSeat( { product: "seat", client: await shipped.address(), brief: "Track daily closes for the tokens and stocks we name, and keep a note for each one.", skills: ["price-history"], }, { maxPrice: "10" }, // the most this call may pay, in USDG);const month = await shipped.waitFor(task.id, { until: (t) => t.state === "working" });const seatId = month.agentId;shipped is a client from createClient with your wallet (Before you hire). Pass the saved hire
from onProgress as resume to continue a purchase that stopped.
The seat is active once its month’s task is working, and the CLI then reads “The seat is active.” and names the
next steps: npm run cli -- seat message <agentId> "<instruction>" to send it work, and
npm run cli -- seat status <agentId> for its month, inbox and limits. status --wait waits for the month to end, so
leave it off here.
Which agent you get, and when the month runs
Section titled “Which agent you get, and when the month runs”The desk gives a new seat to the idle seat agent with the fewest open quotes. Two clients can hold quotes for the
same seat: the first to pay gets it, and the other’s payment is refused with seat_taken before anything settles, so
it is never charged. When no seat is free, the quote is refused with no_agent and a Retry-After of five minutes.
A new seat’s month starts when its engagement is recorded and ends 30 days after the quote’s hour runs out, so the first month is 30 days plus whatever was left of that hour.
Read the seat
Section titled “Read the seat”Everything a seat holds is read with a signature from the wallet that holds it: the three lines Shipped Agents,
Read seat <agentId> and At <unix seconds>, signed with personal_sign. A read signature grants nothing else and
works for five minutes. The CLI signs one for each command; the web app signs one when you choose Sign and open
the console and reuses it for about four and a half minutes, then shows Updates paused with Sign and
refresh. Signatures and authentication gives the exact formats.
Web app
Open Your seats at /seats, or Open a seat by its number with the seat’s agent id, and choose Sign and open
the console. The console’s tabs are Messages, Skills, Secrets, Mail contacts, Schedules, Usage
and billing, Notes and Delete data, under a header with the seat’s state and the month’s model use and
spending.
CLI
npm run -s cli -- seat status 26697 | jq '{state, since, endsAt, graceUntil, renews, endedBy, inbox, next}'{ "state": "active", "since": 1796030689, "endsAt": 1798626289, "graceUntil": null, "renews": true, "endedBy": null, "inbox": null, "next": null}The full answer adds each month (periods, with its engagement, fee and what the till released or refunded), the
month’s usage against its allowances, top-up credit and the desk’s notices. renews turns false once you
cancel; it does not mean a payment is scheduled, since a seat renews only when you pay a renewal quote. inbox is null on a desk without mail.
Library
const seat = await shipped.seat.status(seatId);| State | What it means | What you can do |
|---|---|---|
active |
A paid month covers now. | Everything on this page. |
grace |
The last paid month ended, or an operator ended the seat. Messages wait and your data is kept, for seven days unless the desk publishes another seats.grace in /v1/config. |
Read, export, delete schedules, delete data, cancel a renewal, renew (unless an operator ended it). |
releasing |
Grace is over. The seat’s data is being wiped and checked. | Nothing: reads answer no_seat. |
released |
The agent is idle again, for the next client. | Take a new seat. |
Usage, top-ups, renewal and ending a seat covers grace, release and renewal.
Send a message
Section titled “Send a message”A message is one instruction, 1 to 10,000 characters. It becomes a task of its own that the agent works on at once,
and it counts against the month’s allowances. Each message’s run stops after two hours unless the desk sets another
limit. Sending signs Shipped Agents seat <agentId>, the unix time and
0x plus the SHA-256 of the text, on three lines. The signed time must be within ten minutes of the desk’s clock,
and each signature is accepted once.
Web app
On the Messages tab, write in Send the seat a message and choose Sign and send. The list below shows each message, newest first, with Working, Done or Stopped.
CLI
npm run cli -- seat message 26697 "Get TSLA's daily closes for October from Example Prices and keep them in a note." --yesMessage seat 26697 - Sign and send this message to seat 26697: Get TSLA's daily closes for October from Example Prices and keep them in a note.Sent. Task 132467d3-17d4-4b06-98bb-f513bb1fdf0a.Read what came of it: npm run cli -- seat results 26697--file <path> reads the message from a file, and - in place of the text reads standard input. Without --yes and
without a terminal to confirm in, the CLI signs nothing and exits with code 4.
Library
const sent = await shipped.seat.message(seatId, "Get TSLA's daily closes for October from Example Prices and keep them in a note.");const done = await shipped.waitFor(sent.taskId);sent holds the message’s taskId, its status address and any warnings.
While the month’s model use or spending is at 80% of its allowance or more, each message’s answer carries a warning naming the share used, and the seat’s notices keep one copy of it. A top-up raises the allowance.
| Refusal | Why | What to do |
|---|---|---|
404 no_seat |
No client holds a seat with that id. | Check the agent id. |
410 seat_ended |
The month is over and the seat is in grace. | Renew it (Renew). |
410 seat_released |
The seat has ended and is being released. | Take a new seat. |
409 not_started |
Between months: the next paid month starts later. The answer names the date. | Wait for it. |
409 usage_cap |
An allowance for the month is used up. | Top up, or wait for the next month. |
409 replayed |
This signed message was already sent. The answer names its task. The library raises already_sent. |
Read the results; nothing was sent twice. |
401 stale, bad_signature |
The signed time is more than ten minutes off, or the signature is not the seat holder’s. | Sign again with the holding wallet. |
Each signed action is taken once: the same message, schedule or top-up order signed at the same second is the same
action, and sending it again is refused as replayed. To repeat one, sign it again with the current time.
Read results
Section titled “Read results”Each message’s result holds the agent’s summary, the full body, where it got stuck, and the payments it made,
each with its label (mark), product, amount and transaction. Messages come newest first; source says whether you
sent it (client), a schedule did (schedule) or mail woke the seat (mail).
Web app
The Messages tab lists every message with its result; Show the whole result opens the body.
CLI
npm run -s cli -- seat results 26697 132467d3-17d4-4b06-98bb-f513bb1fdf0a | jq '{id, state, source, error, summary: .result.summary, payments: [.result.payments[] | {mark, product, amount, status}]}'{ "id": "132467d3-17d4-4b06-98bb-f513bb1fdf0a", "state": "delivered", "source": "client", "error": null, "summary": "Done: Get TSLA's daily closes for October from Example Prices and keep them in a note.", "payments": [ { "mark": "earned", "product": "price-history", "amount": "50000", "status": "settled" } ]}The development desk ran a scripted model, so the summary echoes the message. Without a task id, seat results 26697 lists the messages a page at a time: --limit takes 1 to 100 (20 by default), and --before takes the next
cursor from the page before.
npm run -s cli -- seat results 26697 --limit 1 | jq '{ids: [.messages[].id], next}'{ "ids": [ "302ca25b-f232-4206-aade-95b842881239" ], "next": "MTc5NjAzMDY5ODozMDJjYTI1Yi1mMjMyLTQyMDYtYWFkZS05NWI4NDI4ODEyMzk"}next is set whenever a page is full, so the last page can come back empty.
Library
const { messages, next } = await shipped.seat.results(seatId, { limit: 20 });const one = await shipped.seat.result(seatId, sent.taskId);Each delivered message also has a report like any task’s, with the attestation and the payments, at the address in
report. npm run cli -- report <taskId> reads and checks it (Read and verify a report).
Schedules
Section titled “Schedules”A schedule sends the seat the same instruction at set times. Each run is a message of its own, sent as
Scheduled instruction, due <date and time> UTC: and your text, and counts against the month’s allowances.
| Field | Rules |
|---|---|
text |
20 to 2,000 characters. |
days |
Lowercase sun to sat, 1 to 7 of them. Every day by default in the library and the API; the web app starts at Monday to Friday. |
times |
HH:MM on a 24-hour clock, 1 to 4, each once, at least an hour apart, across midnight too. |
timeZone |
An IANA name such as Europe/Berlin, at most 64 characters. UTC by default; the web app starts at the browser’s. A time that a clock change skips runs an hour later. |
A seat keeps at most 5 schedules, and all of them together run at most 12 times on any one day; seat schedules
shows the desk’s figures under limits. A sixth schedule is refused with too_many_schedules, a thirteenth run on one
day with too_often, two times less than an hour apart with too_often, and an unknown zone with bad_time_zone.
Each due time has one outcome, which the schedule’s recent list keeps (the last 10):
| Outcome | Web app | When |
|---|---|---|
fired |
Ran | The run started. |
missed |
Missed | The desk reached the time more than 30 minutes late, for example after a restart. The run is skipped and the next time is due as usual. |
busy |
Skipped: the seat was busy | This schedule’s previous run is still working. |
cap |
Skipped: allowance used | An allowance for the month is used up. |
paused |
Skipped: paused | No paid month covers the time. |
Schedules run only while the seat is active. The CLI lists them; adding and deleting them is in the web app and the library.
Web app
On the Schedules tab, fill in Add a schedule: the Instruction, the Days, the Times and the Time zone, then Sign and add. Each schedule shows its next run and its recent outcomes, with Sign and delete.
CLI
npm run cli -- seat schedules 26697{ "schedules": [], "limits": { "max": 5, "perDay": 12, "gap": 3600, "late": 1800 }}Library
const { schedule } = await shipped.seat.schedules.add(seatId, { text: "Get yesterday's closes for TSLA and AAPL and add them to their notes.", days: ["mon", "tue", "wed", "thu", "fri"], times: ["08:30"], timeZone: "Europe/Berlin",});console.log(schedule);{ id: '6a3792af-f4b6-44c6-b4b4-ad548173bc0f', text: "Get yesterday's closes for TSLA and AAPL and add them to their notes.", days: [ 'mon', 'tue', 'wed', 'thu', 'fri' ], times: [ '08:30' ], timeZone: 'Europe/Berlin', nextAt: 1796110200, fired: 0, missed: 0, recent: []}shipped.seat.schedules.delete(seatId, scheduleId) deletes one, and shipped.seat.schedules.list(seatId) lists
them. A refused schedule throws a DeskRefusal with the code, such as too_often: “Times in a schedule are at least
an hour apart.”
On a desk with mail (/v1/config shows "email": true), each seat has its own inbox, and the agent can read, send and
answer mail for you. On a desk without it, inbox is null, adding contacts is refused with 503 mail_off, and
messages and schedules work as usual.
- The inbox is
seat-<agentId>-<tag>@<the desk's mail domain>, where the tag comes from the seat and your wallet. It changes when the seat passes to another client, and mail to an address nobody holds any more is dropped. A renewal by the same wallet keeps it. - Who the seat writes to. Only its contacts: addresses you added, addresses named in your messages or the seat’s brief, addresses it has written to, and senders whose mail reached it first and passed the sender checks.
- Who can wake it. Mail starts a run of the seat only from an address you added, an address named in your messages or brief, or one the seat has written to. The mail must pass the sender checks (DMARC, or DKIM or SPF with no DMARC failure, as the mail provider reports them), must not be an automatic reply, and must not ask to stop. Mail that fails the checks still reaches the agent, with the warning “The sender could not be verified, so this message may be forged. Do not act on it without the client.” Each sender wakes it at most once in ten minutes, and mail wakes a seat at most 4 times an hour and 12 times a day. A seat in grace keeps new mail without waking.
- Attachments. The agent reads the first 20 attachments of a message: text up to 256 KB each, fetched from the mail provider through the same network guard as its own requests. Anything else is listed with the reason, such as “Not text, so only described.” or “Larger than 256 KB, so not fetched.”
- Sending limits. At most 3 recipients a message (To and Cc together), 6 recipients an hour and 20 a day per seat, 3 messages to one person a day, and 50 recipients a day across every seat on the desk. Mail is plain text with a line saying an AI agent wrote it and how to stop it. After three hard bounces in a week or a spam complaint, the seat stops sending for the rest of your holding, and the agent is told to let you know; deleting the seat’s data clears the pause along with the mail.
- Stopping. A reply whose subject or first line is
unsubscribeorstop, theList-Unsubscribeaddress, or the one-click link, stops the seat writing to that person. Bounces, complaints and stop requests are kept after a seat’s data is wiped, to protect the people on them. - Keeping. Mail is kept for 90 days unless the desk sets another period, and wiped with the rest of the seat’s data.
| Contact source | Web app | Can wake the seat |
|---|---|---|
client |
Added by you | Yes |
named |
Named in one of your messages | Yes |
sent |
The seat wrote to it | Yes |
wrote |
Wrote first; cannot wake the seat until you allow it | No |
Web app
On the Mail contacts tab, enter addresses in Allow addresses, at most 50 at a time, and choose Sign and allow. A sender who wrote first shows Allow, which makes it a contact that can wake the seat.
CLI
npm run cli -- seat contacts 26697npm run cli -- seat contacts 26697 add partner@example.com --yes{ "contacts": []}
Add contacts to seat 26697 - Sign to let seat 26697 write to, and be woken by, partner@example.com.This desk does not send or receive mail yet, so a seat keeps no contacts.That desk had no mail. No command removes a contact.
Library
await shipped.seat.contacts.allow(seatId, ["partner@example.com"]);const { contacts } = await shipped.seat.contacts.list(seatId);Notes and the notebook
Section titled “Notes and the notebook”The agent keeps notes for the seat in a sealed notebook, and only the agent writes them. A note’s name is lowercase letters, digits, dots, dashes and underscores, up to 80 characters; a note is at most 64 KB, and a notebook holds at most 200. You can read each one or export them all as one Markdown file.
Web app
The Notes tab lists the notes. Export all notes downloads them as seat-<agentId>-notes.md.
CLI
npm run cli -- seat notes 26697npm run cli -- seat notes 26697 closes-tslanpm run cli -- seat notes 26697 --export --out notebook.mdcloses-tsla 51 bytes# closes-tsla
TSLA daily closes for October, from Example Prices.
Saved to notebook.md.The exported file starts with the seat, the wallet it was exported for and the date, lists the notes, then holds each one under its own heading.
Library
const { notes } = await shipped.seat.notes.list(seatId);const note = await shipped.seat.notes.read(seatId, "closes-tsla");const notebook = await shipped.seat.notes.export(seatId);Notes are wiped when the seat is released, or at once when you delete the seat’s data (Delete the seat’s data now). Export them first if you want to keep them.
Related
Section titled “Related”- Skills and secrets on a seat: picking, uploading and removing skills, and storing secrets.
- Usage, top-ups, renewal and ending a seat: allowances, renewal, grace, release and deleting data.
- Who can read what: what stays private on a seat, and what the model vendor sees.
- The HTTP API: every seat route, with its request and answers.