Frontend form
Your coding agent builds the form UI inside the generated site.
Your agent builds the frontend. AgentsForms gives it a submission endpoint, validates the payload, stores the response, and emails the owner — no database or backend route required.
Your coding agent builds the form UI inside the generated site.
AgentsForms returns a submission endpoint for that form.
The frontend POSTs answers to AgentsForms instead of your database.
AgentsForms validates, stores, and emails the submission to the owner.
When a CLI agent spins up a site, the UI is easy. The painful part is storage, validation, email, routes, and deployment config. AgentsForms turns that backend into one endpoint.
Your coding agent keeps the form in your app’s design system instead of linking visitors to a generic hosted page.
components/ContactForm.tsxMVP1 gives the frontend a safe place to POST and sends submissions to the owner’s inbox.
POST /forms/contact/submissionsIf the agent does not need a native frontend, it can still fall back to a hosted preview URL. Webhooks and sessions come later.
hostedPreviewUrlThis page is the MVP1 model: a native frontend form posts to AgentsForms, and the submission is delivered by email.
$ agentsforms forms create contact --email [email protected] ✓ Endpoint → api.agentsforms.com/v1/forms/contact/submissions $ agentsforms codegen contact --target react ✓ Added native ContactForm component $ git diff app/contact/page.tsx ✓ Frontend posts to AgentsForms
This form is built into the page and posts to AgentsForms. Use a real email address to verify delivery.
AgentsForms gives coding agents the part they should not reinvent: a submission endpoint, validation, storage, and email delivery. The frontend stays in the generated app.
Your agent writes the component using the same design system as the rest of the generated site.
components/ContactForm.tsx
No database migration, server action, queue, or email provider. The browser posts answers to AgentsForms.
POST /v1/forms/contact/submissions
Email delivery is the default MVP path. Add hosted URLs and signed webhooks later when you need more automation.
Delivery: email → [email protected]
Let it build the frontend. AgentsForms handles the endpoint, validation, storage, and email delivery.
$ agentsforms forms create contact --email [email protected]