Generate a detailed structured prompt for: "generate a website where it simulates 5 AI agents that is in a village simulation , using Google Gemini API key. Here's a detailed structured prompt for generating a website that simulates 5 AI agents in a village simulation using the Google Gemini API:

1. Project Overview:
   Create a web-based simulation of a small village populated by 5 AI agents, each with unique personalities and roles. The simulation should use the Google Gemini API to power the agents' behaviors and interactions.

2. Website Structure:
   a. Landing page with simulation controls and overview
   b. Individual pages for each AI agent
   c. Village map or layout visualization
   d. Interaction log or history page

3. AI Agents:
   Define 5 distinct AI agents with the following details:
   a. Name
   b. Role in the village (e.g., farmer, merchant, healer, craftsman, leader)
   c. Personality traits
   d. Goals and motivations
   e. Skills and abilities

4. Simulation Mechanics:
   a. Time progression (day/night cycle, seasons)
   b. Resource management (food, materials, currency)
   c. Agent interactions and conversations
   d. Event generation (random occurrences, challenges, opportunities)
   e. Decision-making processes for each agent

5. Google Gemini API Integration:
   a. Set up API authentication and key management
   b. Define prompts for each agent's behavior and decision-making
   c. Implement API calls for agent interactions and responses
   d. Handle API rate limiting and error scenarios

6. User Interface:
   a. Design a responsive, intuitive interface for desktop and mobile devices
   b. Create controls for simulation speed, pausing, and restarting
   c. Implement a way to view and interact with individual agents
   d. Display real-time updates of village status and events

7. Data Management:
   a. Store simulation state (agent status, resources, events)
   b. Implement save/load functionality for simulations
   c. Log all interactions and events for review

8. Visualization:
   a. Design an animated 2D or 3D representation of the village
   b. Create character avatars for each AI agent
   c. Implement visual indicators for agent status, actions, and interactions

9. Interactivity:
   a. Allow users to send custom prompts or questions to agents
   b. Implement a feature to introduce new events or challenges
   c. Enable users to modify agent parameters or village conditions

10. Performance Optimization:
    a. Implement efficient API usage to minimize costs and latency
    b. Optimize client-side code for smooth animations and updates
    c. Use caching mechanisms for frequently accessed data

11. Documentation:
    a. Provide clear instructions for setting up and running the simulation
    b. Explain the underlying mechanics and AI agent behaviors
    c. Include a changelog for updates and improvements

12. Testing and Quality Assurance:
    a. Implement unit tests for core simulation functions
    b. Conduct user acceptance testing for interface and interactions
    c. Perform stress tests to ensure stability under various conditions

13. Deployment:
    a. Set up a secure hosting environment
    b. Implement HTTPS and necessary security measures
    c. Ensure cross-browser compatibility

14. Future Enhancements:
    a. Multiplayer functionality for collaborative village management
    b. Integration with other AI models or APIs for comparison
    c. Expansion of the village size and complexity over time

This structured prompt provides a comprehensive framework for creating a website that simulates 5 AI agents in a village using the Google Gemini API. It covers all aspects of the project, from design and implementation to testing and future improvements."