Discover and explore top open-source AI tools and projects—updated daily.
CharTyrAI agent for Slay the Spire 2 gameplay
Top 98.1% on SourcePulse
Summary
This project provides an AI agent framework for Slay the Spire 2 (STS2), exposing game state and actions via a local HTTP API wrapped as an MCP server. It targets AI developers and researchers, enabling direct interaction for automated gameplay, training, and agent development, offering a powerful tool for extending the game's capabilities with AI.
How It Works
A Slay the Spire 2 mod (STS2AIAgent) intercepts and exposes game state and actions through a local HTTP API. This API is then wrapped by an MCP (Modding Communication Protocol) server, available via stdio or HTTP. This architecture allows AI clients supporting MCP to directly interface with the game, facilitating complex agent workflows and advanced AI training pipelines.
Quick Start & Requirements
STS2AIAgent.dll, STS2AIAgent.pck, mod_id.json into the game's mods/ directory.http://127.0.0.1:8080/health is reachable.uv. Install uv (see README for OS-specific commands). Start the MCP server via scripts/start-mcp-stdio.sh (recommended) or scripts/start-mcp-network.ps1.uv run sts2-mcp-server for stdio or connect to http://127.0.0.1:8765/mcp for network.mcp_server/README.md. Agent workflow: skills/sts2-mcp-player/SKILL.md.Highlighted Details
resolve_rewards action and uses SSE events to reduce polling overhead.Maintenance & Community
No specific details on contributors, sponsorships, or community channels were found in the provided README.
Licensing & Compatibility
Licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only). This strong copyleft license requires derivative works to be shared under the same terms, potentially impacting commercial use or integration with proprietary code.
Limitations & Caveats
Developer-only actions like run_console_command are disabled by default and not intended for general use. The FAQ highlights common connection issues, suggesting potential setup complexities. The project appears to be an active development effort, with features geared towards advanced AI training.
3 weeks ago
Inactive
edbeeching