Skip to content

Introduction

Your AI coding agent builds the frontend form inside your app. AgentsForms provides the submission endpoint, validation, storage, and email delivery. No database or backend route required.


Agent builds form UICreates endpointFrontend POSTs answersAgentsForms validates/storesSubmission emails owner

bash
Terminal window
npm install -g @agentsforms/cli
agentsforms init
agentsforms forms create contact --email [email protected]
agentsforms codegen contact --target react

Start with a native frontend form posting to AgentsForms. Use a hosted form URL only when you want zero UI. Add webhooks and sessions later when you need automation or handoff workflows.


Your agent writes the form component in the generated app, using the site’s own design system. Visitors never have to leave the site.

AgentsForms gives the frontend a safe endpoint to POST answers to. No database table, server action, queue, or email provider required.

AgentsForms validates and stores submissions, then sends them to the owner’s inbox. Hosted URLs and webhooks are secondary paths.


SectionDescription
Get StartedInstall the CLI, create a form endpoint, wire a frontend POST, and email submissions.
GuidesAgent integration, hosted fallback URLs, embeds, webhooks, sessions, and error handling.
ReferenceSubmission API, form schema, CLI, delivery modes, webhook events, TypeScript types.
ArchitectureCloudflare Workers + D1, data model, security model.
ExamplesDemo forms for common agent-built site patterns.