Replit
Replit Agent ships full apps. Forms still need a backend — AgentsForms gives the agent one endpoint so it stays focused on the UI.
The prompt
Section titled “The prompt”Paste this into the Replit Agent:
Add a contact form to this app. Use AgentsForms as the form backend:1. Run `agentsforms forms create contact --email [email protected]`2. Run `agentsforms codegen contact --target react`3. Wire the generated component so it POSTs to the AgentsForms endpoint.No database or backend route — AgentsForms stores and emails submissions.What the agent wires up
Section titled “What the agent wires up”- A native
ContactFormcomponent in your app’s design system. - A
POSTtohttps://api.agentsforms.com/v1/forms/contact/submissions. - Email delivery to the owner — no inbox integration code needed.
Verify
Section titled “Verify”Use a real email in the --email flag, submit the form, and check the inbox.