Running Animation Workflows¶
Animations now use n8n workflows
As of GHOSTS v9.0, animations are implemented as n8n workflows. This provides a visual, flexible approach to building and managing NPC behaviors.
Animator is a simulation of a population of agents. Animations run in cycles, and for each cycle, the agents make decisions based on their attributes, preferences, motivations, and behaviors.
Setup with n8n¶
- Ensure the GHOSTS stack is running with n8n enabled (via docker-compose)
- Access the n8n interface at
http://localhost:5678 - Browse the pre-configured animation workflows
- Activate the workflows you want to run
- Configure workflow parameters through the n8n interface
Each workflow can be started, stopped, and monitored through the n8n dashboard. Workflow execution logs are available in the n8n interface.
Managing Workflows in n8n¶
To activate/deactivate workflows:
- Navigate to
http://localhost:5678 - Click on the workflow you want to manage
- Toggle the "Active" switch in the top-right corner
- Active workflows run automatically based on their configured triggers
To modify workflows:
- Open the workflow in n8n
- Add, remove, or modify nodes as needed
- Save your changes
- Test the workflow using the "Execute Workflow" button
- Activate the workflow when ready
Monitoring:
- View workflow execution history in the n8n interface
- Check execution logs for debugging
- Monitor agent interactions through the GHOSTS API dashboard