Existing NextJS ReactJs and NodeJS app needs AI Agent Integration Help

Job ID: 40130585

Budget: $250 – $750 USD

I already have a live React / Next JS front-end running on a Node JS back-end with a MySQL database and basic ChatGPT access set up. What I’m missing is a well-structured “AI agent” layer that plugs cleanly into the site and feels invisible to the user.

Here’s what I need done:

• Design and implement a small set of agents that can
– answer user questions drawn from our existing data,
– generate personalised recommendations, and
– perform lightweight data analysis for internal reporting.

• Make each agent reachable through automated email responses. When a user submits a form on the site the system should decide which agent to invoke, craft the prompt, send it to OpenAI, and reply via email with a clear, well-formatted answer. No extra log-in, no chat widget—just a smooth email conversation that looks like it came from us.

• Keep everything integrated with the current codebase: Next JS pages and API routes, Node services, and MySQL models. I’d like clean, well-documented TypeScript (where possible), reusable functions for prompt handling, and environment-based configuration for keys and model selection.

• Provide a short hand-over document and screen-share walkthrough so my in-house dev can maintain and extend the agents later.

If you’ve built agent workflows on Next JS before and are comfortable wiring up OpenAI, Nodemailer (or a similar mailer), and MySQL, I’d love to see how you can make this as seamless as possible.
Related categories: MySQL Node.js React.js API Development Next.js OpenAI AI Agents