This project implements an AI agent using the ElizaOS framework, designed to interact with users in a chat interface. The project is structured into two main parts: the AI agent backend and the frontend application.
game-build-ai-agent
├── agent
│ ├── elizaos_agent.py # Implementation of the AI agent
│ └── requirements.txt # Python dependencies for the agent
├── frontend
│ ├── src
│ │ ├── App.tsx # Main entry point for the React application
│ │ ├── api.ts # API calls to the AI agent
│ │ └── components
│ │ └── AgentChat.tsx # Chat interface component
│ ├── package.json # Configuration for npm
│ └── tsconfig.json # TypeScript configuration
└── README.md # Project documentation
-
Navigate to the
agent
directory:cd agent
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the AI agent:
python elizaos_agent.py
-
Navigate to the
frontend
directory:cd frontend
-
Install the necessary npm packages:
npm install
-
Start the frontend application:
npm start
Once both the backend and frontend are running, you can interact with the AI agent through the chat interface provided in the frontend application. Type your messages and receive responses generated by the ElizaOS-based AI agent.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.