Create and play endless AI-generated text adventures with customizable stories, characters, and choices online or via the app.
Gandalf game

About Gandalf game
Gandalf is an interactive game designed to test and improve prompting skills when interacting with large language models. Players assume the role of a challenger attempting to extract a hidden password from Gandalf, an AI character who resists disclosure. The game progresses through multiple levels of increasing difficulty, requiring players to craft increasingly sophisticated prompts and strategies to bypass Gandalf’s defenses. Each level introduces new constraints or defensive mechanisms, forcing players to adapt their approach. The game serves as both an educational tool and a practical exercise in understanding AI security vulnerabilities. It highlights the importance of robust prompt engineering and the risks of prompt injection attacks. By engaging with Gandalf, players gain hands-on experience in identifying and mitigating security flaws in AI systems. The game is accessible to a broad audience, including AI developers, security experts, and general users interested in AI interactions.
Key features
- Interactive prompt-injection challenge
- Multiple difficulty levels
- Real-time feedback on prompting strategies
- Educational focus on AI security vulnerabilities
- Accessible to AI developers and general users
- No installation required
- Browser-based gameplay
- Progressive difficulty curve
Use cases
- Practice and refine prompting skills for AI interactions
- Learn about AI security and prompt injection risks
- Test and improve language model security understanding
Pros
- Interactive and gamified approach to learning AI security and prompt engineering
- Progressive difficulty levels to challenge users at different skill stages
- Educational focus on AI vulnerabilities and defensive strategies
- Accessible to a wide range of users, from beginners to experts
- Demonstrates real-world risks of prompt injection attacks
Cons
- Limited to text-based interactions without visual or multi-modal elements
- May not fully replicate complex real-world AI security scenarios
- Requires basic understanding of AI concepts for optimal learning experience
Frequently asked questions about Gandalf game
What is Gandalf and what does it do?
Gandalf is an interactive game where players attempt to extract a hidden password from an AI character by crafting prompts. It simulates real-world scenarios involving AI security vulnerabilities, particularly prompt injection attacks.
Who should use Gandalf?
The game is designed for AI developers, security professionals, and anyone interested in understanding AI security risks. It is accessible to both technical and non-technical users looking to improve their prompting skills.
How does Gandalf work?
Players interact with Gandalf by sending prompts to extract a hidden password. The AI resists disclosure, and players must adapt their strategies as the game progresses through increasingly difficult levels with new constraints.
What can I learn from playing Gandalf?
Players gain hands-on experience in identifying and mitigating AI security flaws, particularly prompt injection vulnerabilities. The game emphasizes the importance of robust prompt engineering in AI interactions.
Is Gandalf free to use?
The game is accessible online and does not require payment to play. It is available through the Lakera platform.
How do I get started with Gandalf?
Visit the Gandalf website at gandalf.lakera.ai and begin playing immediately. No installation or account creation is required to start the game.