What it is. Questions people answer: forms and surveys, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. Ask for it in plain words: “Make an Artifacts form for the customer survey: five questions, one of them a 1 to 10 rating.” It stays a live item at its own link in the space, and the space’s owner can publish it as a web page anyone can open. See one an agent made: Pilot request form, a form anyone can fill in.
Agents read this guide with the guide tool, topic forms, before they first make a form. It is shown here word for word, so people and their agents work from the same method.
- Guide topic
forms- Tools
- 6 tools
A form is questions the people in a space answer: feedback, sign-ups, intake, research surveys, polls,
retros. Each person sends one response and can change it later. People with edit access see every response
and a summary per question; agents read them with read_responses. A form can keep a spreadsheet of its
responses up to date (responses_to_sheet), which a dashboard can then chart. People comment on a question.
The tools: create_form, read_form, update_form (questions and settings; closed to stop answers),
read_responses (summary per question; all for each response), responses_to_sheet, render_form.
Order of work
- Decide what the answers must tell the person, then write only the questions that get there. Ten or fewer is a good survey; past about 25 people stop.
create_formwith adescription(what it is for, how long it takes, who sees the answers), the questions in order, and athank_you.render_form; fix what the checks name and what reads badly; render again.- Give the person the URL. When answers come in,
read_responses; for charts,responses_to_sheetand a dashboard on that sheet.
Questions
- Pick the type by the answer you need: a fact from a list →
single_choice(dropdownpast about 12 choices); several →multi_choice(max_choicesto cap); how much →rating(min/max, withmin_labelandmax_labelsaying what the ends mean); would they recommend →nps; an order of preference →ranking; the same scale for several things →matrix(rowsandcolumns); a number →number(min/max); free words →short_textorlong_text;email,date,yes_no; a picture to pick →image_choice. - One thing per question. "How fast and reliable is it?" is two questions.
- Choices cover every answer and do not overlap ("1–10", "11–50", not "1–10", "10–50"). Add
otherwhen the list may miss real answers. - Neutral wording: "How satisfied are you with onboarding?", not "How much did you enjoy our great onboarding?".
- Open with something quick to answer; put long text near the end.
requiredonly for the answers you cannot do without.nameis the answer's key ("team_size"); names cannot change later, so pick clear ones.
Pictures and video
image_choiceasks people to pick a picture:choicesare the labels,imagesone picture per choice in the same order;multiplelets them pick several (max_choicescaps it). Use it when the answer is easier to see than to name: a design, a product, a venue.- An
imageblock shows a picture or video between questions and takes no answer:urlis a picture, a .mp4 or .webm file, or a YouTube link; itstitlesays what it shows (screen readers read it; it is not shown). Put it right before the questions it supports. - Pictures are a picture in the space (
add_asset,find_images) or an https address, which is stored in the space for you, so the form and its published page keep showing it. Videos stay links.
Look
look on create_form or update_form sets how the form looks; give only what the form needs:
cover: a wide picture across the top.logo: beside the title.side: a picture or video beside the questions on wide screens (above them on phones), for a form that sells or explains something (an event, a product, a hiring page).side_textadds words to that panel in Markdown (a heading, a few lines, a list, links), with or without the picture;side_positionputs the picture at thetopof the panel (the words under it, the default), thecenter, or thebottom(the words above it).background: a picture behind the whole form; pick a quiet one, the questions sit on white over it.color(#rrggbb) for buttons and chosen answers,font(a Google Fonts family,find_fonts).brand: trueuses the space's brand: its colours, fonts and logo.color,fontandlogostill win.
In update_form, the look parts given replace those parts; "" clears one. Check it with render_form.
Conditions and pages
visible_ifshows a question only after a given answer:"{uses_slack} = true","{satisfaction} <= 2","{role} = 'Engineer'","{tools} contains 'Jira'". It may only name questions on the form; ask the follow-up right after the question it depends on.pagegroups questions: give the same page title to questions in a row. One page is fine under about eight questions.
Checking it
render_form shows every question laid out in one column and lists what to fix. Read it as someone who has
never seen it: is each question clear on its own, are the choices complete, does the order flow?
Answers
read_responses gives counts per choice, the average and spread of ratings, the NPS score
(% promoters 9–10 minus % detractors 0–6), the average place in rankings, and the texts. Report numbers with
the count they are out of ("7 of 12 chose Slack"). With anonymous, nobody sees who answered.
Comments
People comment on a question (wording, missing choices). Answer with reply_comment, fix it with
update_form, resolve. To start a thread, comment with question (its name or number).
See it in use
- Roles: AI for financial advisors, AI for legal secretaries, AI for insurance sales agents, AI for market research analysts, AI for compensation and benefits managers, AI for UX and web designers
- Articles: Product Launch Plan: Timeline, RSVP Form and Event Page
- Examples: 24 pages agents made for a sample company