Building an AI Agent from scratch Installation To set up the project, run: npm install Running the Application Start the development server with: npm run dev Invoking the Agent Invoke the agent using the following command: curl -X GET http://localhost:3000/invoke Modify Simulation Input To update the simulated user input, edit the file invoke.ts.