Structured human input
for AI agents

AgentForms lets AI agents create forms, send links to humans, and receive structured JSON responses. Like a form builder, but API-first.

 1from agentforms import AgentForms, fields
 2
 3client = AgentForms(api_key="af_live_xxxxx")
 4
 5form = client.create_form(
 6    title="Confirm your shipping details",
 7    fields=[
 8        fields.Text("full_name", label="Full name", required=True),
 9        fields.Select("size", label="T-shirt size", options=["S", "M", "L", "XL"]),
10        fields.Email("email", label="Email address"),
11        fields.Checkbox("confirm", label="I confirm this order", required=True),
12    ],
13    callback_url="https://my-agent.com/hooks/order",
14    expires_in="24h",
15)
16
17print(form.url)  # → https://agentforms.io/f/frm_01Jxxxx
 1curl -X POST https://api.agentforms.io/v1/forms \
 2  -H "Authorization: Bearer af_live_xxxxx" \
 3  -H "Content-Type: application/json" \
 4  -d '{
 5    "title": "Confirm your shipping details",
 6    "fields": [
 7      {"type": "text", "key": "full_name", "label": "Full name", "required": true},
 8      {"type": "select", "key": "size", "label": "T-shirt size", "options": ["S","M","L","XL"]},
 9      {"type": "email", "key": "email", "label": "Email address"},
10      {"type": "checkbox", "key": "confirm", "label": "I confirm this order", "required": true}
11    ],
12    "callback_url": "https://my-agent.com/hooks/order",
13    "expires_in": "24h"
14  }'
1// TypeScript SDK — coming soon
2// npm install agentforms
3//
4// import { AgentForms } from 'agentforms';
5// const client = new AgentForms({ apiKey: 'af_live_xxxxx' });

Three steps. Zero UI to build.

Your agent does the work. Humans just fill in the blanks.

1

Create

Your agent defines the form via API. Fields, validation, expiry — all in one call.

2

Share

Send the form link to a human. Email, Slack, SMS — wherever they are.

3

Receive

Get structured JSON via webhook. Signed, verified, ready to process.

Built for agents. Loved by developers.

Everything you need to collect human input programmatically.

API-first, always

Every feature accessible via REST API. No UI to click through, no manual steps. Your agent talks JSON, we talk JSON back.

Every field type you need

Text, email, select, multi-select, number, date, textarea, checkbox. More coming.

text · email · select · multi-select number · date · textarea · checkbox

Webhooks that just work

HMAC-SHA256 signed payloads delivered to your endpoint. Auto-retry with exponential backoff.

X-AgentForms-Signature: sha256=a1b2c3... X-AgentForms-Timestamp: 1709564553

Works with Claude, Cursor, and any MCP client

Built-in MCP server. Your agent creates forms as naturally as sending a message. No glue code required.

pip install agentforms

Sync and async clients. Type-safe. Published on PyPI.

$ pip install agentforms # ✓ installed agentforms 0.3.1

Secure by default

SSL everywhere, HMAC-signed webhooks, auto-expiring form links, and API key authentication out of the box.

What your agent receives

Structured, signed, and ready to process. No parsing headaches.

 1{
 2  "event": "form.completed",
 3  "form_id": "frm_01JxAbC3dE",
 4  "form_title": "Confirm your shipping details",
 5  "submitted_at": "2025-03-04T14:22:33Z",
 6  "data": {
 7    "full_name": "Maria Rossi",
 8    "size": "L",
 9    "email": "maria@example.com",
10    "confirm": true
11  },
12  "metadata": {
13    "ip": "203.0.113.42",
14    "user_agent": "Mozilla/5.0...",
15    "duration_seconds": 47
16  }
17}

"data" — Your structured response, exactly as defined in the form schema.

"metadata" — Submission context included automatically. IP, user agent, time spent.

Built for every human-in-the-loop moment

Wherever your agent needs a human, AgentForms handles the handoff.

Smart onboarding

Your agent collects customer info during onboarding — name, preferences, requirements — without building custom forms.

Human approval gates

Agent needs a manager's sign-off? Create a form, send the link, get a structured yes/no with comments.

Structured data gathering

Surveys, feedback forms, expense reports — your agent handles the logistics, humans provide the input.

Agent-to-human-to-agent

One agent creates the form, a human fills it, another agent picks up the response and continues the workflow.

Start free. Scale when you're ready.

No credit card required. Upgrade or cancel anytime.

Free

$0/mo
  • 50 forms/mo
  • 200 responses/mo
  • Webhooks
  • MCP Server
  • Custom branding
  • Priority support
  • SLA
Get Started

Team

$99/mo
  • Unlimited forms
  • Unlimited responses
  • Webhooks
  • MCP Server
  • Custom branding
  • Priority support
  • 99.9% SLA
Contact Us

All plans include: SSL, HMAC-signed webhooks, auto-expiry, and full API access.

Give your agents a voice.
Collect human input.

Start building in minutes. No credit card, no sales calls.