Welcome to the GodotAgent Plugin for Godot 4! This is a plugin providing LLM integration in Godot Engine using Eidolon AI SDK
- Configure an agent with Eidolon and connect it to your game in Godot
- HTTPSSE Streaming for near real-time responses from your agents
- Godot 4.x
- Docker
- Open
demo/godot/
as a project in Godot editor - Build Docker image from the file contents in
demo/eidolon/
docker build -t godot-agent demo/eidolon/
- Run the Docker image in a container to start the Eidolon server
docker run -p 8080:8080 -e OPENAI_API_KEY=<YOUR OPENAI API KEY>
- Run the Godot project. You can verify if the client and server are communicating by checking the Eidolon server logs for a POST request.
- Game controls are WASD to move, E to talk to the NPC, ESC to exit the conversation.
- Have a conversation with a knight!
The Agent's behavior can be easily customized by modifying the contents of the system_prompt
field of demo/eidolon/resources/npc_agent.yaml
.
Make sure to re-build your Docker image and restart your container when you make changes to your Agent.
On Mac and Linux, you can run the Eidolon server directly on your machine without using Docker. Follow the quickstart tutorial on the Eidolon AI Website to get started.